View previous topic :: View next topic |
Author |
Message |
slalom n00b
Joined: 01 Oct 2018 Posts: 15
|
Posted: Sat Oct 27, 2018 12:57 pm Post subject: yabootconfig : command not found |
|
|
Hello everyone!
After installing yaboot-static. I’m writing Code: | yabootconfig --chroot /mnt/gentoo | and getting Code: | yabootconfig : command not found | ??????? where is this command?
And further, in Handbook , after chrooting is written Code: | mount /dev/sda1 /boot | What is this sda1? Apple Bootstrap? If i have
Code: | hdb1 -apple map
hdb2 -apple bootstrap
hdb3 -swap
hdb4 -root |
|
|
Back to top |
|
|
BubbaMc n00b
Joined: 11 Aug 2019 Posts: 1 Location: Perth, Australia
|
Posted: Sun Aug 11, 2019 11:38 am Post subject: |
|
|
Bit of a thread bump, but did you end up finding a solution? I'm having the same issue on a G5 install.
The install wiki isn't as clear as it could be, once I get a working installation I'll see if it can be updated. |
|
Back to top |
|
|
MoeDathstern n00b
Joined: 01 Aug 2019 Posts: 7
|
Posted: Sun Aug 11, 2019 2:16 pm Post subject: |
|
|
Yes I agree the handbook isn't clear in this matter.
I ignored exiting the chroot and did the yabootconfig in the chroot instead. That worked for me, but...
After reading the Discussion page
https://wiki.gentoo.org/wiki/Handbook_Talk:PPC/Installation/Bootloader
I decided in the end to switch to grub as found in
https://forums.gentoo.org/viewtopic-t-1082746.html
which seems easier to maintain in the future.
Be prepared to read the whole grub-thread. Not every command in the first posting is needed anymore.
I did the following (my bootstrap partition is /dev/hda2) YMMV.
Code: |
echo 'GRUB_PLATFORMS="ieee1275"' >> /etc/portage/make.conf
emerge --ask sys-boot/grub sys-fs/hfsutils
dd if=/dev/zero of=/dev/hda2 bs=512
hformat -l bootstrap /dev/hda2
mkdir /tmp/bootstrap && mount -t hfs /dev/hda2 /tmp/bootstrap
grub-install --macppc-directory=/tmp/bootstrap
umount /tmp/bootstrap
hmount /dev/hda2
hattrib -t tbxi -c UNIX :System:Library:CoreServices:BootX
hattrib -b :System:Library:CoreServices
humount
grub-mkconfig --output=/boot/grub/grub.cfg
|
Moe |
|
Back to top |
|
|
|