How to install Ubuntu Linux from USB Stick
This tutorial describes how to install Ubuntu by copying the contents of the installation CD to an USB memory stick (aka flash drive) and making the stick bootable. This is handy for machines like ultra portable notebooks that do not have a CD drive but can boot from USB media.
In short here’s what you do:
Prepare the USB flash drive
Boot the computer from your USB flash drive.
Install Ubuntu as you would from a normal boot CD
Prerequisites
A running Ubuntu 8.04 or any ubuntu version installation
A USB device (stick, pen-drive, USB hard disk) that has already been formatted with FAT32 and has enough free space to hold your Ubuntu installation image
A Ubuntu CD image downloaded from the Ubuntu servers or mirrors (*.iso file) or from here
Step 1
On the root directory of your USB device, create a folder “install”
Copy the installer kernel and the initramdisk into this folder (Download source below.You need the files “vmlinux” and “initrd.gz”).
Download source for the installer kernel and initramdisk
For AMD64 Download from here
For i386 Download from here
You need to download the files “vmlinux” and “initrd.gz”.
Step 2
Note: You need to have the installer that fits the architecture of your Ubuntu version you want to install. In other words, you need a amd64 installer if you want to install an amd64 Ubuntu .iso image and the i386 installer for an i386 iso.
Step 3
From the installation iso image you downloaded, copy the folder “isolinux” to the root directory of your USB device (right-click on the .iso file, choose “extract here”). Rename “isolinux” into “syslinux”. Go inside the directroy “syslinux”. There, rename the file “isolinux.cfg” into “syslinux.cfg”.
Step 4
Make the stick bootable: Use fdisk to set the boot flag,
Install syslinux using the following command
sudo aptitude install syslinux
Now use syslinux to install a boot sector on your USB device
sudo syslinux /dev/sdbX
where sdbX is the device name and number of your USB device, check with “sudo mount”. A file called “ldlinux.sys” will be created in the root direcotry of the USB device.
Step 5
Copy the Ubuntu CD image in the root directory of your USB device (Contents of USB 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 USB device.
Tags:amd, boot cd, cd drive, download, how to, install, installation, kernel, Linux, memory, syslinux, Tutorial, ubuntu, usb, usb flash drive, usb memory stick, vmlinuxRelated posts
- Ubuntu 7.10 on PS3 (2)
- Increasing the Speed of a Vista-Operated PC (4)
- How to Create a custom keyboard shortcut in Ubuntu (0)
- Force windows to load the kernel in memory (1)
- Windows cannot find svchost.exe (0)
- Top 10 Ubuntu-based Distributions (0)
- Stick Ubuntu Linux Right in the Heart of Windows (0)
- Setting Up A Dual-Boot Linux And Vista PC (0)
- Save space when using two drives or dual-booting (0)
- Howto clear/Flush DNS Cache in Ubuntu (0)
- How to Play Half-Life 2 on Ubuntu (1)
- How to Install and setup Eclipse with Sun’s Java (1)
- How to get the password for microsoft access protected file (0)
- How to dual boot Vista with Ubuntu (1)
- Fix Windows and Internet Explorer Missing Files (0)
- Fix for mplayer in Firefox under Ubuntu is not working (4)
- Exclusive for Windows Vista (0)
- Download Windows Vista Recovery Disc (0)
- Can Loonies Speed Up Your PC? (1)
- Boot and run Linux from a USB flash memory stick (1)
- Ad Aware Tutorial (1)
- 17 Must-Have Free Apps for New Ubuntu Users (3)
- XP virtual computing avoids dual-boot complexity (0)
- Windows Vista: An FAQ for Nonprofits (0)
- Windows Vista SP1 Wireless Feature Pack Available (0)
Written by Jason on April 23rd, 2008 with no comments.
Read more articles on 1340 and 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 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.