bugGNU GRUB - Bugs: bug #41439, Grub menu for OSX doesn't boot due...

 
 

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

bug #41439: Grub menu for OSX doesn't boot due to ghost drive detected

Submitter:  Mike Donald <quackers>
Submitted:  Sun 02 Feb 2014 06:42:58 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.00
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Tue 04 Feb 2014 06:36:47 AM UTC, comment #7: 

I did read what you said. A link to the other report may have been useful.
The auto generated entries appear correct. The problem is that grub from the command line shows 2 hard drives when there's only one.

Mike Donald <quackers>
Tue 04 Feb 2014 06:30:33 AM UTC, comment #6: 

That's not what I said. Reread what I actually said.

Vladimir Serbinenko <phcoder>
Group administrator
Tue 04 Feb 2014 06:26:30 AM UTC, comment #5: 

So autogenerated config works with Ubuntu and Windows on hd0 but doesn't work for OSX? Isn't that a problem?

Mike Donald <quackers>
Tue 04 Feb 2014 06:22:26 AM UTC, comment #4: 

Problems with autogenerated config is separate issue which is already reported,

Vladimir Serbinenko <phcoder>
Group administrator
Tue 04 Feb 2014 06:20:00 AM UTC, comment #3: 

But there's only one hard drive installed. The custom config was done after grub failed to boot OSX. That's the only way OSX will boot from grub.
Unless that's not what you refer to?

Mike Donald <quackers>
Tue 04 Feb 2014 05:57:40 AM UTC, comment #2: 

It's a custom config. As such using right drive is your responsibility (hint: GRUB uses search in autogenerated config).

Vladimir Serbinenko <phcoder>
Group administrator
Sun 02 Feb 2014 09:48:22 PM UTC, comment #1: 

My current grub version is 2.00-19ubuntu2.1

Mike Donald <quackers>
Sun 02 Feb 2014 06:42:58 PM UTC, original submission:  

I have a retina MacBook Pro (10,1) and have OSX Mavericks, Windows 8.1 and Ubuntu 13-10 installed.
They are all EFI installations.
The grub menu appears and both Ubuntu and Windows boot from it.
OSX does not - it goes to a plain coloured screen and just sits there.
OSX will boot from the Apple boot menu.
Grub complains that the partition can't be found (hd0,gpt2).
From the grub command line I have run ls and it shows hd0 with no partitions and hd1 with my 6 partitions present.
My Mac has only one hard drive.
With some help from someone on grub-irc a standalone grub 2-02-git.efi was chainloaded from grub and the output was this

ls -l
Device hd0: No known filesystem detected - Sector size 512B  Total size 1KiB

Device hd1 was reported as having my 6 gpt partitions present.

Grub appears to be viewing the first 2 sectors of my drive as a separate drive.
As a consequence if I try to boot OSX manually I need to set root as hd1,gpt2 rather than hd0,gpt2.
It boots with the former address but not the latter.

This problem only manifests itself with OSX. Both Ubuntu and Windows will boot from hd0 addresses.

Un petit problem, n'est ce pas?

This is my first grub bug report so I have no idea as to attachments. I will attach anything requested but may need unstruction to do so.

Mike Donald <quackers>

 

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

Attached Files
file #30449:  grub.cfg added by quackers (8KiB - application/octet-stream)

 

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 quackers (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
    2014-02-04 phcoder StatusNone Invalid
        Open/ClosedOpen Closed
    2014-02-03 quackers Attached File- Added grub.cfg, #30449

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code