Passing additional options to mkfs

Klaus Steden klaus.steden at thomson.net
Mon Oct 24 21:19:29 UTC 2005


> On Mon, 24 Oct 2005, Shabazian, Chip wrote:
> >You can setup your partition as you want in %pre, then use:
> >part --noformat --onpart=/dev/specific_partition
> >in the command section
> 
> Sounds good. I was not sure whether "%pre" is executed before or 
> after kickstart doing its formating.
> 
> What is the recommended tools to create partition while in 
> "%pre"? sfdisk?
> 
'%pre' runs before anything else in Kickstart (i.e. before disks are
formatted), '%post' runs after everything else.

I think by now both fdisk and sfdisk are available in the bootstrap
environment.

hth,
Klaus




More information about the Kickstart-list mailing list