Hi,
Is there a way to put a script in %pre section
which tells what hard disk is present, like hda, hdb, sda, md
etc...
and then partiton based on what the hard disk
is.
for eg if it was a ide hard disk I would partiton
it like this
clearpart --all --initlabel
part swap --size 200 --onpart hda1 part /boot --size 100 --fstype ext3 --onpart hda2 part / --size 3000 --fstype ext3 --onpart hda3 for scsi I would be able to specify --onpart sda1
etc...
RedHat has given an example for how to set up if
there is an ide hdd available at
How do I detect if the hard disk is a ide / scsi
?
Regards,
Keith -------- "The linuX Files -- The Source is Out There." -------- |