[Bug 1274049] [NEW] HFS+ blessing not working

Loïc Minier lool at dooz.org
Wed Jan 29 10:52:13 UTC 2014


Public bug reported:

Hi there,

I have a fancy boot setup in various respects on a late 2013 retina macbook pro (rMBP); most people install GRUB in the default or a new EFI partition as the only bootloader or use rEFIND or rEFIT; I chose to create a fake OSX partition that would be listed by the OSX bootloader as a boot option.  This is described in:
http://glandium.org/blog/?p=2830

My initial installation was with trusty's last grub2 2.00 packages while
2.02 was in -proposed, and I had to manually manage the contents of the
fake OSX partition, patch grub-install to accept to install to HFS etc.
Then I adjusted the layout with Colin Watson's help since GRUB 2.02 does
everything automatically now.  However I left the old bootloader (2.00)
in the partition.

grub-install -vv would show that the new bootloader was being blessed,
however it did get picked up on boot.

After running the blessing tool from mactel-boot again, the correct
bootloader was picked up and boot worked.

I can't immediately compare what the two pieces of code doing blessing
do since mactel-boot uses an ioctl and hence the linux fs implementation
while grub here uses its own filesystem parsing code and issues writes
directly to it.

I have to note that the filesystem is mounted during this operation, so
possibly the superblock with grub's changes is just being overwritten by
linux on umount?

Cheers,

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 29 10:43:28 2014
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
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/1274049

Title:
  HFS+ blessing not working

Status in “grub2” package in Ubuntu:
  New

Bug description:
  Hi there,

  I have a fancy boot setup in various respects on a late 2013 retina macbook pro (rMBP); most people install GRUB in the default or a new EFI partition as the only bootloader or use rEFIND or rEFIT; I chose to create a fake OSX partition that would be listed by the OSX bootloader as a boot option.  This is described in:
  http://glandium.org/blog/?p=2830

  My initial installation was with trusty's last grub2 2.00 packages
  while 2.02 was in -proposed, and I had to manually manage the contents
  of the fake OSX partition, patch grub-install to accept to install to
  HFS etc.  Then I adjusted the layout with Colin Watson's help since
  GRUB 2.02 does everything automatically now.  However I left the old
  bootloader (2.00) in the partition.

  grub-install -vv would show that the new bootloader was being blessed,
  however it did get picked up on boot.

  After running the blessing tool from mactel-boot again, the correct
  bootloader was picked up and boot worked.

  I can't immediately compare what the two pieces of code doing blessing
  do since mactel-boot uses an ioctl and hence the linux fs
  implementation while grub here uses its own filesystem parsing code
  and issues writes directly to it.

  I have to note that the filesystem is mounted during this operation,
  so possibly the superblock with grub's changes is just being
  overwritten by linux on umount?

  Cheers,

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Jan 29 10:43:28 2014
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1274049/+subscriptions



More information about the foundations-bugs mailing list