Kickstart Just Create /boot, Recommended Swap And / With Whatever Is Left.

Home » CentOS » Kickstart Just Create /boot, Recommended Swap And / With Whatever Is Left.
CentOS 4 Comments

Howdy,

The default partitioning scheme appears to be:

swap
/boot
/ small amount of space
/home remainder of space.

Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?

I figured there would be an autopart -atomic option but that doesn’t seem to exist.

Any advice?

Thanks,
-Drew

4 thoughts on - Kickstart Just Create /boot, Recommended Swap And / With Whatever Is Left.

  • Drew Weaver wrote:
    Where’d you get the kickstart?

    You can certainly set it up any way you want, though a large /home seems reasonable if you’ve only got one drive, unless you want /boot, swap, and
    /.

    Btw, the old received wisdom was that swap should be 2-2.5 times RAM; for some years now, though, it’s been just 2G, and leave it at that.

    mark

  • So you don’t want to use the part command? There you don’t have to tell which partition – this is optional.

    Hartmut

  • Hi Drew,

    Here is what I use, without lvm. I allocate a LV for each VM. This way I
    get the recommended swap size for the amount of memory I have and ‘/’
    will grow on all remaining disk space. If you have other disks that you want to use later go with “ignoredisk –only-use=sda”.

    # Disk partitioning information part /boot –asprimary –fstype=”ext4″ –size00
    part swap –recommended part / –asprimary –fstype=”ext4″ –grow –size=1

    //bazy

LEAVE A COMMENT