Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] yet another bootloader problem
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
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Tue Jun 07, 2005 10:49 am    Post subject: [solved] yet another bootloader problem Reply with quote

i had this before... on x86 with grub and thought these problems would never return but here we go again:

(with grub the problem was my stupidity, so i guess here its the same :oops: )

when booting i get this error:

Code:
VFS: Cannot open root device "hda3" or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Cannot open root device "hda3" or unknown-block(3,3)


the relevant parts from fstab:
Code:
/dev/hda4    /boot    ext2    noauto,noatime    1 2
/dev/hda3    /        ext3    noatime             0 1


the yaboot.conf created my yabootconfig looks like this: (without comments)
Code:
boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=4
root=/dev/hda3
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot/=/usr/lib/yaboot/ofbout

image=/kernel-2.6.10-gentoo-r6
    label=Linux
    read-only


yaboot finds a kernel so boot=, device= and partition= should be correct.
root= should be the partition that will be mounted at / under linux, is this correct.

i had originally comiled a kernel with genkernel (which i dont do often anymore) with booted fine. i then edited the generated kernelconfig and used it to recompile the kernel. i did then run ybin -v which succeded to.
i did compile this new kernel without a initrd so possibly yaboot is still looking for it? probably not since i havent set any such options. i even remerged yaboot to get a new ofboot.

hm

help!

thx


Last edited by glurps on Tue Jun 07, 2005 1:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Jun 07, 2005 10:55 am    Post subject: Reply with quote

Code:
boot=/dev/hda2

..except that your fstab claims it is hda4.
So which is it ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Tue Jun 07, 2005 11:16 am    Post subject: Reply with quote

i believe boot= should point to the bootstrap partition, when i changed that setting and run ybin i get an error that no bootstrap is installed on /dev/hda4.

i might be wrong but i think my setting is correct.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Jun 07, 2005 12:40 pm    Post subject: Reply with quote

Well certainly - I don't have a Mac to test it on ;-)
What is on the bootstrap partition - is this Mac-specific ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Tue Jun 07, 2005 1:22 pm    Post subject: Reply with quote

ufff. finally i solved the problem.. even by my own, juphhii.

okay here is what went wrong.

the problem wasnt with the yaboot configuration, i did simply missconfigure the kernel. as it is pointed out in the installation guide hfs is required. the option mentioned is not afailable but there are to that probably replace it one level down.

as for your question:

yes this bootstrap partition is ppc specific. and apparently it has hfs on it which i wasnt aware of when i droped support for it from the kernel.


everything good now :D
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