Experimenting with NVMe drive configuration. When I do a manual install with a 30GB drive, anaconda-ks.cfg shows the following:
ignoredisk --only-use=nvme0n1
Partition clearing information
clearpart --none --initlabel
Disk partitioning information
part /boot --fstype=“xfs” --ondisk=nvme0n1 --size=1024
part swap --fstype=“swap” --ondisk=nvme0n1 --size=2048
part / --fstype=“xfs” --ondisk=nvme0n1 --size=27647
However when I put those exact lines in my kickstart file the GUI chokes with: “Installation Destination: Kickstart insufficient”
But no way to find out why it is whining. Don’t have this problem using the old --ondisk=sda method
If I’m understanding correctly, since you reinstalled after an initial installation – are you re-using the same nvme0n1, or a cleared one? A typical problem I have is pre-existing partitions that don’t get erased even when I ask Anaconda to do so, and it looks like you’re explicitly asking it not to.
The text installer has a pane you can switch to using tmux commands that’ll show you logged errors from Blivet and such, which are generally more informative than the error given in the main pane. There’s also a pane with a shell you can go look at the log files yourself, though I don’t remember off of the top of my head where, /tmp maybe, or /mnt/sysimage something.
Actually, I’m creating a brand new VM from scratch each time. And ksvalidator doesn’t report any issue. The ONLY change to the kickstart file is changing sda to nvme.
i wouldn’t really expect /root/anaconda-ks.cfg to work 100% for new installs, you need to put some work into it usually, as they’re parsed and rearranged and all sorts. even if you do a kickstart install, the anaconda version ends up different to the original.
did you try my suggestion of not specifying the size of / ? i’m thinking the disk sizes aren’t identical even if they are virtual ssd vs nvme (probably 512b vs 4kb sector size issue).
For xfs I think you only have to modify “fstype”.
512 for /boot for me is sufficient, because I don’t have more than 3 kernels, but you can increase it as you need.