Bug 392521

Summary: YaST still breaks dual FAT / GUID (GPT) Partition Tables
Product: [openSUSE] openSUSE 11.0 Reporter: Andreas Gruenbacher <agruen>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell, ro
Version: Beta 3   
Target Milestone: ---   
Hardware: i386   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Gruenbacher 2008-05-20 11:07:28 UTC
On Intel MacBooks / MacMinis, a dual MacOS + Linux setup requires a dual FAT / GPT partition schema: the MacOS installer will only allow MacOS to be installed on a GPT partitioned disk (and will create dual FAT/GPT partition tables); Grub, which is the most reasonable choice of Linux boot loader on these machines, does not understand GPT, and requires a FAT partition table.

When yast finds a GPT partitioned disk, it will use parted to repartition it. The problems are:

 * YaST always invokes parted, even if the partitions do not change at all.
   This will destroy existing FAT / GPT partitions. Subsequently, when YaST
   invokes Grub, Grub will fail with "Error 22: No such partition".

 * There is a tool, gptsync, which can be used to manually recreate the dual
   partitioning scheme. gptsync gets the type of Linux swap partitions wrong,
   but at least it gets the partition sizes right.

 * Even after I recreate the dual partition scheme, the YaST boot loader
   configurator will re-run parted, and will cause grub to fail again. The
   only way to get around it is to fix the partition table and to install
   grub by hand (grub-install) inside the root partition.
Comment 1 Arvin Schnell 2008-05-20 11:16:46 UTC
Please use fate #302485.