<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: Debian netboot from USB]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?debian_netboot_from_usb</link>
<description></description>
<pubDate>Sun, 22 Feb 2009 20:41:34 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Debian netboot from USB]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?debian_netboot_from_usb</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/eth_nat.sh?action=attachments_download;page_name=debian_netboot_from_usb;id=20090222204134-0-17900">eth_nat.sh</a><!-- wiki: {file: eth_nat.sh} --></span><br /><br /><p>
Quick transcript my of <a target="_blank" title="(external link)" href="http://basic.vox.com/library/post/debian-install-netboot-from-usb-flash-drive.html">Debian netboot installation on USB keychain<!-- wiki-renamed-hyperlink "Debian netboot installation on USB keychain"<http://basic.vox.com/library/post/debian=-install=-netboot=-from=-usb=-flash=-drive.html> --></a></p>
<p>
Don't forget what you need to make partition active in <tt>fdisk</tt> or <tt>install-mbr</tt> won't help!</p>
<pre>
dpavlin@eeepy:~$ sudo apt-get install syslinux mbr

root@eeepy:~# install-mbr /dev/sdc

root@eeepy:~# syslinux /dev/sdc1
root@eeepy:~# mount /dev/sdc1 /mnt/usb/
root@eeepy:~# cd /mnt/usb
root@eeepy:/mnt/usb# wget http://ftp.hr.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/debian-installer/i386/linux
root@eeepy:/mnt/usb# wget http://ftp.hr.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz
root@eeepy:/mnt/usb# wget http://ftp.hr.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/mini.iso

# ipw2200 firmware
wget http://ipw2200.sourceforge.net/firmware.php?i_agree_to_the_license=yes&amp;f=ipw2200-fw-3.0.tgz
tar xvfz ipw2200*.tgz

root@eeepy:/mnt/usb# echo -e &quot;default linux\nappend priority=low vga=normal &quot;  &quot;initrd=initrd.gz ramdisk_size=12000 root=/dev/ram rw&quot; &gt;&gt; syslinux.cfg

root@eeepy:/mnt/usb# cd ..
root@eeepy:/mnt# umount /mnt/usb 

</pre>
<br /><p>
If you get following output:</p>
<pre>
MBR FA:
</pre>
<br /><p>
you didn't make first partition active.</p>
<pre>
root@t42:~# fdisk -l /dev/sda

Disk /dev/sda: 503 MB, 503709696 bytes
16 heads, 61 sectors/track, 1008 cylinders
Units = cylinders of 976 * 512 = 499712 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1008      491873+   6  FAT16
</pre>
</div>
<hr/><div>Attachments: eth_nat.sh</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?debian_netboot_from_usb</guid>
<pubDate>Sun, 22 Feb 2009 20:41:34 -0000</pubDate>
</item>
</channel>
</rss>