Re: How to clear linux partitions but leave home untouched?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux