Bug#650724: Bug still present in wheezy
Marcel Meckel
debian at thermoman.de
Thu May 16 16:06:13 UTC 2013
Hi,
this bug is still present in current wheezy release.
It seems Grub has problems with LVM where at least
one PV is on a partition and not on the whole disk.
% fdisk -lu /dev/cciss/c0d?
Disk /dev/cciss/c0d0: 36.4 GB, 36385505280 bytes
255 heads, 32 sectors/track, 8709 cylinders, total 71065440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a669d
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 2048 391167 194560 83 Linux
/dev/cciss/c0d0p2 391168 71063551 35336192 8e Linux LVM
Disk /dev/cciss/c0d1: 293.6 GB, 293563949056 bytes
255 heads, 32 sectors/track, 70265 cylinders, total 573367088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/cciss/c0d1 doesn't contain a valid partition table
% pvs
PV VG Attr 1st PE PSize DevSize Used PFree
/dev/cciss/c0d0p2 vg_mariner5 a-- 1.00m 33.70g 33.70g 15.00g 18.70g
/dev/cciss/c0d1 vg_mariner5 a-- 1.00m 273.40g 273.40g 60.00g 213.40g
% vgs
VG #PV #LV #SN Attr VSize VFree #PV #LV #SN #Ext Free Ext
vg_mariner5 2 4 0 wz--n- 307.09g 232.09g 2 4 0 78616 59416 4.00m
% lvs
LV VG Attr LSize Origin Snap% #Seg Start SSize PE Ranges
root vg_mariner5 -wi-ao-- 5.00g 1 0 5.00g /dev/cciss/c0d0p2:0-1279
var vg_mariner5 -wi-ao-- 10.00g 1 0 10.00g /dev/cciss/c0d0p2:1280-3839
home vg_mariner5 -wi-ao-- 50.00g 1 0 50.00g /dev/cciss/c0d1:0-12799
mysql vg_mariner5 -wi-ao-- 10.00g 1 0 10.00g /dev/cciss/c0d1:12800-15359
% df -hT
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 5.0G 761M 4.0G 16% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 3.2G 224K 3.2G 1% /run
/dev/mapper/vg_mariner5-root ext4 5.0G 761M 4.0G 16% /
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 6.3G 0 6.3G 0% /run/shm
/dev/mapper/vg_mariner5-var xfs 10G 179M 9.9G 2% /var
/dev/mapper/vg_mariner5-mysql xfs 10G 182M 9.9G 2% /var/lib/mysql
/dev/mapper/vg_mariner5-home xfs 50G 4.0G 46G 8% /home
/dev/cciss/c0d0p1 ext2 184M 22M 154M 13% /boot
% cat /boot/grub/device.map
(hd0) /dev/cciss/c0d0
(hd1) /dev/cciss/c0d1
% grub-probe --target=device /usr/share/grub/unicode.pf2
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
/dev/mapper/vg_mariner5-root
% grub-probe --target=abstraction /
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
lvm
% grub-probe --device /dev/mapper/vg_mariner5-root --target=fs
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
ext2
Deleting device.map and running grub-mkdevicemap
does not change anything.
*************************
If i change device.map to
(hd0) /dev/cciss/c0d0p2
(hd1) /dev/cciss/c0d1
All errors go away!
*************************
Verbose Output when device.map has c0d0 in it:
% grub-probe -vv --target=abstraction /
grub-core/disk/raid.c:740: Scanning for dmraid_nv RAID devices on disk hd0
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for dmraid_nv RAID devices on disk hd1
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: scanning hd0 for LVM.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-probe: info: no LVM signature found.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd1 for LVM.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-mysql
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-mysql.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-home
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-home.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-var
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-var.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:472: vg_mariner5-var read failed
error: physical volume pv0 not found.
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-root
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:472: vg_mariner5-root read failed
error: physical volume pv0 not found.
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd1
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-mysql
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-mysql.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-home
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-home.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-var
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-var.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:472: vg_mariner5-var read failed
error: physical volume pv0 not found.
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-root
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:472: vg_mariner5-root read failed
error: physical volume pv0 not found.
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd1
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p1' in open_device()
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0,msdos2
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
grub-core/kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0,msdos1
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
grub-core/kern/disk.c:245: Opening `hd0,msdos1'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p1' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd1
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0,msdos2
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
grub-core/kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0,msdos1
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
grub-core/kern/disk.c:245: Opening `hd0,msdos1'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p1' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd1
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: scanning hd0 for LVM.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-probe: info: no LVM signature found.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/partmap/msdos.c:166: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:166: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd0,msdos2 for LVM.
grub-core/kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0' in open_device()
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-core/partmap/msdos.c:166: partition 1: flag 0x0, type 0x8e, start 0x5f800, len 0x4366000
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd0,msdos1 for LVM.
grub-core/kern/disk.c:245: Opening `hd0,msdos1'...
grub-probe: info: the size of hd0 is 71065440.
grub-core/partmap/msdos.c:166: partition 0: flag 0x80, type 0x83, start 0x800, len 0x5f000
grub-probe: info: no LVM signature found.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd1 for LVM.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: changing current directory to /dev/mapper.
grub-core/kern/emu/hostdisk.c:1422: /dev/dm-0 is an LVM
grub-probe: info: opening vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
lvm
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
Now the same command when device.map has c0d0p2 in it:
% grub-probe -vv --target=abstraction /
grub-core/disk/raid.c:740: Scanning for dmraid_nv RAID devices on disk hd0
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for dmraid_nv RAID devices on disk hd1
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: scanning hd0 for LVM.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd1 for LVM.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-mysql
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-mysql.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-home
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-home.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-var
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-var.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk vg_mariner5-root
grub-probe: info: Scanning for mdraid09 RAID devices on disk vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd1
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-mysql
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-mysql.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-mysql'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-mysql'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-home
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-home.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d1'
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-home'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-home'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-var
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-var.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-var'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-var'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk vg_mariner5-root
grub-probe: info: Scanning for mdraid1x RAID devices on disk vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/emu/hostdisk.c:694: reusing open device `/dev/cciss/c0d0p2'
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd1
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd0
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid09 RAID devices on disk hd1
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd0
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/disk/raid.c:740: Scanning for mdraid1x RAID devices on disk hd1
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d1' in open_device()
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: scanning hd0 for LVM.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/emu/hostdisk.c:716: opening the device `/dev/cciss/c0d0p2' in open_device()
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/kern/disk.c:338: Closing `hd0'.
grub-core/kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 70672384.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd0'.
grub-probe: info: scanning hd1 for LVM.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/kern/disk.c:338: Closing `hd1'.
grub-core/kern/disk.c:245: Opening `hd1'...
grub-probe: info: the size of hd1 is 573367088.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:338: Closing `hd1'.
grub-probe: info: changing current directory to /dev/mapper.
grub-core/kern/emu/hostdisk.c:1422: /dev/dm-0 is an LVM
grub-probe: info: opening vg_mariner5-root.
grub-core/kern/disk.c:245: Opening `vg_mariner5-root'...
lvm
grub-core/kern/disk.c:338: Closing `vg_mariner5-root'.
I think it's not a good idea to have the path to a partition
instead of the path to the whole disk in device.map.
Any suggestions?
Yours
Marcel
--
Registrierter Linux User #307343
More information about the Pkg-grub-devel
mailing list