LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora Missing after Ubuntu install (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-missing-after-ubuntu-install-634768/)

zeeple 04-11-2008 05:54 PM

Fedora Missing after Ubuntu install
 
Hi. I have been running Fdora8 happily for months but decided I wanted to run Ubuntu along side it in some empty space on my single large hard drive. Here is how it went:

1. I popped in the ubuntu install dvd and during the partitioning section, selected "Guided - Use largest Contiguous Free Space", which was about 90 gigs.

2. The install informed me that sda2 and sda7 would be wiped and partitioned which looked correct as my Fedora install is on sda6.

3. The install went fine and the machine rebooted to a grub list that included three entries for ubuntu, one for a dell partitioning utility, and NONE for Fedora.

4. Googling the matter I found someone who had the reverse problem nd just needed to add their missing distru back to the grub list. It seems to make sense and I am trying to do the same now.

5. Using the procedure for mounting a LVM here: http://www.linux-sxs.org/storage/fedora2ubuntu.html I have been able to mount and peruse my old Fedora install, but the problem is that the boot directory is missing. I needed to get into the boot directory in order to copy the vmlinuz and initrd files so that I can use them putting an entry for fedora back into the grub os list.

So my question is this: Given the described circumstances, how do I add my fedora back to the OS list in the grub boot loader? Has anyone here wrestled with this and maybe could give me some pointers? Thanks!

jailbait 04-11-2008 06:35 PM

Quote:

Originally Posted by zeeple (Post 3118478)

So my question is this: Given the described circumstances, how do I add my fedora back to the OS list in the grub boot loader? Has anyone here wrestled with this and maybe could give me some pointers?

The grub menu that you are now using is the new one in your Ubuntu partition. Boot into Ubuntu and edit /boot/grub/menu.lst to add an entry for your Fedora system.

If you need to know what the grub menu for Fedora should look like then take a look at the old /boot/grub/menu.lst file on your Fedora system.

As to /boot being missing on the Fedora system take a look at /etc/fstab on the Fedora system. Maybe the Fedora /boot is on a separate partition from the Fedora / partition.

--------------------
Steve Stites

zeeple 04-11-2008 06:52 PM

Right on. The secret to being able to boot back into Fedora, for me turned out to be that I needed to mount two different volumes looking for the old /boot/grub/menu.lst. Once I found it (hidden in sda4) I just copied the appropriate lines from it and pasted them into ubuntu's grub menu. That's all it was.

Thanks!

neolithic_psyche 04-12-2008 01:54 PM

As they said, edit your menu.lst file in ubuntu so that it accomodates an etry for fedora. Since your fedora's on sda6 I think it should be something like:

title Fedora Core 8
root (hd0,5)
kernel vmlinuz-........(whatever your kernel name is).fc8.iso
initrd (some name again for your initrd).fc8.iso

and you should be set.


All times are GMT -5. The time now is 10:12 AM.