I have a kickstart for Rocky 8.4 and I have « autopart —nohome » as I don’t want a home partition I want to use rl-root for everything however while it creates no home partition it is capping the rl-root to 70gb. How do I get the kickstart to have rl-root use all available hdd space?
If you do an interactive install, then you have option to customize (what the installer allows), including “partitioning”. The choices you made will be in the directory /root/
of the installed system. You could use the partitioning statements of such file in your kickstart file.
Unfortunately that doesn’t give me the options. I don’t even see an option for disabling the home partition in the interactive install. I do see it giving me the option to specify a specific size for rl-root but I want to it automatically consume all available disk space. Any ideas?
Really? The user in this video https://www.youtube.com/watch?v=hxgxHBqESTE seems able to dictate partitioning quite freely.
We achieve it by setting the size to 1
and then using the --grow
argument. Works both on lvm
and standard partitions.
part /boot --fstype="xfs" --ondisk=sda --size=2048
part /dev/sda2 --fstype="lvmpv" --size=1 --ondisk=sda --grow
volgroup vg_root /dev/sda2
logvol /home --vgname=vg_root --size=10240 --name=lv_home
logvol /var --vgname=vg_root --size=10240 --name=lv_var
logvol / --vgname=vg_root --size=1 --name=lv_root --grow
part swap --ondisk=sdb --size=1 --grow