LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-01-2006, 04:00 PM   #1
lucid_dream
LQ Newbie
 
Registered: Nov 2006
Distribution: Ubuntu Edgy Eft
Posts: 14

Rep: Reputation: 0
Dual Boot Issue


I am currently running Edgy Eft and tried to install Fedora 6 as a dual boot. It appears that i over wrote the MBR for Ubuntu when installing Fedora. Now i can not boot into Fedora or Ubuntu. When i boot into GRUB i only get the option to boot Fedora and the Ubuntu option is no longer there. When i try booting Fedora it jsut hangs and never completely boots. Can someone please help me to fix my boot record so that i can run these two side by side?
 
Old 12-01-2006, 06:09 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try booting from the Ubuntu install cd. You may see a menu of options, such as: boot from hard drive, boot from cd, system repair, etc. Boot whichever one works, then re-install grub to the MBR (see the grub manual for exact command: it's something like *grub-install (hd0)*. Note: don't include tha partition number; that will really mess things up. Just the hard drive (hd0) is enough to indicate the MBR).

Once you get grub and Ubuntu working together, re-boot and select Ubuntu from the menu to be sure that it boots.

Once rebooted, create a mount point for mounting the Fedora installation: mkdir /mnt/Fedora. Then mount Fedora: mount /dev/hda? /mnt/Fedora (where /dev/hda? represents the partition in which Fedora is installed).

Now use your file manager (Konquerer or whatever) to look into /mnt/Fedora/boot. Compare the files you see there with Ubuntu's /boot directory: do you see vmlinuz, initrd, system map, etc? If so, the installation may be good. cd to the grub folder. Open grub.conf (or menu.lst if that's what Fedora uses) and copy the Fedora entry, which should be 3 lines: title, kernel, and initrd.

Paste those lines into Ubuntu's /boot/grub/menu.lst. If the Fedora installation isn't corrupt in some way, that should be all that is necessary to get it booting.

Now reboot once more, and select Fedora from the menu to see if it boots OK.

Last edited by bigrigdriver; 12-01-2006 at 06:14 PM.
 
  


Reply



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
Dual Boot Issue Diomedes Linux - Software 13 11-01-2006 10:21 PM
Dual boot issue tntcoder Linux - General 4 08-06-2006 05:36 PM
dual boot issue ailstyn Linux - Newbie 6 06-01-2005 08:28 PM
Dual Boot Issue ZeppelinDL Mandriva 0 04-17-2004 11:52 PM
XP Dual Boot Issue taran Linux - Software 2 07-08-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration