Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot problems (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
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 2:49 pm    Post subject: yaboot problems (solved!) Reply with quote

ok, for some reason yaboot is only displaying:

Code:
Linux                       Linux.old


after i updated my yaboot.conf (i also ran ybin -v -b /dev/hda2) to update it or whatever...

i cannot get the above to change and when i actually did (about 10 reboots ago) it couldnt find my kernel for linux, maxosx booted ok tho.

this is my yaboot.conf
Code:

boot=/dev/hda2
device=/pci:i@f4000000/ata-6@d/disk0:
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/taboot/ofboot

image=/boot/kernel-2.6.16-gentoo-r9
label=linux
root=/dev/hda5
read-only

macosx=/dev/hda3
enablecdboot


dont know whats up....

thanks in advance
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)


Last edited by AliasXZ on Thu Jul 06, 2006 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 3:22 pm    Post subject: Reply with quote

Did ybin run correctly? What is on the bootstrap partition if you mount it? It should be an HFS filesystem with 3 files, ofboot.b, yaboot and yaboot.conf. You can try replacing the yaboot.conf yourself manually and see if that helps at all, but leave the other two files alone.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 3:26 pm    Post subject: Reply with quote

yeah ybin -v -b /dev/hda2 an fine, blessed it with penguin pee etc.


ok ill give it a go...
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 3:30 pm    Post subject: Reply with quote

that hasnt made any difference - wtf?!
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 3:36 pm    Post subject: Reply with quote

Are you sure it's booting the drive you think it's booting from? You don't have two bootstrap partitions, do you? (What does mac-fdisk -l say?) Have you tried booting manually from OF?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 3:52 pm    Post subject: Reply with quote

yeah to all that..

ok gentoo is booting now, but i thought when you add macos=whatever, enablecdboot etc it is supposed to add a menu to boot from cd, macos etc?

at least one of my os's works now, any ideas on the other?

cheers m8
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 5:20 pm    Post subject: Reply with quote

nah its no good...

[hd:2\\macosx: unknown or corrupt filesystem[/code]

wtf?!

i have just checked the partition through the disk utility off the macos dvd my yaboot.conf is in the first post....

help would greatly be appreciated

EDIT:

it only display gentoo when i press tab... when it should also display CD and macos... im really stuck with this
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 5:39 pm    Post subject: Reply with quote

No it shouldn't. The CD and MacOSX options are displayed before the boot: prompt. It will ask: press l for linux, c to boot from cd, etc. Try moving the macosx and enablecdboot options above the image statement.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 5:51 pm    Post subject: Reply with quote

ok this is my yaboot.conf at present with linux booting and with what you told me to do...

Code:
boot=/dev/hda2
device=hd:
delay=10
timeout=30

install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
macosx=/dev/hda3
enablecdboot

image=/boot/kernel-2.6.16-gentoo-r9
label=gentoo
partition=5
sysmap=/boot/system.map-2.6.16-gentoo-r9
root=/dev/hda5
read-only


does it look ok to you?
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 6:38 pm    Post subject: Reply with quote

Yes, try that.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 6:54 pm    Post subject: Reply with quote

i have.... macosx does not boot and ive just reinstalled it on hda3 because of unknown filesystem crap

im stuck


EDIT


im still getting unknown or corrupt filesystem on third partition, i know it works because macosx booted up after install..

wtf...
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 7:09 pm    Post subject: Reply with quote

balls to it.... im through messing about

ill just do a full gentoo install and forget macosx

its stupid i cant dual boot, anyone else managed it??
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 7:11 pm    Post subject: Reply with quote

Yes, it works perfectly fine here.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Wed Jul 05, 2006 7:20 pm    Post subject: Reply with quote

could you possibly post your yaboot.conf ?
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 05, 2006 7:23 pm    Post subject: Reply with quote

I don't see how it's useful, but here you go:

Code:

boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=5
timeout=10
delay=10
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
macosx=/dev/hda6

image=/boot/vanilla-2.6.17.1
        root=/dev/hda5
        label=vanilla-2.6.17.1
        read-only

_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Thu Jul 06, 2006 5:22 pm    Post subject: Reply with quote

ok get this

i did a clean install cos i got fed up, tried again, used similar to your config and it works now

go figure...

cheers matey
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Thu Jul 06, 2006 6:20 pm    Post subject: Reply with quote

just one more question:

u type x for macosx fine... but u type l for linux, i press l and it goes into another menu and i have to type linux to make it boot, it works finf etho, im just wondering why this is? and idea?
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 06, 2006 6:58 pm    Post subject: Reply with quote

This is on purpose. You can just press enter (or wait) to let it boot the default kernel, type in a label to boot a defined kernel or specify a kernel and arguments manually.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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