However, the kernel can read a Linux filesystem, so you could do as
indicated below (if you not want to use yaboot).

Depending upon the particular system 'scsi/[EMAIL PROTECTED]' may not work. You
will then have to use the absolute OF path. It did; however, work on the
43P-150.

As you will see, yaboot is a lot simpler, but if you really do not want to
use it, then the recipe below should work.

- Copy kernel to PREP 41 partition:

dd if=/boot/vmlinuz of=/dev/sda1 (or wherever you PREP 41 partition may be)

- In order to boot once from OF:
0> boot scsi/[EMAIL PROTECTED] root=/dev/sda2 (x = SCSI ID; sda2 was root 
partition in
my case)

- In order to have OF remember where to boot from:
0> setenv auto-boot true
0> setenv boot-device scsi/[EMAIL PROTECTED] (x = SCSI ID)
0> setenv boot-file root=/dev/sda2 (sda2 was root partition in my case)
0> setenv boot-command boot
0> reset-all


Rolf

--
Rolf Brudeseth
pSeries System Engineering & Integration, IBM Enterprise Systems Group
Austin, TX


                                                                                
                                                       
                      Peter Bergner                                             
                                                       
                      <[EMAIL PROTECTED]        To:       John F 
Davis/Raleigh/[EMAIL PROTECTED]                                                
                      g>                       cc:       
debian-powerpc@lists.debian.org                                               
                                               Subject:  Re: booting from hard 
disk of rs6000 43p 150                                  
                      02/19/2003 02:34                                          
                                                       
                      PM                                                        
                                                       
                                                                                
                                                       
                                                                                
                                                       




John F Davis wrote
> Try 1:
> setenv boot-file /zImage.chrp-rs6k
> setenv boot-device /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]
> boot hd

OpenFirmware cannot read Linux filesystems, so this will _never_ work.
Your best bet is to install the Yaboot bootloader into a PReP Boot
partition
(type 0x43) and have that load a kernel from you filesystem.

     http://www.penguinppc.org/projets/yaboot/

The quick/dirty answer is to compile yaboot and execute the "addnote"
binary
that got built on the "second/yaboot" binary.  Then "dd" the yaboot binary
to your PReP Boot partition (not larger than 8M!), edit your
/etc/yaboot.conf
file to point to your kernel and you should be good to go.  Read the
README.rs6000
included with the yaboot source for more detailed info.

Note that yaboot cannot read extended partitions, so don't try and boot a
kernel
out of one.

Peter



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]




Reply via email to