Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noob Yabootconfig ERROR [solved]...
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
toszter
n00b
n00b


Joined: 24 Jun 2004
Posts: 11

PostPosted: Tue Jun 29, 2004 6:48 pm    Post subject: Noob Yabootconfig ERROR [solved]... Reply with quote

Preface: I am at my wits end... no one had any ideas for me last time around. This time i am using the stage 3 installation and it still generates this error when i run yabootconfig.

All who know much more than I: Please offer your aid...
I cannot, not for the life of me, get yabootconfig to create a functional yaboot.conf file. [see code below]

System info:
G4 ppc (not the silver variety)
512 mb RAM
2 - IBM deskstar 40GB HD's [Gentoo on the master drive]

Code:

# yabootconfig --debug
yabootconfig: DEBUG: ROOT=/dev/hda4
yabootconfig: DEBUG: mac-fdisk is: mac-fdisk
yabootconfig: DEBUG: BOOT=/dev/hda2
...
Install yaboot bootstrap on /dev/hda2 to boot Linux from /dev/hda4 [Yes]
Creating a simple /etc/yaboot.conf...
yabootconfig: DEBUG: KERNEL=/boot/vmlinux
yabootconfig: DEBUG: KERNEL=/boot/vmlinux
KERNDEV=
KERNDIR=
LINKDEV=
PARTITION=
KERNELDISK=
yabootconfig: Could not determine necessary information, aborting...
yabootconfig: Are you using chroot yabootconfig instead of yabootconfig --chroot ?


mac-fdisk output:

Code:

/dev/hda1      Apple_partition_map  Apple        31.5k
/dev/hda2          Apple_Bootstrap  bootstrap    800.0k
/dev/hda3          Apple_UNIX_SVR2  swap         2.0G
/dev/hda4          Apple_UNIX-SVR2  root         10.0G
/dev/hda5          Apple_UNIX_SVR2  home         7.2G
/dev/hda6               Apple_Free Extra         128M
/dev/hda7                Apple_HFS Apple_HFS...  19.0G
/dev/hda8               Apple_Free               8.0k



fstab (abridged):

Code:

/dev/hdb3          none         swap           sw            0 0
/dev/hdb4          /            ext3           noatime       0 1
/dev/hdb5          /home        ext3           noatime       0 2
/dev/cdroms...

none               /proc        proc           defaults      0 0
none               /dev/shm     tmpfs          defaults      0 0


anything else you need to figure it out, I will provide gladly, of course...many thanks to all in advance!
_________________
-~ toszter ~-


Last edited by toszter on Fri Jul 02, 2004 7:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
erncic
n00b
n00b


Joined: 29 Jun 2004
Posts: 13
Location: Denver, CO

PostPosted: Tue Jun 29, 2004 10:47 pm    Post subject: Reply with quote

Did you add ofboot=hd:2 to your yaboot.conf?
I needed to manually add it to get my G4 PPC system to boot correctly.
My yaboot.conf looks like :

Code:

boot=/dev/hda2
device=hd:
ofboot=hd:2
root=/dev/hda4
timeout=50
delay=20
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.5-gentoo-r1
        partition=4
        label=Linux
        read-only
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Wed Jun 30, 2004 12:05 am    Post subject: Reply with quote

Did you exit the installation chroot environment and run yabootconfig with its chroot option (whatever it is) set to /mnt/gentoo/ ?

Your outputs are a little confusing, in terms of what's on hda and what's on hdb - you may want to double check your yaboot.conf in any case.
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
toszter
n00b
n00b


Joined: 24 Jun 2004
Posts: 11

PostPosted: Wed Jun 30, 2004 4:51 pm    Post subject: thank YOU! Reply with quote

You got it, amigo...i manually configured yaboot to include the ofboot line. Now it boots into Gentoo. I have some details to work out with respect to user accts and its on to installing the desktop environment...

Thanks for all your help. I love Gentoo.

B
_________________
-~ toszter ~-
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