Unable to install GRUB2 to the same device as contains aufs in natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
version: 1.99~20110106-
I'm attempting to install GRUB2 to the same device that contains AUFS. Eg the entire ISO image is placed on a partition, and i'm trying to install GRUB to that same partition while booted into an environment that has that AUFS image loaded.
Here's what the mount layout looks like:
-------
# mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,
none on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
/dev/sda2 on /cdrom type vfat (rw,noatime,
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
binfmt_misc on /proc/sys/
-------
Here's the GRUB install command I am using:
-------
# sudo grub-install --force --root-
/usr/sbin/
Auto-detection of a filesystem of aufs failed.
Please report this together with the output of "/usr/sbin/
-------
Here's a rather simple GRUB probe line that is failing. It should return /dev/sda2 (as that's where /cdrom is actually mounted)
-------
# grub-probe --verbose --target=device /cdrom/boot/grub/
aufs
-------
Here's the GRUB probe that grub-install requested in bugs
-------
# /usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
-------
This is a regression from grub2 1.99~20110104-
And actually this is a very recent regression. In the live env I downgraded grub-common and grub-pc to 1.99~20110104- 2ubuntu1 and the probe command returns correctly:
#grub-probe --verbose --target=device /cdrom/boot/grub
/dev/sda2