English Français

howto make a debian installer with a usb stick

this little howto shows how to get a usb stick to act like an install cd for debian.. .

need:

partitioning and formatting

simply plug the usb stick into the computer somewhere and just do not mount it. in this example the usb stick is/dev/sda

fdisk /dev/sda

now with the menu and options and stuff we'll have to make a clean slate and repartition.
WARNING all data and the usb stick will be erased

now we can format

mkdosfs /dev/sda1

a little MBR is always nice

lilo -M /dev/sda

copy de debian images

we will push boot.img.gz into /dev/sda1 and then copy the iso image onto the stick

zcat boot.img.gz > /dev/sda1
mkdir /mnt/debianusb
mount /dev/sda1 /mnt/debianusb
cp debian-xxx-netinst.iso /mnt/debianusb
umount /dev/sda1
rmdir /mnt/debianusb

and that's it, you can install debians all over the place now :]

Add A Comment

Add A Comment

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)
Code in the picture:
Your Name(*):
Email:
Website:
Comment(*):