Boot Debian Installer from USB flash drive.

November 20th, 2007 by Andrea Matesi 1475 Views

My primary objective is to make a pc boot from usb flash drive and make him launch the standard debian installer. Make sure BIOS is set to boot from USB (also called Removable Device). Get boot.img.gz (here stable):

wget http://ftp.be.debian.org/debian/dists/etch/main/installer-i386/current/images/hd-media/boot.img.gz

unzip & put raw content inside the UNMOUNTED flash drive:

zcat boot.img.gz > /dev/sdc (assuming sdc is yours).

Get current netinst iso image (here etch-netinst):

wget http://cdimage.debian.org/debian-cd/4.0_r1/i386/iso-cd/debian-40r1-i386-netinst.iso

then copy image inside flash drive as is. Now plug flash drive inside the pc to boot then start it up: if it works, it will boot a kernel and find the iso image for the install process. Notes: if you see @ partitioning time your flash drive listed before your HDDs, then check BIOS option "Boot Removable Devices First" and put it to "disabled". Original Reference: http://www.debian.org/releases/sarge/i386/ch04s04.html.en

Posted in LINUX, System Administration | Comments Off on Boot Debian Installer from USB flash drive.

Comments are closed.