[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

kickstart device/partition question



Hi,

I perform kickstart based installation for a RH7.2 (actually RHAS2.1) system.
I would like to know if I can specify ks.cfg the exact device and partition to create.


Currently I do -
-----------------
clearpart --all
part /boot --fstype ext3 --size 256 --ondisk sda
part  swap --size 1000 --grow --maxsize 1028 --ondisk sda
part / --fstype ext3 --size 1000 --ondisk sda
part /usr --fstype ext3 --size 1000 --grow --maxsize 4000 --ondisk sda
.....
-----------------

My problem is that from system to system installation, the "device - partition"
combination varies. I would like my "/" to be always on "/dev/sda1" and
"/usr" always on /dev/sda2 etc.


Since I start from scratch, I am not able to use
"--onpart <part> or --usepart <part>" option.

Is there a way to achieve the creation of device before creation of partition ?

Or, is there any other way I can achieve my objective ?

thanks,

-Depankar




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]