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

Partman recipe



Hello,

I am trying to do a partman recipe that makes:
a / partition of 1 Gb
a swap partition of 2 times the system ram
a /home partition that is the rest of the hdd

I would like to do the following algorithm:
 IF the /home partition has already been created before
   Don't format it
 ELSE
   Create it
   Format it

I tried using the method{ keep } option for partman recipes but it gives me
an error if the partition has not already been created before (if the hard
drive only has unformatted space for example).

Any idea how to do that ?

Thanks a lot for your help.
--
View this message in context: http://www.nabble.com/Partman-recipe-t1824269.html#a4975428
Sent from the debian-custom forum at Nabble.com.



Reply to: