How to install Ubuntu Linux from USB Stick

Topics Computer, Linux on April 23rd, 2008

This describes by copying the contents of the CD to an stick (aka flash drive) and making the stick bootable. This is handy for machines like ultra portable notebooks that do not have a but can boot from media.

In short here’s what you do:

Prepare the flash drive

Boot the computer from your flash drive.

as you would from a normal

Prerequisites

A running 8.04 or any version

A device (stick, pen-drive, hard disk) that has already been formatted with FAT32 and has enough free space to hold your image

A CD image downloaded from the servers or mirrors (*.iso file) or from here

Step 1

On the root directory of your device, create a folder “
Copy the installer and the initramdisk into this folder ( source below.You need the files “” and “initrd.gz”).

source for the installer and initramdisk

For AMD64 from here
For i386 from here

You need to the files “” and “initrd.gz”.

Step 2

Note: You need to have the installer that fits the architecture of your version you want to . In other words, you need a amd64 installer if you want to an amd64 .iso image and the i386 installer for an i386 iso.

Step 3

From the iso image you downloaded, copy the folder “isolinux” to the root directory of your device (right-click on the .iso file, choose “extract here”). Rename “isolinux” into “”. Go inside the directroy “”. There, rename the file “isolinux.cfg” into “.cfg”.

Step 4

Make the stick bootable: Use fdisk to set the boot flag,

using the following command

sudo aptitude

Now use to a boot sector on your device

sudo /dev/sdbX

where sdbX is the device name and number of your device, check with “sudo mount”. A file called “ldlinux.sys” will be created in the root direcotry of the device.

Step 5

Copy the CD image in the root directory of your device (Contents of you can see as follows).If you are using i386 you need to copy the complete .iso image in to the root directory of your device.

Share and Enjoy:
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Google
  • Furl
  • Live
  • MisterWong.DE
  • NewsVine
  • Reddit
  • Slashdot
  • Technorati
  • YahooMyWeb
  • BlinkList
  • description
  • Fark
  • Netvouz
  • Spurl
  • MisterWong
  • Webnews.de
  • E-mail this story to a friend!
  • Print this article!

Tags:, , , , , , , , , , , , , , , ,

Related posts

Leave a Reply