<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>usefulfor.com/security &#187; Hardware</title>
	<atom:link href="http://usefulfor.com/security/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://usefulfor.com/security</link>
	<description>security dojo</description>
	<lastBuildDate>Wed, 16 Jun 2010 15:47:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>install auditor in your hard drive</title>
		<link>http://usefulfor.com/security/2005/09/22/install-auditor-in-your-hard-drive/</link>
		<comments>http://usefulfor.com/security/2005/09/22/install-auditor-in-your-hard-drive/#comments</comments>
		<pubDate>Thu, 22 Sep 2005 10:02:31 +0000</pubDate>
		<dc:creator>etd</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.nomejortu.com/weblog/?p=3</guid>
		<description><![CDATA[Auditor is a knoppix-based linux distribution full of network auditing tools. The main drawback is that it is unable to boot from a firewire cd-rom, so if you have one, you need to install Auditor on your hard drive.
You need some tricks to make it work.

You have to create an empty partition of 700 Mb [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://new.remote-exploit.org/index.php/Auditor_main">Auditor</a> is a knoppix-based linux distribution full of network auditing tools. The main drawback is that it is unable to boot from a firewire cd-rom, so if you have one, you need to install Auditor on your hard drive.</p>
<p>You need some tricks to make it work.<br />
<span id="more-8"></span><br />
You have to create an empty partition of 700 Mb (using repartitioning tools such as <a href="http://qtparted.sourceforge.net/">gqparted</a> or the no-gpl <a href="http://www.powerquest.com/partitionmagic/">Partition Magic</a>).</p>
<p>Boot your linux, then format the new partition (<em>/dev/hda6</em> in my case) using mkfs.ext2 program:<br />
<code>mkfs.ext2 /dev/hda6</code></p>
<p>Here is how my drive looks:</p>
<p class="aligncenter">
<a href='http://usefulfor.com/security/files/2008/06/snap_hdd2.png'><img src="http://usefulfor.com/security/files/2008/06/snap_hdd1-300x26.png" alt="My hard drive partition table (qtparted) [cropped]" width="300" height="26" class="aligncenter size-medium wp-image-57" /></a></p>
<p>Mount it where you want, for example in <em>/mnt/</em>. Once you have it, let's copy the contents of the Auditor's iso image to that partition.</p>
<p>First of all get an <a href="http://new.remote-exploit.org/index.php/Auditor_mirrors">iso image</a> from Auditor's website. Once you have it you need to mount it in your current linux filesystem, for example in <em>/cdrom/</em> usign (as root) the following line:</p>
<p><code>mount -o loop /tmp/auditor-200605-02-no-ipw2100.iso /cdrom</code></p>
<p>NOTE: for mounting .iso files you have to had some features compiled in your kernel. These include:</p>
<div class="hl-surround" ><div class="hl-main"><pre>#kernel options for .iso file mounting
Block Devices-&gt;Loopback device support
Filesystems-&gt;CD-ROM/DVD Filesystems-&gt; ISO 9660 CDROM file system support</pre></div></div>
<p>To copy the contents of the .iso file to the newly created partition use:</p>
<div class="hl-surround" style="height:28px;"><div class="hl-main"><pre>cp -a /cdrom/* /mnt/</pre></div></div>
<p>To make it clear: now you have a partition in your hard drive that contains just the same files and folders of the Auditor's cd-rom. Let's boot from this partition. As boot manager I use grub so here is my customization of the <a href="http://usefulfor.com/security/files/2008/06/menu.lst">menu.lst</a> file:</p>
<div class="hl-surround" ><div class="hl-main"><pre># For booting the Auditor distro from /dev/hda6
title  GNU/Linux - auditor
kernel (hd0,5)/isolinux/vmlinuz root=/dev/hda6 ramdisk_size=100000 init=/etc/init lang=es splash psmouse.proto=imps dma nodhcp noapm noagp screen=1024x768 vga=791 nowheelmouse nomce  quiet BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/hda6
initrd=(hd0,5)/isolinux/miniroot.gz</pre></div></div>
<img src="http://usefulfor.com/security/?ak_action=api_record_view&id=8&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://usefulfor.com/security/2005/09/22/install-auditor-in-your-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
