Bug#542435: grub-probe: error: cannot find a device for /. (LVM2)
Stefan Lippers-Hollmann
s.L-H at gmx.de
Wed Aug 19 16:12:30 UTC 2009
Package: grub-common
Version: 1.96+20090808-1
Severity: important
Hi
Since 2.02.51-1 (17 Aug 2009), lvm2 depends on dmsetup, which ships a few
udev rules:
/lib/udev/rules.d/55-dm.rules
/lib/udev/rules.d/60-persistent-storage-dm.rules
/lib/udev/rules.d/95-dm-notify.rules
Trying to call grub-probe (indirectly through grub-install or update-grub)
on a kernel whose initramfs includes these udev rules results in grub-probe
failing to find the / "partition" (a logical volume on LVM2):
# grub-probe --target=device /
grub-probe: error: cannot find a device for /.
This failure breaks installing grub2 on a pure LVM2 system and renders an
installed system (which has always been working fine for me) on LVM2
unbootable, as soon as dmsetup and its udev rules enter the initramfs and
when update-grub gets invoked by installing kernel updates.
Deleting dmsetup's udev rules and regenerating the initramfs makes
grub-probe working again.
I am reliably experiencing this problem, which renders the affectable
systems unbootable on initramfs changes or kernel updates, on 3 systems
using ext3 and ext4 for / since dmsetup got pulled in by lvm2. It is
independent of the installed kernel version (2.6.29 - 2.6.31-rc6-git5)
Please feel free to reassign to dmsetup (lvm2), but I assume grub-probe
simply can't interpret the mangled udev representation since dmsetup got
installed.
Regards
Stefan Lippers-Hollmann
$ grep -v -e ^\# -e ^$ /etc/fstab
/dev/sputnik/debian64 / ext4 defaults,noatime,barrier=0 1 1
/dev/sputnik/swap none swap defaults 0 0
/dev/sputnik/var /var ext4 auto,user,exec,dev,noatime,barrier=0 1 2
/var/tmp /tmp none bind 0 0
/dev/sputnik/home /home ext4 auto,user,exec,nodev,nosuid,noatime,barrier=0 1 2
$ grep -v -e ^\# -e ^$ /boot/grub/grub.cfg
set default=0
set timeout=3
insmod lvm
set root=(sputnik-debian64)
search --no-floppy --fs-uuid --set aed1da63-079a-4a29-9f17-042b49a96b05
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
insmod gfxterm
insmod vbe
if terminal_output.gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
menuentry "Debian GNU/Linux, Linux 2.6.31-rc6-sidux-amd64" {
insmod lvm
set root=(sputnik-debian64)
search --no-floppy --fs-uuid --set aed1da63-079a-4a29-9f17-042b49a96b05
linux /boot/vmlinuz-2.6.31-rc6-sidux-amd64 root=/dev/mapper/sputnik-debian64 ro vga=791
initrd /boot/initrd.img-2.6.31-rc6-sidux-amd64
}
# fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9a2f4815
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19457 156288321 8e Linux LVM
# lvdisplay
--- Logical volume ---
LV Name /dev/sputnik/debian64
VG Name sputnik
LV UUID 2bOCSD-J1GH-rl6I-ZkqM-Mxlb-X6ip-OIDzvU
LV Write Access read/write
LV Status available
# open 1
LV Size 10,00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/sputnik/var
VG Name sputnik
LV UUID DEGVDG-Uk35-cDFx-pcEp-ZmA0-Kqdi-wuMz2w
LV Write Access read/write
LV Status available
# open 1
LV Size 5,00 GB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Name /dev/sputnik/swap
VG Name sputnik
LV UUID 1OfAMK-bxZ9-lgak-nKwk-0SxX-tGaT-VOq6hZ
LV Write Access read/write
LV Status available
# open 1
LV Size 4,00 GB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--- Logical volume ---
LV Name /dev/sputnik/home
VG Name sputnik
LV UUID XQ9Sx6-f2TY-U3WJ-X4fT-dYbQ-yGqS-NBHKcE
LV Write Access read/write
LV Status available
# open 1
LV Size 10,00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
=== NOT working, with dmsetup udev rules ===
# grub-probe --target=device /
grub-probe: error: cannot find a device for /.
# grub-probe --target=device / -v
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to network
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to sputnik
grub-probe: info: changing current directory to mapper
grub-probe: info: changing current directory to disk
grub-probe: info: changing current directory to by-label
grub-probe: info: changing current directory to by-uuid
grub-probe: info: changing current directory to by-path
grub-probe: info: changing current directory to by-id
grub-probe: info: changing current directory to block
grub-probe: info: changing current directory to bsg
grub-probe: info: changing current directory to bus
grub-probe: info: changing current directory to usb
grub-probe: info: changing current directory to 004
grub-probe: info: changing current directory to 003
grub-probe: info: changing current directory to 005
grub-probe: info: changing current directory to 002
grub-probe: info: changing current directory to 001
grub-probe: info: changing current directory to input
grub-probe: info: changing current directory to by-path
grub-probe: info: changing current directory to char
grub-probe: error: cannot find a device for /.
# grub-probe --target=device / -vvv
/tmp/buildd/grub2-1.96+20090808/disk/raid.c:627: Scanning for RAID devices on disk hd0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting gpt_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: gpt_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting sun_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: sun_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting apple_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: apple_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting pc_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:117: pc_partition_map detection succeeded.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/disk/raid.c:627: Scanning for RAID devices on disk hd0,1
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0,1'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting gpt_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: gpt_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting sun_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: sun_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting apple_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: apple_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting pc_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:117: pc_partition_map detection succeeded.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0,1'.
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to network
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to sputnik
grub-probe: info: changing current directory to mapper
grub-probe: info: changing current directory to disk
grub-probe: info: changing current directory to by-label
grub-probe: info: changing current directory to by-uuid
grub-probe: info: changing current directory to by-path
grub-probe: info: changing current directory to by-id
grub-probe: info: changing current directory to block
grub-probe: info: changing current directory to bsg
grub-probe: info: changing current directory to bus
grub-probe: info: changing current directory to usb
grub-probe: info: changing current directory to 004
grub-probe: info: changing current directory to 003
grub-probe: info: changing current directory to 005
grub-probe: info: changing current directory to 002
grub-probe: info: changing current directory to 001
grub-probe: info: changing current directory to input
grub-probe: info: changing current directory to by-path
grub-probe: info: changing current directory to char
grub-probe: error: cannot find a device for /.
=== working, without dmsetup udev rules ===
# rm /lib/udev/rules.d/55-dm.rules \
/lib/udev/rules.d/60-persistent-storage-dm.rules \
/lib/udev/rules.d/95-dm-notify.rules
# update-initramfs -k $(uname -r) -d
# update-initramfs -k $(uname -r) -c
# reboot
===========================================
# grub-probe --target=device /
/dev/mapper/sputnik-debian64
# grub-probe --target=device / -v
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: the size of hd0 is 312581808
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to network
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to sputnik
grub-probe: info: changing current directory to mapper
/dev/mapper/sputnik-debian64
# grub-probe --target=device / -vvv
/tmp/buildd/grub2-1.96+20090808/disk/raid.c:627: Scanning for RAID devices on disk hd0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting gpt_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: gpt_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting sun_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: sun_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting apple_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: apple_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting pc_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:117: pc_partition_map detection succeeded.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/disk/raid.c:627: Scanning for RAID devices on disk hd0,1
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0,1'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting gpt_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: gpt_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting sun_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: sun_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting apple_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:112: apple_partition_map detection failed.
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:106: Detecting pc_partition_map...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/partition.c:117: pc_partition_map detection succeeded.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0'.
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/util/hostdisk.c:342: opening the device `/dev/sda1' in open_device()/tmp/buildd/grub2-1.96+20090808/kern/disk.c:245: Opening `hd0,1'...
grub-probe: info: the size of hd0 is 312581808
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/apple.c:126: bad magic (found 0xeb63; wanted 0x4552
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:389: Reading `hd0,1'...
/tmp/buildd/grub2-1.96+20090808/partmap/pc.c:143: partition 0: flag 0x80, type 0x8e, start 0x3f, len 0x12a18a82
/tmp/buildd/grub2-1.96+20090808/kern/disk.c:333: Closing `hd0,1'.
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to network
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to sputnik
grub-probe: info: changing current directory to mapper
/dev/mapper/sputnik-debian64
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-rc6-sidux-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-common depends on:
ii base-files 5.0.0 Debian base system miscellaneous f
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libfreetype6 2.3.9-5 FreeType 2 font engine, shared lib
ii libncurses5 5.7+20090803-1 shared libraries for terminal hand
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
grub-common recommends no packages.
Versions of packages grub-common suggests:
pn multiboot-doc <none> (no description available)
pn os-prober <none> (no description available)
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090819/f149dba0/attachment-0001.pgp>
More information about the Pkg-grub-devel
mailing list