Drew Weaver
2013-Apr-02 19:19 UTC
[CentOS] Kickstart just create /boot, recommended swap and / with whatever is left.
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
m.roth at 5-cent.us
2013-Apr-02 19:30 UTC
[CentOS] Kickstart just create /boot, recommended swap and / with whatever is left.
Drew Weaver wrote:> 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. >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
Bazy
2013-Apr-03 08:22 UTC
[CentOS] Kickstart just create /boot, recommended swap and / with whatever is left.
On 04/02/2013 10:19 PM, Drew Weaver wrote:> 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 > >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" --size=300 part swap --recommended part / --asprimary --fstype="ext4" --grow --size=1 //bazy