Bug#500157: status update

Paul Menzel pm.debian at googlemail.com
Sun Sep 28 14:06:51 UTC 2008


Dear DDs,


I am posting a status update about what I did and what my questions are.

As written before I can boot my system from a CD, where GRUB Legacy is
started from where I have to edit the commands by hand on every boot.

Press 'e' to edit to

root (hd0,0)
kernel /vmlinuz-2.6.26-1-686 root=/dev/mapper/root
initrd /initrd.img-2.6.26-1-686

and then 'b' for boot and this works. I have just the first disk, I
called A before, connected, because I do not know how dm-mod/mdadm would
sync the disks again.

I did

        $ sudo grub-install /dev/md0
        Installation finished. No error reported.
        This is the contents of the device map /boot/grub/device.map.
        Check if this is correct or not. If any of the lines is
        incorrect,
        fix it and re-run the script `grub-install'.
        
        (fd0) /dev/fd0
        (hd0) /dev/sda
        (hd1) /dev/sdb

and

        $ sudo grub-install /dev/sda
        Installation finished. No error reported.
        This is the contents of the device map /boot/grub/device.map.
        Check if this is correct or not. If any of the lines is
        incorrect,
        fix it and re-run the script `grub-install'.
        
        (fd0) /dev/fd0
        (hd0) /dev/sda
        (hd1) /dev/sdb

to be sure. Reboot. Still the same problem.

I took a look at my /boot/grub/grub.cfg. I see set root=(md0) in a lot
of places. I looked at /etc/default/grub and /etc/grub.d/ but did not
find (grep -e md0 *) anything where this option is configured.

Than I changed md0 to hd0 in /boot/grub/grub.cfg and than
grub-install /dev/[md0|sda] . Still the same.

Reading [1] I deleted the lines with search and uuid, because I have a
RAID setup, but to no avail. I did also have no success in implementing
the echo $root commands. But I think it does not even get to this point.

In /etc/default/grub I activated

GRUB_DISABLE_LINUX_UUID=true

reading [2], but also no luck. After grub-update there were still lines
containing search and uuid in my /boot/grub/grub.cfg!?

How can I make sure, that grub-install is actually changing something?

Do you have any further suggestions? I will no try out the version in
experimental.


Thanks,

Paul


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497791
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484297
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080928/3f37aac6/attachment.pgp 


More information about the Pkg-grub-devel mailing list