Not sure if you got your answer or not yet. Below is our kickstart
for preserving a previous installation partition:
part /boot --fstype ext3 --asprimary --size 128 --onpart sda1
part swap --asprimary --size 1000 --onpart sda3
part / --fstype ext3 --asprimary --size 10000 --onpart sda2
part /home --fstype ext3 --size 40000 --onpart
sda5 --noformat
part /scratch --fstype ext3 --size 1 --grow --onpart
sda6 --noformat
You need to have each partition specified or the installation will
fail every time. Also do NOT have the following lines in the kickstart:
zerombr yes
clearpart --all --initlabel
Thank you,
Ryan
On Dec 12, 2005, at 3:24 PM, Tedman Eng wrote:
Try adding the --noformat in addition to the --onpart
-----Original Message-----
From: Stephen Mah [mailto:smah@xxxxxxxxxx]
Sent: Monday, December 12, 2005 12:33 PM
To: Discussion list about Kickstart
Subject: partition syntax
what's the partitioning syntax to use an existing partition,
say a swap
partition from redhat 7.2 and reformat it for rhel3?
I essentially want to use the same swap partition for both
7.2 and el3.
I tried part swap --onpart /dev/sda2
I'm getting unable to open /dev/sda2 for the use of "none"
-steve
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list