[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing NETINST 20190127 on Mac mini G4



On 1/28/19 10:19, Rick Thomas wrote:
When it got to trying to install grub, that failed (as expected). I
chose to “continue without boot loader”. It wrapped up and ejected the
CD then paused before trying to reboot. While it was paused I switched
to the alt-<f2> console and did the following{2}:

     chroot /target
     mount -t sysfs none /sys
     apt install hfsutils
     yabootconfig -b /dev/sda2
     ybin
     exit

This created a rudimentary yaboot.conf file and install the yaboot bootloader.

Thanks. Great to have the manual installation process described here.

There is also the `in-target` tool that does the required mounting of
pseudo file systems automatically. The following should also work then:

```
in-target [--pass-stdout] sh -c 'apt install hfsutils && yabootconfig -b
/dev/sda2 && ybin'
```

The optional - therefore in brackets - `--pass-stdout` should print any
stdout messages of the tools used inside the target.

{2} Would it be possible to have “install yaboot boot loader” be an
option on the main menu — parallel to “install grub bootloader”?
That would be less daunting for beginners who don’t have our level of
initiation into the Debian arcana.
Adrian wrote in [1] that this is due to the purge of powerpc from the
Debian archive. So this might be reenabled later on. Though it won't
work anymore, if the bootstrap method is changed as proposed by me. But
the manual procedure (together with manual partitioning) will still work
AFAICS if someone depends on HFS as bootstrap.

[1]: https://lists.debian.org/debian-powerpc/2019/01/msg00127.html


Reply to: