[Bug 451585] [NEW] grub2-mkconfig omits part_gpt module

2009-10-14 Thread LasVegas
Public bug reported:

Binary package hint: grub2

I have installed 9.10 netbook remix, beta on my EEE PC 1000.  I've set
this computer up to dual boot Ubuntu and OSX.  When the
/boot/grub/grub.cfg file is made it seems to set everything up for dual
booting o.k., except the module part_gpt fails to be listed in the
grub.cfg file.  So the insmod hfsplus line is correctly listed, but it
also needs the insmod part_gpt line to properly access the gpt disk
partitions.  The workaround I'm using (being no expert, however) is to
insert the line insmod part_gpt  at the top of the  macos) section
of the /etc/grub.d/30_os-prober script.  I suspect the proper fix
ought to be in the opaque prepare_grub_to_access_device utility of
30_os-prober, about which I know nothing.

The grub2 version is 1.97-beta3-1ubuntu8.

A separate issue, specific to the EEE PC 1000 perhaps but I'll mention
it, is that the two disks are listed as primary slave and secondary
master.  At bootup the BIOS sees primary slave as hd0 and secondary
master as hd1.  But Ubuntu/linux has primary slave as /dev/sdb and
secondary master as /dev/sda.  Since my OSX is on secondary master,
I have to manually change the set root=(hd0,2) line that is
automatically configured by grub2 in /boot/grub/grub.cfg to set
root=(hd1,2).

Getting perhaps more esoteric, I note that one standard location for the
DSDT.aml file for OSX is in the root partition /dsdt.aml - I manually
changed the 30_os-prober script to set that correctly for my system.

With these workarounds (painfully sorted out...) grub2 is booting OSX
fabulously!

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

-- 
grub2-mkconfig omits part_gpt module
https://bugs.launchpad.net/bugs/451585
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 388135] Re: [Karmic, grub2] fails to start OS X

2009-10-14 Thread LasVegas
I've just filed a similar bug report before I found this report.  The
problem I reported was that (for me) the part_gpt module needs to be
loaded for grub to find the OSX partition.  So one possible solution is
that grub.cfg should list:

insmod hfsplus
insmod part_gpt
set root=(hd0,2)

the part_gpt module for GPT partitioning, should then give grub2 access
to the (hd0,2) partition.

(The hanging blue screen may be because the dsdt.aml acpi/bios file was
not properly loaded ... on my machine without the dsdt.aml file properly
loading OSX will hang for quite a while at the blue screen, but will
eventually load.  It seems to be an OSX/SATA issue on my machine.)

-- 
[Karmic, grub2] fails to start OS X
https://bugs.launchpad.net/bugs/388135
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 451585] Re: grub2-mkconfig omits part_gpt module

2009-10-14 Thread LasVegas
This is correct - parted -l lists /dev/sda (and SSD) as a gpt partition
table and /dev/sdb (also an SSD) as an msdos partition table.

-- 
grub2-mkconfig omits part_gpt module
https://bugs.launchpad.net/bugs/451585
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs