[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


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

2009-10-14 Thread Colin Watson
Do you by any chance have one disk that uses GPT and another disk that
uses the traditional DOS partition table format? (A partition management
tool would probably tell you, if you don't know offhand - e.g. 'sudo
parted -l').

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