FS#23892 - grub2-common : grub-install doesn't recognize boot partition
Attached to Project:
Arch Linux
Opened by David Strobach (laloch) - Friday, 22 April 2011, 19:36 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 03 May 2011, 13:52 GMT
Opened by David Strobach (laloch) - Friday, 22 April 2011, 19:36 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 03 May 2011, 13:52 GMT
|
Details
Description:
my partition layout is MBR, sda1 - /boot (ext2), sda5 - / (btrfs) The install script ignores the /boot (mounted) partition and sets root to (hd0,msdos5) instead of (hd0,msdos1). I was told at irc freenode #grub that: "<phcoder> laloch: could you (a) try bzr ( we noticed and fixed a mismerge yesterday) ...". I've built and tried revision 3233 and indeed, it solved the problem. Additional info: * package version(s) grub2-common 1.99~rc2-1 Steps to reproduce: grub-install --no-floppy --recheck /dev/sda |
This task depends upon
Closed by Ronald van Haren (pressh)
Tuesday, 03 May 2011, 13:52 GMT
Reason for closing: Fixed
Additional comments about closing: New version (bzr 3238) up later today
Tuesday, 03 May 2011, 13:52 GMT
Reason for closing: Fixed
Additional comments about closing: New version (bzr 3238) up later today
With 1.99~rc1-3:
[root@charlie ~]# /sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning hd0 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: scanning hd2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning md0 for LVM.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning md0,msdos1 for LVM.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning md1 for LVM.
/sbin/grub-probe: info: scanning hd0 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: scanning hd1,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd1,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning hd2,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd2,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: changing current directory to /dev.
/sbin/grub-probe: info: changing current directory to v4l.
/sbin/grub-probe: info: changing current directory to by-path.
/sbin/grub-probe: info: changing current directory to by-id.
/sbin/grub-probe: info: changing current directory to usb.
/sbin/grub-probe: info: changing current directory to cd.
/sbin/grub-probe: info: changing current directory to bus.
/sbin/grub-probe: info: changing current directory to usb.
/sbin/grub-probe: info: changing current directory to 008.
/sbin/grub-probe: info: changing current directory to 007.
/sbin/grub-probe: info: changing current directory to 006.
/sbin/grub-probe: info: changing current directory to 005.
/sbin/grub-probe: info: changing current directory to 004.
/sbin/grub-probe: info: changing current directory to 003.
/sbin/grub-probe: info: changing current directory to 002.
/sbin/grub-probe: info: changing current directory to 001.
/sbin/grub-probe: info: changing current directory to snd.
/sbin/grub-probe: info: changing current directory to by-id.
/sbin/grub-probe: info: changing current directory to by-path.
/sbin/grub-probe: info: changing current directory to cpu.
/sbin/grub-probe: info: changing current directory to pts.
/sbin/grub-probe: info: changing current directory to shm.
/sbin/grub-probe: info: changing current directory to net.
/sbin/grub-probe: info: changing current directory to group0.
/sbin/grub-probe: info: opening md0,1.
ext2
With 1.99~rc2-1:
[root@charlie pkg]# /sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning hd0 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: scanning hd2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Found array md1 (mdraid09).
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Found array md0 (mdraid09).
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos2.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2,msdos2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2,msdos1.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk md0.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk md0,msdos1.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk md1.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos2.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos1.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd2,msdos2.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd2,msdos1.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning md0 for LVM.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning md0,msdos1 for LVM.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning md1 for LVM.
/sbin/grub-probe: info: scanning hd0 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd0 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: scanning hd1,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd1,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd1 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: scanning hd2,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: scanning hd2,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd2 is 625142448.
/sbin/grub-probe: info: no LVM signature found.
/sbin/grub-probe: info: changing current directory to /dev.
/sbin/grub-probe: info: changing current directory to v4l.
/sbin/grub-probe: info: changing current directory to by-path.
/sbin/grub-probe: info: changing current directory to by-id.
/sbin/grub-probe: info: changing current directory to usb.
/sbin/grub-probe: info: changing current directory to cd.
/sbin/grub-probe: info: changing current directory to bus.
/sbin/grub-probe: info: changing current directory to usb.
/sbin/grub-probe: info: changing current directory to 008.
/sbin/grub-probe: info: changing current directory to 007.
/sbin/grub-probe: info: changing current directory to 006.
/sbin/grub-probe: info: changing current directory to 005.
/sbin/grub-probe: info: changing current directory to 004.
/sbin/grub-probe: info: changing current directory to 003.
/sbin/grub-probe: info: changing current directory to 002.
/sbin/grub-probe: info: changing current directory to 001.
/sbin/grub-probe: info: changing current directory to snd.
/sbin/grub-probe: info: changing current directory to by-id.
/sbin/grub-probe: info: changing current directory to by-path.
/sbin/grub-probe: info: changing current directory to cpu.
/sbin/grub-probe: info: changing current directory to pts.
/sbin/grub-probe: info: changing current directory to shm.
/sbin/grub-probe: info: changing current directory to net.
/sbin/grub-probe: info: changing current directory to group0.
/sbin/grub-probe: info: opening mduuid/c76e335f388e7fffc4d48bf1d5b45aa4,1.
/sbin/grub-probe: error: no such disk.
This makes it impossible to do a grub-install do an mdraid device or member disks after upgrading to 1.99~rc2-1