Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot : filesystem corruption
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 125
Location: Funeralopolis

PostPosted: Fri Jul 28, 2017 12:27 am    Post subject: Reply with quote

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 Secure Workstation. [Gentoo Linux] | PMac G5 7,3. PBook G4 5,8. [MorphOS 3.11 / Gentoo Linux]
A1200. ACA-1233, Indivision AGA Mk2. [Amiga OS 3.1.4]
Back to top
View user's profile Send private message
wren
n00b
n00b


Joined: 18 May 2018
Posts: 1

PostPosted: Fri May 18, 2018 5:26 am    Post subject: Reply with quote

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


Joined: 03 Nov 2017
Posts: 3

PostPosted: Sun May 20, 2018 9:03 am    Post subject: Reply with quote

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
Code:
mkofboot
and then
Code:
ybin -v
. You should be good to boot :)
Back to top
View user's profile Send private message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 125
Location: Funeralopolis

PostPosted: Sat Jun 02, 2018 11:19 pm    Post subject: Reply with quote

@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 Secure Workstation. [Gentoo Linux] | PMac G5 7,3. PBook G4 5,8. [MorphOS 3.11 / Gentoo Linux]
A1200. ACA-1233, Indivision AGA Mk2. [Amiga OS 3.1.4]
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6212
Location: Room 101

PostPosted: Sun Jun 03, 2018 2:00 am    Post subject: Reply with quote

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
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
Goto page Previous  1, 2
Page 2 of 2

 
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