Bug#485371: grub-pc: grub2 is confused by LVM on MD

Clint Adams schizo at debian.org
Sun Jun 8 23:29:18 UTC 2008


Package: grub-pc
Version: 1.96+20080601-2

(patched with +else from Robert Millan)

% sudo /usr/sbin/grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map "(md0)" -v
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: opening the device `/dev/hda'
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: opening the device `/dev/hda'
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: opening the device `/dev/hdc'
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: opening the device `/dev/hdc'
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: opening the device `/dev/hda1'
grub-setup: info: the size of hd0 is 195371568
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: opening the device `/dev/hdc1'
grub-setup: info: the size of hd1 is 195371568
grub-setup: info: prefix = /boot/grub
grub-setup: info: changing current directory to /dev/mapper

% sudo od -A x -c /dev/hda | head -80 | grep 420                                                
000420   (   m   d   0   )   (   h   p   r   o   o   t   -   r   o   o

% sudo grub-probe -t abstraction /              
lvm






More information about the Pkg-grub-devel mailing list