How I Installed Fedora 12 Live on my Hard Drive

Google+ Pinterest LinkedIn Tumblr +
You will think what  is special in this. It is  straight forward which includes following steps,

1) Download Fedora 12 live ISO image from Fedora site.
2) Burn downloaded image on a CD.
3) Boot from CD.
4) There is an icon on desktop to install on hard drive. Double click on the icon and follow usual Linux installation instruction and you are done.

This post is not for what I have talked but for what I am going to talk. This is all about problem I faced during installation and workaround. I will always appreciate feedback.

First I want to give you an overview of my hard-drives layout before installation.

Hard Drive 1(40 GB)
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1288 10345828+ 83 Linux
/dev/sda4 1289 4870 28772415 5 Extended
/dev/sda5 1289 4870 28772383+ 83 Linux


Hard Drive 2(160 GB) connected through USB
Device Boot Start End Blocks Id System
/dev/sdb1 1 5099 40957686 83 Linux
/dev/sdb2 5100 10000 39367282+ 83 Linux
/dev/sdb4 10001 19457 75963352+ 5 Extended


I encountered two problems, one during installation and another during boot.

During installation I created a logical partition of size twice the size of RAM on my system on hard drive 2. Next I selected the free space available in the extended partition of hard drive 2 to create partition for root file system of type ext4. But rather than creating a logical partition it created a primary partition /dev/sdb3. when I proceeded with this layout installer was unable to create this layout due to some overlapping partition problem.

Then I rebooted my Fedora 11 and created two logical partitions using fdisk command. I started my Fedora 12 installation again and rather than creating partitions from scratch ,I just edited these two partitions as swap and root. It worked for me and wish will work for all if you encounter such a situation.

Now I want to give you an overview of my hard drive 2 layout after installation.

Device Boot Start End Blocks Id System
/dev/sdb1 1 5099 40957686 83 Linux
/dev/sdb2 5100 10000 39367282+ 83 Linux
/dev/sdb4 10001 19457 75963352+ 5 Extended
/dev/sdb5 10001 10600 4819468+ 82 Linux swap / Solaris
/dev/sdb6 * 10601 12600 16064968+ 83 Linux


Next I copied boot entry from grub.conf(Fedora 12) to menu.lst(Ubuntu 9.04) because my system uses this file as a boot menu. You will also notice that I have installed boot loader of Fedora 12 in the first sector of /dev/sdb6 (a * on that line).

When I booted Fedora 12 ,I got an error message something like “cylinder range is out of BIOS limit” which in my words “your boot programs are lying too far to be fetched”. You can see in the above hard drive 2 layout that /dev/sdb6 is 87-88 GB far from start.

I copied boot directory from /dev/sdb6 to /dev/sda1 and modified the boot entry for Fedora 12 in menu.lst and done. Here is the entry:

title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,0)
kernel /boot/fed12boot/vmlinuz-2.6.31.5-127.fc12.i686 ro root=UUID=61f3459a-3e76-44c5-ae74-93ebe339b8b8 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/fed12boot/initramfs-2.6.31.5-127.fc12.i686.img

I think this is an installation cum troubleshooting session. Thanks for reading indeed.


Share.

About Author

Leave A Reply