GRUB Loader says drive doesn't exist
Hey all,
If at all possible I would like ot keep the GRUB loader and repair my situation. My slave drive has Windows 7. My master had Ubuntu on it. When it installed it added the GRUB loader. I replaced it with Fedora, but now the GRUB loader says it can't find the drive and bails to grub-rescue. If possible I would like to keep the grub loader. If I can't repair this, is there a way to uninstall it and reinstall it. Thanks in advance!! |
grub + booting
Which version of Ubuntu did you load after fedora? If 9.10 then it uses an experimental version of grub2 which is different to the original. Fedora still uses grub. To get the 2 to coexist will take some tweaking, none of which seems reliable so take your choice.
Fred. |
during the fedora install, did you install grub to the mbr? if not, and you're still using the ubuntu's grub (it'll read 1.97), you'll need to reinstall fedora's to the mbr with grub-install. if you are using fedora's (0.97), then verify that your menu.lst is accurate.
|
Did your dual-boot with win 7 and Ubuntu work?
Did you install Fedora to the same partition on the same drive you previously had Ubuntu on? Do you know where you installed the bootloader with Fedora? master boot record? root partition? which drive? Posting your partition information would be helpful. Are you able to boot anything now? If not do you still have your Fedora CD/DVD? if you do, load it and open a terminal as root and use command: fdisk -l (lower case Letter L) to get partition information to post. |
Well I've been trying some of these suggestions this morning without much luck. Let me answer some of the questions
Fred - I did have Ubuntu 9.10 running. Quote:
Quote:
Code:
[root@localhost liveuser]# fdisk -l |
I quite brazenly tried to fix this problem myself by using commands I don't fully understand :D. Here's my results from trying to reinstall GRUB.
Code:
[root@localhost liveuser]# grub-install /dev/sdb |
Did I lose everyone?
|
have you tried to boot the live cd, and mount /dev/sdb1 to a folder? If you do that you should be able to look at /folder/dev/sdb1/is/mounted/on/boot/grub/menu.lst and see what is going on.
Code:
mkdir /media/sdb |
Code:
[root@localhost home]# mount -t ext3 /dev/sdb1 /Media/sdb |
yes it is the "-t ext3" part that is causing it to error. ext3 was a guess as to your filesystem type. it could be ext2 or ext4, ReiserFS, there are a number of options. Try mounting the drive without the "-t ext3".
Code:
mount /dev/sdb1 /media/sdb |
a quick google indicates that fedora 12 uses ext4 by default.
|
It worked wihout the -t option. Here the contents. Thanks you very much. I'm looking over the GRUB documentation to see if I can figure out how this should be configured but its pretty dense :(
Code:
[root@localhost grub]# more menu.lst |
OK here is what i am seeing.
according to your output of fdisk -l, Windows 7 is on /dev/sda (The Primary Drive), and Fedora is on /dev/sdb (The Secondary Drive). According to your grub boot list you have Fedora listed on drive 1 and Windows on drive 2. This should be a quick config change to the menu.lst file to get you sorted out. Before we do anything lets make a backup copy of the menu.lst file so we save the current configuration. Code:
cp /media/sdb/grub/menu.lst /media/sdb/grub/menu.lst.orig Code:
# grub.conf generated by anaconda Code:
# grub.conf generated by anaconda |
Well that didn't quite work but it pointed me in the right direction. Turns out the GRUB loader from Ubuntu was on /dev/sda1. The one on /dev/sdb1 was the one Fedora installed and was working fine. I just swapped the boot order of the disks and Fedora's GRUB install runs great. Thank you for helping out!! :D :D
|
All times are GMT -5. The time now is 11:33 AM. |