Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot problem Dual USB iBook
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
whosgothecrack
n00b
n00b


Joined: 12 Jun 2002
Posts: 8
Location: gnvl, fl

PostPosted: Thu Jun 13, 2002 5:20 am    Post subject: yaboot problem Dual USB iBook Reply with quote

i have fully installed gentoo linux 1.2 for the PPC. i am having trouble booting...when i restart my computer i don't get any decision about which os to install...i have macosx and gentoo linux on the same hard drive. my hard drive print out from mac-fdisk looks like this:

/dev/hda1 Partition Map
/dev/hda2 Driver 4.3
/dev/hda3 Driver 4.3
/dev/hda4 NewWorld Block (bootstrap)
/dev/hda5 Unknown
/dev/hda6 Unknown
/dev/hda7 Unknown
/dev/hda8 Unknown
/dev/hda9 Unknown
/dev/hda10 HFS
/dev/hda11 HFS
/dev/hda12 Linux native (boot)
/dev/hda13 Linux swap
/dev/hda14 Linux native (root)
/dev/hda15 Free space


my yaboot.conf has these values:

boot=/dev/hda4
device=hd:
partition=14

root=/dev/hda14
delay=10
defaultos=macosx
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux
label=Linux
read-only

macosx=/dev/hda10
enablecdboot
enableofboot


any ideas on why i'm not booting? and how do i get back into my edit my yaboot.conf from booting the cd? thanks for your help.
axel.
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 13, 2002 12:44 pm    Post subject: Reply with quote

hey.. I don't know much about macs.. but here's a few things you could check out.

did you make a /boot partition ? if so, is it sitting b4 about 8Gb ? (the 1024 cylinder boundary)

there may be an issue with macos X and linux - seeing they are both "unix" like distros.

to re-access your hdds, boot off the cd, make the /mnt/gentoo etc partitions (follow from code listing 13 & 14), mount your partitions (you might wanna setup your network first)

then you can access all your partitions.. check fdisk and if you can , print it on screen and post a copy of what it says.

did you compile support for your mainboard ide / scsi subsystem ?

did you install grub / lilo ?

hope this may help somehow :)
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 13, 2002 12:56 pm    Post subject: Reply with quote

moving this to the Gentoo PPC forum. You'll likely get some better responses there.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Thu Jun 13, 2002 3:03 pm    Post subject: Reply with quote

The proble lies in the fact that ybin cannot update your NVRAM (pram) fron the install ISO. You will have to boot manually into Open Firmware and set the boot device to whatever your bootsstrap partitioin is.

In this case here's the procedure:

boot holding down O + F (for Open Firmware ;)

at the prompt type the following:

setenv boot-device hd:4,\\yaboot
boot

that should get you working, if it does not and you can't boot you can zap the pram by holding down P + R at boot to get back to a normal boot. Hope this helps, and this should be fixed with next ISO release, until then I will make sure it gets documented in the PPC Quickstart guide

Gerk
Back to top
View user's profile Send private message
whosgothecrack
n00b
n00b


Joined: 12 Jun 2002
Posts: 8
Location: gnvl, fl

PostPosted: Thu Jun 13, 2002 7:59 pm    Post subject: still having boot problems... Reply with quote

ok...so i think i've got everything sorted out...but now when i type

mkofboot -v

i get the error message:

mkofboot: /usr/local/lib/yaboot/yaboot: No such file or directory
mkofboot: /usr/local/lib/yaboot/ofboot: No such file or directory
mkofboot: /dev/nvram: No such file or directory
mkofboot: Warning: nvram will not be updated

????? what do i do?
i tried booting into the open firmware and typing in the commands someone suggested above, but nothing happened...when i booted i just got a folder w/ a question mark on it and then it booted into osx. any ideas? thanks. axel.
Back to top
View user's profile Send private message
rt_clik
n00b
n00b


Joined: 18 Jun 2002
Posts: 70
Location: Rohnert Park, California, US

PostPosted: Tue Jun 18, 2002 3:04 am    Post subject: Re: yaboot problem Dual USB iBook Reply with quote

Change your "partition" line to:

partition=12

That's where your /boot lives if I'm reading your partition table correctly, and if it can't find your kernel image, it simply won't boot.

Cheers.

whosgothecrack wrote:
i have fully installed gentoo linux 1.2 for the PPC. i am having trouble booting...when i restart my computer i don't get any decision about which os to install...i have macosx and gentoo linux on the same hard drive. my hard drive print out from mac-fdisk looks like this:

/dev/hda1 Partition Map
/dev/hda2 Driver 4.3
/dev/hda3 Driver 4.3
/dev/hda4 NewWorld Block (bootstrap)
/dev/hda5 Unknown
/dev/hda6 Unknown
/dev/hda7 Unknown
/dev/hda8 Unknown
/dev/hda9 Unknown
/dev/hda10 HFS
/dev/hda11 HFS
/dev/hda12 Linux native (boot)
/dev/hda13 Linux swap
/dev/hda14 Linux native (root)
/dev/hda15 Free space


my yaboot.conf has these values:

boot=/dev/hda4
device=hd:
partition=14

root=/dev/hda14
delay=10
defaultos=macosx
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux
label=Linux
read-only

macosx=/dev/hda10
enablecdboot
enableofboot



any ideas on why i'm not booting? and how do i get back into my edit my yaboot.conf from booting the cd? thanks for your help.
axel.
Back to top
View user's profile Send private message
dingo
n00b
n00b


Joined: 18 Aug 2002
Posts: 58

PostPosted: Mon Dec 23, 2002 5:57 pm    Post subject: Reply with quote

> at the prompt type the following:

> setenv boot-device hd:4,\\yaboot
> boot

0 > setenv boot-device hd:2,\\yaboot ok
0 > boot load-size=248c4 ad;er32=985415f

Loading ELF

CLAIM failed
ok
0 >


:(, I was hoping that would help... otherwise, if I use yaboot as I installed it:

boot: Linux
Please wait, loaidng kernel...
Elf32 kernel loaded...
opening display /pci@f00000000/ATY,RageM3pParent@10/ATY,RageM3pA... ok
copying OF device tree...done
Initializing fake screen: ATY,RageM3pA
Calling quiesce ...
returning 0x014000000 from prom_init

DEFAULT CATCH!, code=300 at %SRR0: 01403ab0 %SRR1: 0-0083030

Apple Powerbook3,1 4.1.8f5 BootROM built on 03/21/01 at 11:49:53
Copyright 1994-2001 Apple Computer, Inc.
All Rights Reserved.

Welcome to open Firmware, the system time and date is: etc etc

To continue botting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.

ok
0 >

I looked into the kernel code and i found
/* If pmac, then use quiesce call. We can't rely on prom_version
* since some old iMacs appear to have an incorrect /openprom/model
* entry in the device tree
*/
if (!chrp) {
prom_print(RELOC("Calling quiesce ...\n"));
call_prom(RELOC("quiesce"), 0, 0);
}

What I thought at first is the kernel tries to detect my open firmware version for the proper sys calls, and it either finds the wrong one, or the inital call it does actually boots my open firmware, but after seeing:

Loading ELF

CLAIM failed

I'm just plain stumped. Most of the info is above, ext3 partition, yes i mkofboot'd, this powerbook has been running gentoo for nearly a year but was a mac osx/gentoo split, now its full gentoo, 2 is the boot, 3 is the swap, 4 is /. kernel 2.4.19.-latest revision (was having a lot of trouble compiling 2.4.20)

I'll continue to try the benh kernel later. Anyway any suggestions greatly apreciated.
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Mon Dec 23, 2002 6:12 pm    Post subject: Reply with quote

suggestion:

emerge -u yaboot to latest available, then type

yabootconfig

It should detect all your stuff and then setup you bootloader, inlcuding dual/triple boot configurations.

I updated this just a couple days ago to include this tool. Also the /usr/local is _very_ old yaboot.conf examples. I urge you to always update to the latest version available before looking for help as most times these things have been addressed.

For teh default catch, you likely have an improperly built kernel. Again for kernel configs the best thing to do is to take ALL the default options (with the aside of what is mentioned in the install guide) , and the DON"T turn off or change things unless you absolutel know what it does and what repercussions are.
Back to top
View user's profile Send private message
Sarahjeffs
n00b
n00b


Joined: 04 Oct 2003
Posts: 2

PostPosted: Sat Oct 04, 2003 1:45 pm    Post subject: Me too! Reply with quote

Hi Gerk you seem to know what you're talking about!!
I have the same problem on my powermac G4 New to macs so assuming Firmware is some kind of dos!?
I have OSX 9 and 10 on my machine and have been switching between the two with no problem up to now, I had decided to stay in 9 until I got to grips with the wonderful world of macs, but I wanted to watch a dvd in 10 as I think it has a better player! Went to change the startup disk to 10 in the normal way and hello white screen with the following!

DEFAULT CATCH!, code=300 at %SPR0: 01cab4 %SRR1: 00003030

build info
date info
Mac-boot
shut-down etc

ok
0>

shit. and I have so much work to do!
Tried reset-nvram
on advise from a friend but it comes back with unknown word!! can this be right can you help?
Desperate.
8O
_________________
Sarah
Back to top
View user's profile Send private message
Brennos
n00b
n00b


Joined: 25 Jun 2004
Posts: 43
Location: Belgium

PostPosted: Fri Jun 25, 2004 9:30 pm    Post subject: Reply with quote

Gerk,
I tried what you said. First I went into OF and entered setenv boot-device: hd:9,//yaboot, then boot. That gave me an error (I copy it completely) that said: DO-QUIESCE ...
Next I tried to start up with P and R pressed in while booting. Now the only thing I get is a white screen.
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