I wrote:

> 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".

Found my error. The following commands work:

 bootloader --driveorder=sda --location=mbr --boot-drive=sda
 clearpart --none --initlabel
 part /boot --fstype=ext4 --size=500 --onpart=sda1
 part pv.01 --noformat --onpart=sda2
 volgroup vg_test1 --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

Basically, onpart needed the partition number, not just the disk name. I
also omitted pv.01 from volgroup but not sure if that was necessary.
-- 
        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