Re: [powerpc/ppc64] Fix d-i/grub-installer for NewWorld Power Macs (now with HFS bootstrap!)
On Wed, Mar 13, 2019 at 12:56 AM Frank Scheiner <frank.scheiner@web.de> wrote:
>
> Dear all,
>
> by popular demand for a working d-i/grub-installer on NewWorld Power
> Macs **with** HFS bootstrap method, I made this happen - again. :-D This
> time with a reduced footprint compared to the patches proposed in late
> 2017 (see [1]).
>
> [1]: https://lists.debian.org/debian-powerpc/2017/11/msg00068.html
>
> I created two MRs on salsa.d.o that in combination provide the fix:
>
> * https://salsa.debian.org/installer-team/partman-auto/merge_requests/3
>
> * https://salsa.debian.org/installer-team/grub-installer/merge_requests/2
Did you get a chance at least to try patch from #916830 ? Would be
nice to confirm that grub-ofpathname is a replacement for ofpath or
not ? (I am still hoping that syntax is compatible with Mac and thus
916864 may not be required).
Thanks for your hard work !
> These changes were tested to work on a Mac mini G4 and a Power Mac G5
> (11,2). I used a normal mode installation and the atomic partitioning
> layout and an empty hard disk.
>
> Please check the MRs for all details. Reviews and comments are much welcome.
>
> ****
>
> These patches can be tested in a live installation as follows:
>
> 1. In a normal mode installation wait for the installer to hold on the
> partitioning step and switch to a shell
>
> 2. Download or patch the recipes in
> `/lib/partman/recipes-{powerpc|ppc64}-powermac_newworld` accordingly
> (e.g. using `nano`). It's sufficient to only patch the recipe that you
> actually intend to use in the partitioning step.
>
> 3. Also download or patch `/usr/bin/grub-installer`
>
> 4. Download or create `/usr/lib/grub-installer/mkhfs-bootstrap.sh`
>
> 5. Continue the installation
>
> I served `grub-installer` and `mkhfs-bootstrap.sh` from a local web
> server and downloaded them into the installation environment with
> `wget`. Make sure to change the file permissions to allow execution
> afterwards.
>
> Cheers,
> Frank
Reply to: