Difference between revisions of "Debian installation from memory stick"
m |
m |
||
Line 3: | Line 3: | ||
Next download a Debian boot image and write it to the device (we'll assume the device is '''/dev/sdb''' here). Note that '''all the information on the USB device will be deleted by this operation'''. | Next download a Debian boot image and write it to the device (we'll assume the device is '''/dev/sdb''' here). Note that '''all the information on the USB device will be deleted by this operation'''. | ||
{{code|<pre> | {{code|<pre> | ||
− | wget ftp://ftp.debian.org/debian/dists/ | + | wget ftp://ftp.debian.org/debian/dists/lenny/main/installer-amd64/current/images/hd-media/boot.img.gz |
zcat boot.img.gz > /dev/sdb | zcat boot.img.gz > /dev/sdb | ||
</pre>}} | </pre>}} |
Revision as of 03:56, 2 May 2009
Many servers these days come without any floppy or CD/DVD drive. In this case the simplest means of installing Debian is using a USB memory stick. First ensure you're running as the root user for this procedure, then insert the memory stick and check what device it is using dmesg or mount, then unmount it with the umount command.
Next download a Debian boot image and write it to the device (we'll assume the device is /dev/sdb here). Note that all the information on the USB device will be deleted by this operation.
Now mount the image to a location in the filesystem:
Now download a Debian CD image and copy it into the USB device, then unmount and remove ready for booting in the target machine. Note that only the netinst and businesscard ISO's are small enough to fit on the USB partition because it is limited to 256MB regardless of the physical storage available on the device.
You should now be able to set the target machine's BIOS to boot from USB, insert the device, start it up and go through the installation procedure as usual.