[CentOS] deleting selected partition in kickstart

Matt Hyclak hyclak at math.ohiou.edu
Thu Sep 22 14:02:24 UTC 2005

On Thu, Sep 22, 2005 at 09:48:18AM -0400, Tony Schreiner enlightened us:
> I am trying kickstart for the first time, and am running into  
> something I don't see described in the documentation.
> Somewhere between me and my purchasing department and Dell, my order  
> for 6 PE 1850s  was changed from "no installed OS" to WIndows. So I  
> received the boxes with Windows pre-installed.
> I would like to delete the NTFS partition with Windows, but keep the  
> Dell Utility partition on the first partition. In the documentation  
> for kickstart, I see options for
> deleting linux partitions
> deleting all partitions
> but not one for deleting one or more specific partitions.

Correct. In this case, you can either delete by hand, or run a script in the
%pre section of your kickstart file, e.g.

parted rm 2


Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

More information about the CentOS mailing list