Friday, January 04, 2008

Fedora 8 on MacBook

Over the last couple of days I've been trying to get Fedora 8 up and running on my MacBook (C2D, 2.16 GHz). One interesting thing about this is that Fedora is installed on an external HDD (250 GB Seagate).
I had previously had Fedora 7 running from this usb HDD on my Dell desktop (Dimension 4550 which is more than 5 years old now but still runs flawlessly).
Note that the Dell does not support booting from usb devices so you need to boot the vmlinuz and initrd.img files first from the bootable internal HDD (or from a CD, which is what I did initially. However, it is so much more convenient to do the initial boot from the internal HDD).
The entry for Fedora in the /boot/grub/menu.lst was

title Fedora (2.6.23.9-85.fc8)
root (hd0,2)
kernel /boot/fedora/vmlinuz-2.6.23.9-85.fc8 ro root=LABEL=/1 apm=off rhgb quiet
initrd /boot/fedora/initrd-2.6.23.9-85.fc8.img


Here, (hd0,2) refers to /dev/sda3 which is the Ubuntu (root) partition which is the one I use to boot all my Linux OSes.
In addition, it was necessary to store the vmlinuz and the initrd.img files of Fedora in a folder called fedora in the /boot directory of the Ubuntu root partition.The second mention of root in the above coding refers to the rot partition of fedora on the usb drive. This makes sure that once these two initial files have been booted, the computer knows where to get the rest of the stuff needed to complete the boot.
Simple as it is, it works perfectly although errors can easily creep in if you're at all careless.

No comments:

Post a Comment