You are not logged in.

#1 2015-11-07 13:29:03

Markismus
Member
Registered: 2015-08-09
Posts: 45

[SOLVED] Grub rescue mode

Situation:
PC starts GRUB. Message:"Cannot find file, Entering rescue mode..."

History:
I was trying to install Win7, because some hearing aid programming software wouldn´t work nicely with the serial port under Wine and Qemu. However, I got the message that Win7 could not be installed on my hardware. My hardware being a two months old SSD. At this point I had a working GRUB, that allowed me to boot into Arch and the not working Win7. I googled and found that the error sometimes occurred when your HDD settings in your BIOS were on IDE instead of AHCI. I changed the BIOS settings of my HDD from IDE to AHCI....and found myself in Grub rescue mode.

Things tried:
- I immediately switched the BIOS settings back to IDE, but to no avail.

- I tried to work the grub rescue command line. And although I can see my block devices, I can set prefix and root ( prefix=(hd1,1)/grub, root=(hd3,1) ), every time when I try to install normal.mod it gives me a file not found message:
     insmod (hd1,1)/grub/i386-pc/normal.mod,
     insmod normal.mod,
     insmod /usr/lib/grub/i386-pc/normal.mod.
Rather annoying!

- I booted the arch.iso on a thumbdrive. Arch-chrooted into my system,
     mount -a (everything hucky-dory, thank god),
     pacman -S grub,
     grub-install --recheck /dev/sdb,
     grub-mkconfig -o /boot/grub/grub.cfg
     mkinitcpio -p linux

No luck, still stuck!

If anybody could somehow help me further along in this rather complex Saturday afternoon, I would be quite happy. Thanks for reading this post!

Last edited by Markismus (2015-11-07 13:50:22)

Offline

#2 2015-11-07 13:49:39

Markismus
Member
Registered: 2015-08-09
Posts: 45

Re: [SOLVED] Grub rescue mode

I solved it. Sorry, I apparently had the wrong HDD as first boot device. Don't understand why it still finds GRUB. But still, happy as a clam.

Offline

Board footer

Powered by FluxBB