help with kickstart partitioning

Colin Watson cjwatson at ubuntu.com
Wed Jun 13 21:44:02 BST 2007


On Wed, Jun 13, 2007 at 03:06:29PM -0400, Rohit Kumar Mehta wrote:
> Rohit Kumar Mehta wrote:
> > Hi guys, I am trying to set up a 100% hands-free kickstart installation.
> > I can't seem to get past the disk partitioning without the user being 
> > prompted for questions.
> > 
> > My ks.cfg looks like this:
> > 
> > #Partition clearing information
> > clearpart --all --initlabel
> > #Disk partitioning information
> > part swap --recommended
> > part / --fstype ext3 --size 1 --grow
> > 
> > However, when it gets to that section of the file, I get an error window
> > "You have not selected any partitions for use as swap space...." and 
> > prompt to return to the partioning menu.
> > 
> > I've been playing with this for a while, but cannot figure out how to 
> > bypass this screen.  Can anyone help?
> 
> Please scratch this question.  Apparently Ubuntu kickstart doesn't 
> support "part swap --recommended".  Putting in a "part swap --size" 
> seems to fix this problem.

It looks like I missed 'part swap --recommended' in the Anaconda
documentation when I was implementing Kickstart in Ubuntu. Thanks for
the note! It's quite easy, so I've implemented it now for Gutsy.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Ubuntu-installer mailing list