Wednesday, December 10, 2008

Installing Ubuntu server via USB key

I had to install Ubuntu server edition on my home server and for some reason, the normal procedure I used didn't work. For a wide variety of linux liveCD there is a free Windows and Linux utility called Unetbootin that converts a liveCD to a bootable USB key:
http://unetbootin.sourceforge.net/

In the case of Ubuntu Server edition, the installer could not find the CD content. The path to the repositories seemed to differ from what the installer was looking for.

I found an second method after searching a bit. It involves downloading the installer by hand, and copying the iso file directly to the USB key. The files are available here:
http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/hd-media/
(Get the kernel, vmlinuz, and the compressed image, initrd.gz)

Using Unetbootin, make a Custom USB key, selecting vmlinuz as the kernel and
initrd.gz as initrd.

Once the USB key is created, simply copy the iso file to the root of the USB key.

Reboot. The installer should see the iso and mount it.

References:

No comments: