On Tue, 18 Jun 2019, Laurent Vivier wrote: > Le 17/06/2019 ? 02:32, Finn Thain a ?crit?: > > On Wed, 12 Jun 2019, user...@yahoo.com wrote: > > > >> > >> 2) After installation, the system was rebooted after a prompt. A > >> question mark appeared on the main screen. Booting from an external > >> disk, Mac OS volumes could be mounted manually using "Disk Utility", but > >> they were still not seen after a reboot. The problem was fixed by > >> running "Apple HD SC Setup 7.3.5p" and updating the Apple driver on the > >> affected disk. So it seems likely that something in the installation > >> corrupted the Apple driver. > >> > > > > I was unable to reproduce this with "parted" after installation. Same with > > "partman" during installation when removing and adding the root partition > > using the "manual partitioning" option. The installer may not be at fault > > here. Can you send /var/log/installer/partman? > > > > There is a bug in parted that corrupts the AppleDriver partition. > > It is fixed in git repo now by: > > commit 43b061e90dcdab799ecd1e822852de110673bf7e > Author: Laurent Vivier <laur...@vivier.eu> > Date: Fri Dec 9 15:10:53 2016 +0100 > > libparted: Fix MacOS boot support > > boot_region_length (or BootSize in the MacOS dialect) is the length > of the driver code in the driver partition. This length is used > to compute the checksum of the driver. > > libparted updates this value by setting the whole size of the partition > without computing the checksum of the driver using this size. > > As the checksum is wrong, the driver is broken and cannot be loaded > by the MacOS ROM, and thus the disk is not bootable anymore. > > Moreover, parted try to update the driver list and makes it disappear. > > As parted is not able to insert a driver in a partition, > the driver is generally inserted by the Apple HD Tool, > this patch removes the line updating the driver size. > > We also simplify the driver list scan and fix endianess use. > > This has been tested... and it works, now. > > I have updated a bootable disk with parted on x86_64 and > then been able to boot it (again) on a Mac LC III. > > Signed-off-by: Laurent Vivier <laur...@vivier.eu> > Signed-off-by: Brian C. Lane <b...@redhat.com> >
Thanks for the tip. I was able to confirm that Debian's libparted does not carry this fix (as of version 3.2-25). --