Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yabootconfig : command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Sat Oct 27, 2018 12:57 pm    Post subject: yabootconfig : command not found Reply with quote

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
View user's profile Send private message
BubbaMc
n00b
n00b


Joined: 11 Aug 2019
Posts: 1
Location: Perth, Australia

PostPosted: Sun Aug 11, 2019 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
MoeDathstern
n00b
n00b


Joined: 01 Aug 2019
Posts: 7

PostPosted: Sun Aug 11, 2019 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum