We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,599 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

two linux: grub problem

Hi folks,

I'd Windows 7(sda1) and Ubuntu 11.04(sda6) on my laptop. Ubuntu's grub was installed on MBR. Then I installed Fedora 15(sda2). But by mistake I installed Fedora's grub on MBR. Due to this Ubuntu's grub deleted from MBR. Now while booting I can see only Fedora and Windows option on grub.

I've edited Fedora's grub.conf as

title Ubuntu
rootnoverify (hd0,5)
chainloader +1

But no use of it.. (I think I need to recover stage 1 of Ubuntu's grub.)

How do I edit grub.conf of Fedora to get Ubuntu back in boot list?


Thanks,
Amar

2
Contributors
1
Reply
1 Week
Discussion Span
1 Year Ago
Last Updated
3
Views
ahp@aol.in
Newbie Poster
23 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi Amar!

You should be able to use Fedora's grub just fine. I don't think you can use the chainloader option unless you have Ubuntu's grub installed to the boot partition of the Ubuntu install (You say it was installed to the MBR before the Fedora installation)

You will need to find out which partitions contain your Ubuntu filesystems, and create a custom menuentry similar to the ones you see for Fedora.

Here's a link that may help: http://www.fedoraforum.org/forum/showthread.php?t=263739

Once you can boot into Ubuntu, you might want to re-install Ubuntu's grub to the MBR. I believe it will detect the Fedora installation automagically, where your Fedora installation is failing to detect Ubuntu.

I hope this helps!

Gromit
Posting Whiz in Training
225 posts since Sep 2008
Reputation Points: 50
Solved Threads: 35
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0565 seconds using 2.68MB