Hi folks,
I'm having a strange behaviour with GRUB, and I don't know much about it.
The problem is that GRUB is looking at the wrong place when it starts.
I have a /boot partition (/dev/sda1) with everything for booting and grub. This gets updated when I update, say, the kernel, grub, etc.
But I also have a /backups partition (/dev/sda4) with a directory /backups/boot/grub that is a copy of /boot/grub. The /backups/boot directory only has the /backups/boot/grub directory, not the kernels, etc.
If I delete the /backups/boot/grub directory, I get a "grub>" console at startup, and system doesn't boot.
SO: Why is grub looking at /backups/boot/grub instead of /boot/grub and how can I fix this?
This is my grub.conf, identical in both directories, and both pointing to /boot=/dev/sda1=(hd0,0):
================================================== ==
# grub.conf generated by anaconda
default=0
timeout=5
hiddenmenu
title Fedora (2.6.34.7-63.fc13.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.34.7-63.fc13.i686.PAE [...]
initrd /initramfs-2.6.34.7-63.fc13.i686.PAE.img
================================================== ==
and this is my device.map:
================================================== ==
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
================================================== ==
Thanks a lot for your help!!!
Cheers,
L.


Reply With Quote
