suomi (fedora@ayni.com) wrote:
as far as possible I do the installation(s) using a kickstart file. It is not possible, when you install from a Live CD. My disk-partitionning in the kickstasrt file looks like:
# System bootloader configuration bootloader --location=mbr --boot-drive=nvme0n1 # Partition clearing information clearpart --none --initlabel # Disk partitioning information part swap --fstype="swap" --onpart=nvme0n1p3 part /home --fstype="ext4" --onpart=nvme0n1p4 --noformat part / --fstype="ext4" --onpart=nvme0n1p2 part /boot/efi --fstype="vfat" --onpart=nvme0n1p1
I responded:
Thank you. That is precisely the example I needed. This really should be in some kind of help file for Fedora.
Well, not so fast. suomi's example did not involve LVM but LVM is the default for Fedora. Trying to follow the example and adjusting for LVM doesn't work for me. With these kickstart commands,
bootloader --driveorder=sda --location=mbr --boot-drive=sda clearpart --none --initlabel part /boot --fstype=ext4 --size=500 --onpart=sda part pv.01 --noformat --onpart=sda volgroup vg_test1 pv.01 --noformat logvol /home --noformat --name=lv_home --vgname=vg_test1 logvol / --useexisting --name=lv_root --vgname=vg_test1 logvol swap --useexisting --name=lv_swap --vgname=vg_test1
installation fails with the message, "Members may not be specified for preexisting volgroup".
I'm not sure to what "members" refers in that message. If I change the volgroup line to omit "pv.01", installation fails saying, 'Volume group "vg_test1" given in volgroup command does not exist.' If "members" means the logvol lines, then where can I specify noformat for /home? (And checking /dev/mapper via TTY2 shows that the volgroup does exist, though it wasn't activated.)