Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
maybe yaboot 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
dracula1985
Apprentice
Apprentice


Joined: 13 May 2005
Posts: 299
Location: Vicenza (Italy)

PostPosted: Thu Sep 15, 2005 8:46 am    Post subject: maybe yaboot problem Reply with quote

I installed gentoo on my new powerbook G4.
Everything goes right, but restarting the system only Mac OS X can start from yaboot menu, when I try to start linux it appears a white page and nothing else appens...

This is my yaboot.conf file:
Code:

boot=/dev/hda2
ofboot=/dev/hd:2
device=/pci@f4000000/ata-6@d/disk@0:
delay=5
timeout=30
defaultos=macosx
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
nonvram

image=/boot/kernel-2.6.12-gentoo-r10
  label=Linux
  root=/dev/hda4
  partition=4
  sysmap=/boot/System.map-2.6.12-gentoo-r10
  read-only

macosx=/dev/hda5


And this is the content of my /dev/hda (using mac-fdisk):
Code:

/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition Map
/dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 2097152 @ 1664 ( 1.0G) Linux swap
/dev/hda4 Apple_UNIX_SVR2 root 38103872 @ 2098816 ( 18.2G) Linux native
/dev/hda5 Apple_Boot eXternal booter 262144 @ 40202688 (128.0M) Unknown
/dev/hda6 Apple_HFSX Apple_HFSX_Untitled_1 37675312 @ ( 18.0G) Unknown
/dev/hda7 Apple_Free Extra 16 @ 78140144 (  8.0k) Free space


Someone can help me?
_________________
Marco

"Man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth." --Oscar Wilde.
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Thu Sep 15, 2005 4:18 pm    Post subject: Reply with quote

Hmm, have you sucessfully booted with this kernel before? If not, try booting something you know will work. If you have a tried and true kernel on your disk somewhere you can always type it in, e.g., boot /boot/vmlinux.works or boot /usr/src/linux/vmlinux or whatever.
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Thu Sep 15, 2005 7:59 pm    Post subject: Reply with quote

Also check that you have not made a typo when referencing your kernel file in /etc/yaboot.conf. If you make any chances to yaboot.conf don't forget to ybin -v to write the changes back to the bootpartition.
Back to top
View user's profile Send private message
dracula1985
Apprentice
Apprentice


Joined: 13 May 2005
Posts: 299
Location: Vicenza (Italy)

PostPosted: Fri Sep 16, 2005 8:55 am    Post subject: Reply with quote

No, I never booted my kernel before, it was my first installation on an ppc...
I also copyed the .config file posted by echo6 in another thread, but nothing changed...
Only Mac OS X can boot, linux make a grey screen and nothing else...
I always runned ybin -v when I made changes to yaboot.conf
_________________
Marco

"Man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth." --Oscar Wilde.
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Fri Sep 16, 2005 9:06 am    Post subject: Reply with quote

Here is mine for (works perfect on my powerbook with separate boot-partition [using ReiserFS]):

Code:
boot=/dev/hda2
ofboot=hd:2
device=hd:
partition=6
root=/dev/hda7
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/vmlinux
        label=Linux
        read-only
        initrd=/fbsplash-default-1280x854
        append="video=radeonfb:1280x854-32 splash=silent,theme:default,fadein quiet CONSOLE=/dev/tty1"

macosx=hd:4


Your "ofboot"-line seems a bit odd to me - try the same syntax as I have:

Code:
ofboot=hd:2


I once had a problem that ybin accepted a wrong ofboot-line happily, but the system was not able to boot.


Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
dracula1985
Apprentice
Apprentice


Joined: 13 May 2005
Posts: 299
Location: Vicenza (Italy)

PostPosted: Fri Sep 16, 2005 12:13 pm    Post subject: Reply with quote

HighOnBonsai wrote:
Here is mine for (works perfect on my powerbook with separate boot-partition [using ReiserFS]):

Code:
boot=/dev/hda2
ofboot=hd:2
device=hd:
partition=6
root=/dev/hda7
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/vmlinux
        label=Linux
        read-only
        initrd=/fbsplash-default-1280x854
        append="video=radeonfb:1280x854-32 splash=silent,theme:default,fadein quiet CONSOLE=/dev/tty1"

macosx=hd:4


Your "ofboot"-line seems a bit odd to me - try the same syntax as I have:

Code:
ofboot=hd:2


I once had a problem that ybin accepted a wrong ofboot-line happily, but the system was not able to boot.


Christopher


What a stupid error...
I put hd:2 in place of /dev/hd:2 and now linux boot correctly!
Thanks!
_________________
Marco

"Man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth." --Oscar Wilde.
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