Re: Why it's so difficult to fix PowerMac booting for good
Hello!
On Fri, 2023-05-26 at 13:07 +0200, Frank Scheiner wrote:
> On 24.05.23 15:25, John Paul Adrian Glaubitz wrote:
> > ==================================================================================
> >
> > Installing on a FAT filesystem does not work at all. grub-install actually refuses
> > the installation if the target directory for --macppc-directory is not an HFS/HFS+
> > filesystem.
>
> Oh it works - or let's say it worked for me back when I tested it in
> 2018 on a Mac mini G4 and a 11,2 Power Mac G5.
>
> According to the relevant line in my PR ([1]) you have to omit
> `--macppc-directory` from the `grub-install` command.
>
> [1]:
> https://salsa.debian.org/frank-scheiner-guest/grub-installer/-/commit/cfe145228adaa34aae780cbb527dce5408107083#ae6e84c2dbfeefe14b039001e1b64254dada292b_895_899
That makes no sense as this parameter just provides the path to the HFS
filesystem. If you don't provide this paramemter, how is grub-install
supposed to know where to install the files?
However, the problem is that GRUB has only a bless command but no command
to set the tbxi attribute on the BootX bootloader file as explained here [1].
Adrian
> [1] https://github.com/apple-oss-distributions/bless/blob/main/README.BOOTING
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: