URL:
<http://savannah.gnu.org/bugs/?29272>
Summary: grub-install on bind mounted /boot/grub fails upon
booting
Project: GNU GRUB
Submitted by: oli1417
Submitted on: Sat 20 Mar 2010 01:08:16 PM GMT
Category: Installation
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 1.98
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Hi,
I'm using a /boot partition in ext4 for booting with grub, which is then bind
mounted into a btrfs root partition:
---
lapix:~# mount |grep hda
/dev/hda2 on / type btrfs (rw,ssd)
/dev/hda1 on /media/hda1 type ext4 (rw,relatime)
/media/hda1/boot on /boot type none (rw,bind)
/dev/hda3 on /media/hda3 type btrfs (rw,ssd)
---
Installing grub on this setup using
---
grub-install /dev/hda
---
completes, but the resulting boot installation fails to boot grub.
Upon booting I was only arriving in the grub rescue mode - probably the
actual /boot/grub files weren't found.
Installation works and is booting Ok, when using grub-install as followed:
---
grub-install --root-directory=/media/hda1/ /dev/hda
---
Maybe the problem is, that during installation on a bind mounted /boot/grub
directory, the actual place of /boot/grub is not correctly determined ?
Apart from that, I had also to apply the patch from following bug posting
thread, to complete the debian grub-pc 1.98-1 package update on my btrfs
setup:
---
http://launchpadlibrarian.net/40446467/999_btrfs_workaround.diff
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/450260
---
In case of more info needed, just tell.
Cheers, Oliver
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29272>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub