how to define partition section in a kickstart file

Tom H tomh0665 at gmail.com
Sun Oct 21 10:34:54 UTC 2012


On Sun, 21 Oct 2012 05:26:23 -0400, Tom H <tomh0665 at gmail.com> wrote:
> On Sun, Oct 21, 2012 at 12:24 AM, john Sanabria  
> <john.sanabria at gmail.com> wrote:
>>
>> I'm playing with unattended server installations but the hard disk
>> partitioning stage remains interactive. What lines I should write in the
>> kickstart file in order to have a full non-interactive server  
>> installation.
>>
>> I assume that the trick must be done with autopart and partition  
>> commands
>> but it does not work
>>
>> clearpart --drives=hda --all --initlabel
>> #Autopartition
>> #autopart
>> #partition swap --recommended --onpart=hda5
>> #partition / --fstype ext4 --grow --onpart=hda1
>>
>> When I comment out lines from autopart and afterward, an error message
>> arises
>>
>> "No root filesystem"
>> "No root filesystem is defined"
>
> 1) Are you sure that "autopart" is implemented in kickseed? (There are
> things that haven't been ported.)
>
> 2) It should be sda and not hda in clearpart and part; since 8.04, if  
> not 7.10.

One more thing:

You cannot use "clearpart ..." and then use "--onpart="





More information about the ubuntu-users mailing list