bugGNU GRUB - Bugs: bug #29272, grub-install on bind mounted...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29272: grub-install on bind mounted /boot/grub fails upon booting

Submitter:  Oliver Winker <oli1417>
Submitted:  Sat 20 Mar 2010 01:08:16 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - experimental branch
Release:  Reproducibility:  Every Time
Planned Release:  None

Fri 03 Dec 2010 10:35:42 PM UTC, comment #1: 

Fixed in experimental

Vladimir Serbinenko <phcoder>
Group administrator
Sat 20 Mar 2010 01:08:16 PM UTC, original submission:  

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

 

Oliver Winker <oli1417>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by oli1417 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-03 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
        Release1.98 Bazaar - experimental branch

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code