suomi (<fed...@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.)
-- 
        Dave Close
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to