Azimout's Linux weblog

fedora after ubuntu

leave a comment »

I installed Fedora on a spare partition; my system already has Ubuntu. I asked the Fedora installer not to install grub… Then tried for 2 hours to get the Ubuntu grub to load Fedora… Here’s how I got it to work…

  • do a sudo fdisk -l to see your partition table, and mount the fedora partition
  • select a random file from fedora’s /boot directory
  • enter the grub prompt (sudo grub) and find the name bios gives to this partition, by typing find /boot/_chosen_file_, where _chosen_file_ is the file you chose in the previous step
  • you’ll get something like (hdx,y). this is the name your bios gives this partition (e.g. hd0,1 means 1st disk, 2nd partition)
  • add an entry to ubuntu’s grub menu like this:
title		Fedora9
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.25-14.fc9.i686 root=UUID=c8eee85e-7de5-421d-bb18-aadd1892bcc9 ro rhgb
initrd		/boot/initrd-2.6.25-14.fc9.i686.img

Written by azimout

30/06/2008 at 15:13

Posted in Howto

Leave a Reply

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

You are commenting using your 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

%d bloggers like this: