[Bug 700910] Re: Unable to install GRUB2 to the same device as contains aufs in natty
Launchpad Bug Tracker
700910 at bugs.launchpad.net
Tue Jul 12 04:17:41 UTC 2011
[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/700910
Title:
Unable to install GRUB2 to the same device as contains aufs in natty
Status in “grub2” package in Ubuntu:
Expired
Bug description:
Binary package hint: grub2
version: 1.99~20110106-1ubuntu1
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,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sda2 on /cdrom type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
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,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
---------------------------
Here's the GRUB install command I am using:
---------------------------
# sudo grub-install --force --root-directory=/cdrom /dev/sda2
/usr/sbin/grub-probe: error: cannot stat `aufs'.
Auto-detection of a filesystem of aufs failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map="/cdrom/boot/grub/device.map" --target=fs -v /cdrom/boot/grub" to <bug-grub at gnu.org>
---------------------------
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/grub-probe --device-map="/cdrom/boot/grub/device.map" --target=fs -v /cdrom/boot/grub
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for aufs. Check your device.map.
---------------------------
This is a regression from grub2 1.99~20110104-2ubuntu1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/700910/+subscriptions
More information about the foundations-bugs
mailing list