Thanks! I was more or less coming to the same conclusion. This is really helpful!

On 4/19/2004 4:10 PM, Timothy A. Chagnon wrote:
I don't think clearpart has the ability to just clear off single
partitions.  I think it will just clear an entire drive.  If you wanted
to keep sda1 but replace sda2 and sda3, your only option would be to use
sda2 and sda3 as is, using the part keyword in the kickstart file.

For example:

part /other --onpart=/dev/sda1 --noformat
part swap --onpart=/dev/sda2
part / --onpart=/dev/sda3

In this case you would want to leave clearpart out.

For more detailed information on kickstart
Google: kickstart-docs
That'll give you the docs from anaconda.

Be wary though. kickstart is notoriously finicky.

-Tim

On Mon, 2004-04-19 at 14:51, Janyne Kizer wrote:

I was wondering if any of you have used the kickstart option clearpart to drop specific partitions? I want to drop sda2 and sda3 but keep the rest. From what I can tell, this should have worked but I get a fatal anaconda error when I try it.

clearpart --linux --drives=sda


--


Janyne Kizer
Systems Programmer Administrator
NC State University, College of Agriculture & Life Sciences
Extension Information Technology
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to