How to install Ubuntu Linux from USB Stick

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, ) that has already been formatted with FAT32 and has enough space to hold your image

A CD image downloaded from the servers or mirrors (*. 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 . image and the i386 installer for an i386 .

Step 3

From the image you downloaded, copy the folder “isolinux” to the root directory of your device (right-click on the . 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

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 . image in to the root directory of your device.

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

Related posts

Written by Jason on April 23rd, 2008 with no comments.
Read more articles on 1429 and 1673 and 169 and 2065 and 2157 and 401 and AMD and Contributors and Install and Installation and Linux and USB and cd drive and computer and download and how to and kernel and memory and tutorial and ubuntu and usb flash drive.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .