01
Dec
08

Installing Debian from an USB device

I have another new PC, dual core with Marvell IDE Emulator for DVDROM. But I can boot using Debian’s CD-Image but I can’t install anything because Debian-CD gan detect Marvell PATA.

So, here is a very short (but in my opinion very useful) how-to for creating an USB boot device, which enables you to boot Debian from your memory stick.

Please backup whole data before doing this, because this step will remove all your files !!!

We are assuming that your USB device is indicated by /dev/sda, and that you are interested in Debian stable (other distributions are untested, but should work).

First unmount your memory stick.

sudo umount /dev/sda

Now download the boot.img.gz, which is necessary to make your USB device bootable, if you are in the EEPIS area use this mirror, but I use JP mirror.

cd ~
wget ftp://kebo.vlsm.org/debian/dists/stable/main/installer-i386/current/images/hd-media/boot.img.gz

Extract this image and write it to your USB device:

sudo zcat ~/boot.img.gz > /dev/sda

Now mount the volume to /mnt:

sudo mount /dev/sda /mnt

In this case a Debian Stable net-install image is used. You may also use a business card iso. Nevertheless, you should be sure to use the same version of the ISO-image as the image.tar.gz that was used before.

Download the ISO to the USB device:

cd /mnt/
sudo wget http://kebo.vlsm.org/debian-cd/current/i386/iso-cd/debian-40r5-i386-netinst.iso

if your USB still enough space use standard ISO is better

Now you can unmount the volume:

cd ~
sudo umount /dev/sda

You can remove the USB device, and plug it in your new system. Of course you should tell your BIOS to boot from USB.


0 Responses to “Installing Debian from an USB device”



  1. No Comments Yet

Leave a Reply




 

December 2008
M T W T F S S
« Nov   Jan »
1234567
891011121314
15161718192021
22232425262728
293031  

Y! Status : isengah

Blog Stats

  • 23,733 hits