Re: Re-install Fedora without destroying user data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



suomi (<fedora@xxxxxxxx>) 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux