View previous topic :: View next topic |
Author |
Message |
schwarzygesetzlos Apprentice
Joined: 11 Dec 2004 Posts: 187 Location: Funeralopolis
|
Posted: Fri Jul 28, 2017 12:27 am Post subject: |
|
|
Congrats!
Yaboot can be (is) quite bitchy! On my machines I use an ext2-boot partition. It stopped worked with ext4 some month ago (had /boot/ as a directory on my / partition back then), I got these error messages just like you with xfs. _________________ Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2] |
|
Back to top |
|
|
wren n00b
Joined: 18 May 2018 Posts: 1
|
Posted: Fri May 18, 2018 5:26 am Post subject: |
|
|
blackjok3r wrote: |
However you do definatly need to install yaboot-static not yaboot in installation. The yaboot package is broken.
Also I don't know how yaboot is mean't to work out what the /boot partition is so I didn't use one and my system is booting fine. I am so happy right now. I just hope my use flags and kernel drivers are right and I can get openbox installed. |
emerge yaboot-static and ybin -v did the trick.
I was about to give up, and yes the PPC Handbook needs to be updated to reflect this. |
|
Back to top |
|
|
cloverskull n00b
Joined: 03 Nov 2017 Posts: 5
|
Posted: Sun May 20, 2018 9:03 am Post subject: |
|
|
Hey guys, can confirm I am able to boot my root ext4 partition (no separate boot partition) with yaboot. Had to emerge yaboot-static first.
My HD layout is basically that /dev/hda2 is the newworld boot partition, /dev/hda4 is my ext4 root partition with everything else.
Here's my /etc/yaboot.conf:
Code: |
boot=/dev/hda2
device=hd:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-4.9.72-gentoo
label=Linux
read-only
append="video=ofonly rootfstype=ext4"
initrd=/boot/initramfs-genkernel-ppc-4.9.72-gentoo
initrd-size=8192
|
After installing yaboot-static and configuring your /etc/yaboot.conf to something that makes sense, run and then . You should be good to boot |
|
Back to top |
|
|
schwarzygesetzlos Apprentice
Joined: 11 Dec 2004 Posts: 187 Location: Funeralopolis
|
Posted: Sat Jun 02, 2018 11:19 pm Post subject: |
|
|
@cloverskull: Interesting result, congrats! When I am bored I could try to boot into my ext4 root again instead of an ext2 boot partition. I wonder if this mkofboot is needed in addition to ybin, to get it going? _________________ Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2] |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jun 03, 2018 2:00 am Post subject: |
|
|
schwarzygesetzlos wrote: | I wonder if this mkofboot is needed in addition to ybin, to get it going? |
schwarzygesetzlos ... as I remember, mkofboot it required to format the bootstrap partition prior to copying the bootloader.
best ... khay |
|
Back to top |
|
|
|