Thus spake A Righi ([EMAIL PROTECTED]): >OK, I've resolved my troubles with mdadm-based RAID and suse10 using the >attached post-install script. Maybe we should put it somewhere like on >wiki and include in doc/examples/post-install, what do you think?
Yes and yes. >Moreover this script should be useful also to migrate from non-RAID (or >non-LVM) images into RAID or LVM based installations. > >Cheers, >-Andrea >#!/bin/sh >grub_conf="/boot/grub/menu.lst" ># scan for volume groups >vgscan --mknodes >root_dev=`cat /proc/mounts | grep " \/ \| \/a " | tail -1 | cut -d' ' -f1` ># get INITRD_MODULES from system configuration >. /etc/sysconfig/kernel >modules="$INITRD_MODULES" ># create the initrd >/sbin/mkinitrd -m "linear raid0 raid1 raid5 raid6 raid10 $INITRD_MODULES" -d >$root_dev ># fix root in grub.conf >sed -i "s:root=\S*:root=${root_dev}:" $grub_conf -- Brian Elliott Finley Mobile: 630.631.6621 _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel