//
you're reading...
Linux

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.

source : http://www.ubuntugeek.com/how-to-install-ubuntu-linux-from-usb-stick.html

Advertisements

About Made Sumitre

Saya hanya menulis dan membagikan apa yang sudah pernah saya baca.

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

header

Timnas Indonesia Tim Sepakbola Nasional Indonesia mengenakan kostum baru yang diluncurkan di Stadion Utama Gelora Bung Karno, Senayan Jakarta.... Baca selengkapnya »

Anak Indonesia jadi siswa terbaik sekolah MU Anak Indonesia dari pasangan perkawinan campur, Jack Brown (11),.... Baca selengkapnya »

Timnas AFF Kuartet pemain Indonesia yang bermain di klub CS Vise di Divisi II Liga Belgia, yakni Syamsir Alam.... Baca selengkapnya »

TImnas IndonesiaPelatih Timnas PSSI, Nil Maizar, mengaku telah menemukan bentuk permainan timnas… Baca selengkapnya »

Blog Stats

  • 354,449 hits
%d bloggers like this: