Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yaboot on IBM RS6000 44P Model 270 (PPC64)
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
dustpuppy031
n00b
n00b


Joined: 30 Nov 2005
Posts: 7

PostPosted: Wed Nov 30, 2005 6:03 pm    Post subject: Yaboot on IBM RS6000 44P Model 270 (PPC64) Reply with quote

I've followed the Gentoo install guide right up to the point where the bootloader is installed.

There's a special method to installing the bootloader for IBM machines, which I've followed.

I've done the part where it says
Code:
# dd if=/dev/sda1 count=10 | grep ELF


to verify the installation of the bootloader. This is OK.

Still, upon rebooting the machine it comes back with

Code:
PReP-BOOT : Unable to load PReP image.


In the firmware of the machine I set the first disk as the boot device (instead of
booting from CDROM).

I'm overlooking something here I think, due to not being familiar with this kind of hardware.
Can somebody please point me in the right direction ?


This is my yaboot.conf:
Code:

boot=/dev/sda1
partition=3
root=/dev/sda3
timeout=30
install=/usr/lib/yaboot/yaboot

image=/boot/kernel-2.6.12-gentoo-r10
        label=Linux
        read-only


This is my partition layout for the boot disk:
Code:

Disk /dev/sda: 18.2 GB, 18200739840 bytes
256 heads, 63 sectors/track, 2204 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           2       16096+  41  PPC PReP Boot
/dev/sda2               3         127     1008000   82  Linux swap / Solaris
/dev/sda3             128        2204    16748928   83  Linux


Thanks for any pointers!
Back to top
View user's profile Send private message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Sat Dec 03, 2005 4:00 pm    Post subject: Reply with quote

Hi,

I don't use yaboot on my rs6k (F50), instead I dd a zImage to the prep partition and set the following from the OB prompt.

dd if=zImage of=/dev/sda1

at OB


setenv boot-device disk:1
setenv boot-file root=/dev/sda3
_________________
If all else fails RTFM.
Back to top
View user's profile Send private message
dustpuppy031
n00b
n00b


Joined: 30 Nov 2005
Posts: 7

PostPosted: Mon Dec 05, 2005 5:17 pm    Post subject: Reply with quote

I tried that, but it fails with the same error.

I booted from LiveCD, chroot'ed and then did:

Code:
cd /usr/src/linux
dd if=vmlinux.strip of=/dev/sda1


Then I rebooted, giving the same commands as you did in OB.

Still no luck. :(


Last edited by dustpuppy031 on Tue Dec 06, 2005 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Mon Dec 05, 2005 7:08 pm    Post subject: Reply with quote

you should be dd'ing to your prep partition sda1 ?

and your kernel should be in the following path

/usr/src/linux/arch/ppc64/boot/zImage !

hope this helps..
_________________
If all else fails RTFM.
Back to top
View user's profile Send private message
dustpuppy031
n00b
n00b


Joined: 30 Nov 2005
Posts: 7

PostPosted: Tue Dec 06, 2005 5:29 pm    Post subject: Reply with quote

gm7uac wrote:
you should be dd'ing to your prep partition sda1 ?


Sorry, typo. I did dd sda1

Quote:

and your kernel should be in the following path
/usr/src/linux/arch/ppc64/boot/zImage !

hope this helps..


Ah, found the right kernel there.

It still fails with the same error though.

Code:
PReP-BOOT : Unable to load PReP image.
Back to top
View user's profile Send private message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Tue Dec 06, 2005 6:57 pm    Post subject: Reply with quote

Hi,

I take it you can boot from the live-cd ?

if you can dd that onto the prep partition, that way you will know if it's a kernel
problem or a boot config problem.
_________________
If all else fails RTFM.
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