Creat a bootable Ubuntu USB flash drive from ASUS A55A-AH51

Here is a tutorial  to create a bootable UbuntuUSB flash drive manually from ASUS A55A-AH51. The advantage is you don’t have to empty your USB flash drive if you have enough space for the files. It also allows multi boot, so you can have your USB flash drive holding both 32bit and 64bit versions of Ubuntu and other Boot CD tools at the same time.

In order to creat a bootable Ubuntu USB flash drive from ASUS A55A-AH51 you need :

Bootable USB flash drive ( NTFS / FAT32 ), Disk with MBR.
Ubuntu ISO of your choice
Tools to extract files from the ISO ( ISO Mount, WinZIP, WinRAR, 7Zip, etc….)
First you need to install grub onto the USB’s MBR. Follow the link to the Grub4DOS Wiki:
For more details, visit: http://sourceforge.net/projects/grub4dos/

Next, you open up the ISO file and extract the files in casper directory. The size (and possibly manifest) are needed if you want to install from the USB flash drive otherwise the install from ASUS A55A-AH51 will fail.

total 701060
-rwxr-xr-x 1 adrian adrian     38784 2010-07-27 16:15 filesystem.manifest
-rwxr-xr-x 1 adrian adrian        10 2010-07-27 16:15 filesystem.size
-rwxrwxrwx 2 adrian adrian 704487424 2010-04-29 05:38 filesystem.squashfs*
-rwxrwxrwx 1 adrian adrian   9365872 2010-04-29 05:34 initrd.lz*
-rwxrwxrwx 1 adrian adrian   4029792 2010-04-16 06:01 vmlinuz*
/media/Fujitsu 60GB USB/bootimg/ubuntu.10.4.x86$

Copy grldr to the root of the drive.

drwx—— 1 adrian adrian   4096 2010-05-05 16:49 bootimg/
-rwxrwxrwx 1 adrian adrian 220049 2009-09-24 17:30 grldr*
-rwxrwxrwx 1 adrian adrian   2760 2010-05-04 23:08 menu.lst*
/media/Fujitsu 30GB USB$

Now create menu.lst at the root of USB. Example of menu.lst:

default /default
#####################
title Ubuntu 10.04 LiveCD
find –set-root /bootimg/ubuntu.10.4.x86/initrd.lz
kernel /bootimg/ubuntu.10.4.x86/vmlinuz boot=casper live-media-path=/bootimg/ubuntu.10.4.x86/ ignore_uuid
initrd /bootimg/ubuntu.10.4.x86/initrd.lz
boot

Make sure the path match where the files you copy to.

Now, reboot your ASUS A55A-AH51.

Simpler way using the ISO file

Another way is just using the ISO file as it is on an already bootable USB flash drive that uses Grub (to create one, see above).

copy the iso file onto the USB flash drive in the root (top) directory
add these lines to the menu.lst file:

title Ubuntu 11.04 i386
find –set-root /ubuntu-11.04-desktop-i386.iso
map /ubuntu-11.04-desktop-i386.iso (0xff)
map –hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-11.04-desktop-i386.iso splash quiet —
initrd /casper/initrd.lz

Leave a Reply

Your email address will not be published. Required fields are marked *