Anything posted on this blog is either FOR PERSONAL USE or FOR EDUCATIONAL PURPOSES ONLY. If you want to follow HOW-TOs or Tips and Tricks posted here, DO IT AT YOUR OWN RISK! I should not be held responsible or liable for whatever result you may achieve. Images, brand names and trademarks are copyright of their respective owners.

Sunday, July 8, 2007

HOWTO: Boot Ubuntu (Fiesty Fawn) LiveCD from Hard Disk Thru GRUB

This is more likely a follow-up post with regards to the previous post. This is somewhat more detailed in explanation. I've done it several times, so I made a short HOWTO for myself, and for others that may find this useful.

Required Knowledge: bootloader, Linux, Windows, File System, etc.

PREPARATIONS

LiveCD Files

Using your favorite ISO image extractor, extract Feisty Fawn's iso image to a VFAT/FAT32 (or ext2/ext3/reiserfs) drive/partition of your choice. Empty partition is recommended. It should be extracted in it's root. When it's extracted, the destination drive's root should contain set of folders and files that can be found in the ISO image (plus other files and folders that may have been already there).

GRUB

1. Using your favorite text editor, open "menu.lst" and add the following lines at the end of it:

title Ubuntu (Feisty Fawn) LiveHD!

root (hd0,3)

kernel /casper/vmlinuz boot=/casper splash

initrd /casper/initrd.gz

The line

root (hd0,3)

should be pointing to the partition where LiveCD files have been extracted. It's using a ZERO (0) based numbering for hard disk device and partition. So if you saved LiveCD files to the second partition of your first hard disk, this line should be:

root (hd0,1)

where:
hd0 = first hard disk
1 = second partition (of hd0)

2. Save "menu.lst"

BOOT IT

Reboot
From GRUB menu, select "Ubuntu (Feisty Fawn) LiveHD!" [enter]
Wait for the LiveHD to load

No comments: