Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot boot
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
pre_pl
n00b
n00b


Joined: 04 Nov 2004
Posts: 6

PostPosted: Thu Nov 04, 2004 8:27 pm    Post subject: cannot boot Reply with quote

Hi

I got G4 gigabit eth with OS 9

Removed the IDE disk with OS9 and put SCSI with Adaptec controller.
Booted from livecd, done all steps in ppc handbook.
Rebooted system .

And my machine does not boot to Gentoo. Stops with 'question mark' flashing.....

I think something went wrong with yaboot ? Am i right ?

My partitions :
/dev/sda1 Partition map
/dev/sda2 NewWorld bootblock
/dev/sda3 Linux swap
/dev/sda4 Linux native
/dev/sda5 Linux native (root partition)

While compiling 2.6.9 kernel I changed options for kernel (changed root=/dev/sda2 to root=/dev/sda5)


My yaboot.conf :

boot=/dev/sda2
device=/pci@2000000/pci-bridge@d/pci9004,81783/@0:
partition=5
root=/dev/sda5
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.9
etc..
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Thu Nov 04, 2004 10:25 pm    Post subject: Reply with quote

When do you get the question mark? After seeing yaboot, or don't you get the yaboot screen at all? What happens when you boot into the open firmware boot loader by holding the "option" key? Did you rename your kernel to "kernel-2.6.9" from the default "vmlinux"? Why?
Back to top
View user's profile Send private message
pre_pl
n00b
n00b


Joined: 04 Nov 2004
Posts: 6

PostPosted: Fri Nov 05, 2004 9:32 am    Post subject: Reply with quote

1. The question mark is just after I rebooted machine
2. I believe mac stops just before yaboot screen.
3. Tried that, but with Ctrl+Option+O+F keys.... (thats what I found googling)
Am I supposed to use only Option key ? (Im macintosh newbie ;) )
4. Yes, I did. That was in the handbook. But I think its not a problem. The name of a kerenl i properly written in /etc/yaboot.conf. And I dont get the yaboot screen

thanks for reply :)
Back to top
View user's profile Send private message
pre_pl
n00b
n00b


Joined: 04 Nov 2004
Posts: 6

PostPosted: Fri Nov 05, 2004 5:45 pm    Post subject: Reply with quote

aaaa.....

I guess its not possible to boot using PC version of Adaptec ?
ehm....

;)
Back to top
View user's profile Send private message
JDCentral
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 112
Location: Fort Collins, CO

PostPosted: Sat Nov 06, 2004 6:37 am    Post subject: Reply with quote

iI'm no expert...

But I THINK that boot should be set to /dev/sda5.

Because that's where you're kernel is... the bootblock is where yaboot resides (I beleive).
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Nov 06, 2004 4:07 pm    Post subject: Reply with quote

The boot= line is correct (should point to the bootstrap partition). Are you sure that the device= is correct too? Try an ofpath on /dev/sda which should return the correct OF path to the device.

The option-booting somebody referred to means to hold Option during bootup. You will be presented with a list of bootable devices including (hopefully) the bootstrap partition. But then the question mark means that no bootable partitions exist, so option-booting will probably lead you nowhere (worth a try though).

To recap, you did install Gentoo on your SCSI so in principle you should be able to boot from it, but I don't really know what you did wrong (the device= line looks as a promising culprit to me but I am not sure). Here is one stupid question: you did run mkofboot to create the bootstrap partition and it went smoothly, right?
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
pre_pl
n00b
n00b


Joined: 04 Nov 2004
Posts: 6

PostPosted: Sat Nov 06, 2004 5:47 pm    Post subject: Reply with quote

yes, every step from handbook was done without any problems
device for booting is also correct

As i wrote, the problem was non-mac Adaptec scsi card (pulled off from PC machine)

When I used an IDE disk for boot and / partition gentoo booted finally

Now, I have a little different issue but hope to solve this ;)

thanks !
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