https://bugzilla.novell.com/show_bug.cgi?id=220839#c13
--- Comment #13 from Olaf Hering 2007-07-31 10:36:16 MST ---
Created an attachment (id=154541)
--> (https://bugzilla.novell.com/attachment.cgi?id=154541)
parted.msdos-on-gpt.patch
This patch adds a new 'set X map_gpt_to_msdos Y' function.
Using it will break the EFI spec (I cant verify it because the EFI spec
is not free).
On Apple systems with Intel hardware it is sometimes required to install
EFI unaware systems, such as Windows, grub or lilo. With this change,
parted will not destroy the existing primary partitions.
But, parted does some checks to make sure the LBA mapping in the
individual partitions match the existing gpt partitions. If they differ,
the msdos entry will be removed.
One issue remains: the msdos partition types. gpt types can not be
mapped 1 to 1 to msdos partition types. I added a simple mapping to
(hopefully) let grub recognize the partition as readable.
This patch needes testing on Apple systems.
I do not have any DOS compatbile hardware.
Example usage:
sudo parted -s /dev/sdb mklabel gpt
sudo parted -s /dev/sdb mkpart primary 17k 1G
sudo parted -s /dev/sdb mkpart primary 2G 3G
sudo parted -s /dev/sdb set 1 map_gpt_to_msdos 2
sudo parted -s /dev/sdb set 1 boot on
sudo parted -s /dev/sdb set 1 boot off
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.