downer
4th March 2012, 05:48 PM
Is anyone else having grub2 problems in Rawhide? I get this error that I can only fix with chroot using live CD:
# grub2-probe /dev/sda
grub2-probe: error: cannot stat `devtmpfs'.
# /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0,msdos3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,msdos2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,msdos1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: changing current directory to v4l.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to by-id.
/sbin/grub2-probe: info: changing current directory to snd.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to net.
/sbin/grub2-probe: info: changing current directory to mqueue.
/sbin/grub2-probe: info: changing current directory to hugepages.
/sbin/grub2-probe: info: changing current directory to vg_hostname.
/sbin/grub2-probe: info: changing current directory to disk.
/sbin/grub2-probe: info: changing current directory to by-label.
/sbin/grub2-probe: info: changing current directory to by-uuid.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to by-id.
/sbin/grub2-probe: info: changing current directory to block.
/sbin/grub2-probe: info: changing current directory to usb.
/sbin/grub2-probe: info: changing current directory to dri.
/sbin/grub2-probe: info: changing current directory to char.
/sbin/grub2-probe: info: changing current directory to shm.
/sbin/grub2-probe: info: changing current directory to pts.
/sbin/grub2-probe: info: changing current directory to bsg.
/sbin/grub2-probe: info: changing current directory to mapper.
/sbin/grub2-probe: info: opening vg_hostname-lv_root.
/sbin/grub2-probe: error: no such disk.
Do I need to alter my fstab even more?
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/mapper/vg_hostname-lv_root / btrfs defaults 1 0
/dev/mapper/vg_hostname-lv_home /home btrfs defaults 0 0
/dev/mapper/vg_hostname-lv_swap swap swap defaults 0 0
Or is the problem related to a bug about lvm not working with /dev/dm-0 ?
# grub2-probe /dev/sda
grub2-probe: error: cannot stat `devtmpfs'.
# /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: scanning hd0,msdos3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,msdos2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,msdos1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: changing current directory to v4l.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to by-id.
/sbin/grub2-probe: info: changing current directory to snd.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to net.
/sbin/grub2-probe: info: changing current directory to mqueue.
/sbin/grub2-probe: info: changing current directory to hugepages.
/sbin/grub2-probe: info: changing current directory to vg_hostname.
/sbin/grub2-probe: info: changing current directory to disk.
/sbin/grub2-probe: info: changing current directory to by-label.
/sbin/grub2-probe: info: changing current directory to by-uuid.
/sbin/grub2-probe: info: changing current directory to by-path.
/sbin/grub2-probe: info: changing current directory to by-id.
/sbin/grub2-probe: info: changing current directory to block.
/sbin/grub2-probe: info: changing current directory to usb.
/sbin/grub2-probe: info: changing current directory to dri.
/sbin/grub2-probe: info: changing current directory to char.
/sbin/grub2-probe: info: changing current directory to shm.
/sbin/grub2-probe: info: changing current directory to pts.
/sbin/grub2-probe: info: changing current directory to bsg.
/sbin/grub2-probe: info: changing current directory to mapper.
/sbin/grub2-probe: info: opening vg_hostname-lv_root.
/sbin/grub2-probe: error: no such disk.
Do I need to alter my fstab even more?
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/mapper/vg_hostname-lv_root / btrfs defaults 1 0
/dev/mapper/vg_hostname-lv_home /home btrfs defaults 0 0
/dev/mapper/vg_hostname-lv_swap swap swap defaults 0 0
Or is the problem related to a bug about lvm not working with /dev/dm-0 ?