installing Debian Lenny (5.0) from USB
- August 3rd, 2009
- By Jason Zerbe
- Write comment
I was having trouble with some old CD-RW’s that I was installing Debian 5 from the other day, so since the machine’s BIOS supported booting from removable disk (usb), I decided on giving that a try.
Much of this is based on the great article – “Installing Debian Sarge
from a USB memory stick (USB key)“ - by Pascal Le Bail.
You are going to need a decent Internet connection that you can download the extra Debian packages from, and a BIOS that can boot from a usb disk. This assumes that your usb disk is the first that you have connected. Run dmesg to find out the exact dev name of your device if sda is incorrect.
fdisk /dev/sda
mkfs -t vfat /dev/sda1
wget http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/hd-media/boot.img.gz
zcat boot.img.gz >/dev/sda1
mount /dev/sda1 /mnt
cp [netinstall or biz card].iso /mnt/
You can pick up a business card or netinstall cd iso from Installing Debian GNU/Linux via the Internet.