grub2-mkconfig omits part_gpt module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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.
The grub2 version is 1.97-beta3-
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!
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').