Re: How to clear linux partitions but leave home untouched?
Chris Lumens <[email protected]>
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <[email protected]> |
> I have a kickstart file that I use to image our systems over PXE. > Currently, we use "clearpart --linux" at the top of the kickstart and > then "autopart" to create the partitions. > > Is there any combination of commands that is similar to this, but > doesn't delete the "home" partition? I'd like to be able to re-install > a new version of Fedora onto a system, but not delete the users' home > directories. clearpart does not allow anything that fine grained: https://fedoraproject.org/wiki/Anaconda/Kickstart#clearpart You'd have to clear things out yourself in a %pre script if you only want to clear a subset of partitions. - Chris