I recently repartitioned my hdd and I have damaged grub on my system. On boot I get the grub rescue prompt and I have to go through the following steps in order to boot normally:
set root=(hd0,msdos6)
set prefix=(hd0,msdos6)/boot/grub
insmod normal
normal
(Those steps were found on another post on here!).
I'm very tired of repeating this on every boot, how do I permanently fix grub>
I bought a new computer a couple of weeks ago and installed Ubuntu from a book DVD. Everything went fine and I was happily using Ubuntu until I found out that it was the 32 bit version. I want to use the 64 bit version since I just spent the money to replace my old computer with a 64 bit system. I created a DVD with the 64 bit ISO from the Ubuntu site and installed that.
i had deleted a partition using windows 7 in my dual boot system
then when i restarted my pc file system error was shown on screen with grub rescue
after some reading from internet
i typed in following command at grub rescue
ls
ls (hd0,msdos5)/
set root= (hd0,msdos5)
ls /
set prefix=(hd0,msdos5)/boot/grub
insmod /boot/grub/linux/mod
normal
my linux files are in msdos5 as seen using ls command
F12 Live CD boots and runs fine. I installed to hard drive and now get:
Grub loading.
error: unknown filesystem
grub rescue> _
(it is hung - I cannot type any commands here)
I think I somehow have to use root and setup but don't remember and can't find specifics
I have a dual boot PC with Windows 7 and Ubuntu.
I installed F16 64 from a Nov'11 DVD a few days ago, was trying to find files from F16, and then grub disappeared.
I followed the instructions to replace bash, as it was missing, but the same grub error still keeps showing.
Code:
grub loading
welcome to grub!
error: file not found
entering rescue mode
grub rescue >
This thread shows how to reinstall grub1.
This thread shows how to
wolfcore wrote:Before rebooting, during the configuration of grub, I moved /boot/grub/ to /boot/efi/grub, because that was my efi-directory:Move back the directory to /boot/grub. /boot/efi/grubx64.efi is configured to look into /boot/grub (or rather <ESP>/grub, rather than <ESP>/efi/grub).
I have a dual boot PC with Win7 and Ubuntu.
I did a dumb thing... I forgot that Ubuntu 10.04 (Lucid) switched to Grub2 which puts a ton of *.mod files (kernel modules) in /boot/grub. I thought they were soundtrack files put there erroneously and moved them. Needless to say, the next reboot was traumatic. I was presented with something I had no memory of ever seeing...