I am installing SLES9 SP1 on on p615 and OpenPower
using software raid. I
am using md0 for / (root) and md1 for LVM and usrlv, varlv, homelv etc. on
Do you have any ideas how to correct this during
without using a rescue system?
Try this one, was written for SLES 8 should still apply, works on SLES8:
Using root on RAID or LVM with SLES8 for PowerPC
pSeries systems need one small partition to load the bootloader
yaboot. This is typically a 4-6mb partition of the type
'41 PReP boot partition'.
The booloader itself must load the kernel from a supported filesystem.
It can not load the kernel from a LVM or RAID partition, so you need
yet another small partition which holds only the kernel.
iSeries systems can load the kernel from a slot, a '41 PReP boot
or via a stream file, so there is no extra partition required.
There is one thing to keep in mind with RAID level 1 and 5, see
Installation on pSeries is a three step process. In the first run,
configure the hard drives and install the software packages.
In the second run, boot into the installed system with the raid drivers
In the third run, update the kernel to get the fixed RAID drivers.
Example installation for RAID level 1 on pSeries
- boot from CD1 and start the installation
- go to the custom partitioner, create at least 4 partitions.
1 primary partition of type '41 PReP boot partition',
size 6mb, no mount point
1 primary partition of type '83 Linux',
size 100mb, mount point '/kernel', filesystem type ext2 or
do NOT use mount point '/boot' for this partition
2 primary partitions of type 'FD Linux RAID', no mount point
Note: iSeries systems do not need the '83 Linux' partition,
the kernel can be loaded from STMF or a kernel slot.
If booting from NWSTG is desired,
create an 30mb '41 PReP boot partition'
- In the 'Raid' pulldown menu, choose 'create RAID'.
- choose the RAID level 1
- add the 2 RAID partitions to the RAID setup
- in the next screen, assign the mount point '/' and format the
- leave the partitioner
- go to the boot configuration and make sure the bootloader
is written to the correct '41 PReP boot partition'.
- if everything looks ok, start the installation.
- YaST will now repartition your drives, create the filesystems and
install the packages
- after the package installation, a reboot is required.
- go to the SMS menu and set the drive that contains the
'41 PReP boot partition' as primary boot device.
- boot from CD1, and go to the first YaST screen
there is an option to do a fresh installation, and another one to boot
into an already installed system. Choose the latter.
There will be one entry with '/dev/md0', use this as the root
Finish the installation, configure the network etc.
- copy the updated kernel to the system and install it.
If you use RAID level 1 or 5, you MUST upgrade the kernel now:
You need at least kernel-ppc64-2.4.19-219.ppc.rpm or newer.
iSeries systems need kernel-iseries64-2.4.19-229.ppc.rpm or
Install the kernel with
rpm -Uvh kernel-ppc64-2.4.19-219.ppc.rpm
run 'mk_initrd' to recreate an initrd with the raid or lvm drivers.
On pSeries, copy the bootfile and the boot config manually:
run 'lilo' to recreate a socalled 'zImage.initrd', the bootfile.
It will create a file named '/boot/vmlinuz.initrd' and a boot config
Copy this file and the boot data to the /kernel partition:
cp -a /boot/vmlinuz.initrd /kernel/boot
cp -a /etc/yaboot.conf /kernel/etc/
yaboot will now find its config file on the readable filesystem, it
also find the kernel and load it.
On iSeries, write the kernel to slot B or generate a stream file.
kernel slot B is the default location, just run 'lilo',
it will write the kernel to slot B