How to Make a Debian Lenny USB Flash Install Medium
Submitted by bj on Tue, 2009-01-13 22:37.
Want to install Debian Lenny from USB? Here's how! (Note that this ERASES any data on the USB stick)
- Get a USB stick and pop it into your existing Linux box. If it automatically mounts, unmount it.
- install-mbr /dev/device (Replace device with wherever the device is--mine was /dev/sdf)
- mkdosfs /dev/device1 (Replace device with wherever the device is--mine was /dev/sdf1)
- syslinux /dev/device1
- Copy a vmlinuz and an initrd.gz from the amd64 or i386 hd-media installer archive.
- Copy a reasonable netinstall ISO image from your friendly Debian mirror (note that this URL will change).
- Create a reasonable syslinux.cfg on the key.
That's it! Now just figure out how to get your system to boot from flash and you're set!
