[Bug 220839] New: GNU parted doesn't have dual GPT/DOS partition table support
https://bugzilla.novell.com/show_bug.cgi?id=220839 Summary: GNU parted doesn't have dual GPT/DOS partition table support Product: openSUSE 10.2 Version: Beta 2 plus Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: olh@novell.com ReportedBy: agruen@novell.com QAContact: qa@suse.de CC: gregkh@novell.com, rguenther@novell.com Macintosh machines use the EFI bootloader with GPT partition tables. Primarily for Windows support, MacOS supports a dual GPT/DOS partition scheme in which a DOS partition table is created that mirrors the GPT partition table as well as possible (at most four primary partitions; no extended partitions possible; first primary partition reserved for EFI). The mixed GPT/DOS partition setup is useful for dual-booting MacOS and Linux: grub (version 1, the only usable version to date) doesn't support GPT partition tables, and relies on a DOS partition table to exist. Parted supports GPT partiton tables, but not the dual GPT/DOS partition scheme. Therefore, whenever parted modifies the GPT partition table, it wipes out the DOS partition table. There is an external tool, gptsync, which creates a dual GPT/DOS partition table from a GPT partition table. This tool can be used to fix things up again after parted. It would be very nice if parted supported the dual GPT/DOS partition scheme. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from olh@novell.com 2006-11-16 04:23 MST ------- something for 10.3. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |218029 nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chuller@novell.com ------- Comment #2 from olh@novell.com 2006-11-24 10:23 MST ------- *** Bug 223454 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 felix@derklecks.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felix@derklecks.de ------- Comment #3 from felix@derklecks.de 2007-03-01 07:02 MST ------- what it the status of this bug? I just installed 10.3-alpha1 on my MacBook. But I had to sync the partition tables with rEFIt gptsync.efi. I read somewhere about a linux commandline tool to sync the tables ... Maybe this would work. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 ------- Comment #4 from olh@novell.com 2007-03-01 07:32 MST ------- will be implemented this year. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX ------- Comment #5 from olh@novell.com 2007-05-02 13:18 MST ------- I looked at it today. The correct way is to use an EFI aware bootloader and an EFI aware operating system. Our kernels have CONFIG_EFI disabled. Too bad. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 agruen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Comment #6 from agruen@novell.com 2007-05-03 04:48 MST ------- Linux is well aware of the EFI partitions: all our kernels have CONFIG_EFI_PARTITION=y enabled. Otherwise, the kernel wouldn't be able to access those partitions, and I would surely have noticed that already ... It would be very nice if parted could preserve the backward-compatibility DOS partitions if at all possible. Failing that, we would need to recognize when the boot disk is GPT in yast, and choose a GPT aware boot loader -- but which would work well on this kind of hardware? If we don't address this problem, machines with OSX/Linux dual-boot setups will still fail in 10.3, which would be pretty bad. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 ------- Comment #7 from fehr@novell.com 2007-05-03 05:08 MST ------- This is clearly a feature request, not a bug report. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 ------- Comment #8 from olh@novell.com 2007-05-03 05:13 MST ------- zeroing the mbr smells like a bug. I talked to Alexander Graf today. He confirmed: The boot concept is still fucked up on intel systems. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839 ------- Comment #9 from fehr@novell.com 2007-05-03 08:35 MST ------- According to my tests parted overwrites MBR only when you execute "parted /dev/sda mklabel gpt". When you manipulate partitions MBR is untouched. Since a parted ... mklabel is per defintion removing all partitions on a disk I do not see why changing the MBR in this case is considered as a bug. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220839#c10
--- Comment #10 from Felix Möller
If we don't address this problem, machines with OSX/Linux dual-boot setups will still fail in 10.3, which would be pretty bad.
(In reply to comment #4 from Olaf Hering)
will be implemented this year.
Olaf is there any chance for this to be implemented in 10.3? I would happily test it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=220839#c11
--- Comment #11 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=220839#c12
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c13
--- Comment #13 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=220839#c14
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=220839#c16
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c17
Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=220839#c18
--- Comment #18 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c19
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c20
--- Comment #20 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c21
--- Comment #21 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c22
--- Comment #22 from Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=220839#c24
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c25
--- Comment #25 from Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=220839#c26
--- Comment #26 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c28
--- Comment #28 from Ruediger Oertel
The wrong classification of sda3 as "EFI boot" probably leads bootloader to >> treat sda3 as boot partition instead of sda1. I fixed libstorage now not to mis-detect any partitions on GPT with boot flag set as EFI unless they also contain a fat filesystem.
I think this is wrong. in my GPT here, partitions 1 and 3 have the bootable flag, which is fine and the main bootloader on that disk is refit. grub should be installed on the /-partition, which is sda3 (in both GPT and MBR). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=220839#c29
--- Comment #29 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c31
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c33
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839
Matej Horvath
https://bugzilla.novell.com/show_bug.cgi?id=220839#c35
Stefan Fent
https://bugzilla.novell.com/show_bug.cgi?id=220839#c36
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=220839#c37
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839#c38
--- Comment #38 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=220839
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=220839
Martin Mrazik
https://bugzilla.novell.com/show_bug.cgi?id=220839
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=220839
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=220839
User agraf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=220839#c41
--- Comment #41 from Alexander Graf
https://bugzilla.novell.com/show_bug.cgi?id=220839
User agraf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=220839#c42
Alexander Graf
https://bugzilla.novell.com/show_bug.cgi?id=220839
User agraf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=220839#c43
Alexander Graf
participants (1)
-
bugzilla_noreply@novell.com