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

Submitted by:  Oliver Winker <oli1417>
Submitted on:  Sat 20 Mar 2010 01:08:16 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - experimental branchReproducibility: Every Time
Planned Release: None

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

Fixed in experimental

Vladimir Serbinenko <phcoder>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Dec 2010 10:35:42 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Release1.98=>Bazaar - experimental branch

    Back to the top


    Powered by Savane 3.1-cleanup1