On Tue, Jun 8, 2010 at 10:31 AM, Peter Pointner
Hello,
I am trying (on openSuse 11.2) to create a rules file and classes to create a software raid if the pc has 2 hard disks. My first try is to use disksize rules for /dev/sda and /dev/sdb. This failed, because I booted from USB stick, and the first SATA disk became /dev/sda, the USB stick became /dev/sdb, and the second SATA disk became /dev/sdc.
Probably I will find a way to find out if there are 2 disks, but what to use for the "device" attribute of the "partitioning" section? Is there a generic way to specify the first, second, ... harddisk without getting disturbed by USB sticks?
I took a more eclectic approach, by running a shell script to determine the number of disks and manually merging a corresponding partitioning scheme XML to the main profile. But I'd also be interested in knowing what is the "official" way to do it with a rules/classes file. -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org