LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2008, 06:54 PM   #1
zeeple
Member
 
Registered: Sep 2006
Distribution: Fedora 8, RHEL 5
Posts: 62

Rep: Reputation: 15
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!
 
Old 04-11-2008, 07:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by zeeple View Post

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
 
Old 04-11-2008, 07:52 PM   #3
zeeple
Member
 
Registered: Sep 2006
Distribution: Fedora 8, RHEL 5
Posts: 62

Original Poster
Rep: Reputation: 15
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!
 
Old 04-12-2008, 02:54 PM   #4
neolithic_psyche
Member
 
Registered: May 2007
Posts: 32

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
winxp reinstall w/grub manual install on ubuntu causes missing hal.dll file for xp pulper Linux - Software 6 09-13-2006 03:26 PM
Fedora 5 install Kdar missing libdar lizard_king825 Linux - Software 5 08-30-2006 07:13 AM
Fedora Core 4 - Install, Missing Grub Menu crazibri Fedora 4 03-11-2006 07:53 PM
ubuntu 5.10 install hangs like michael jordan, missing packages? mentaltofu Ubuntu 2 12-06-2005 04:26 PM
Ubuntu Linux Install Crash - Possibly Missing HD Space bad_ronald Linux - Hardware 3 09-20-2004 08:03 AM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration