I want to set up a very specific disk configuration mixing software RAID (on partitions, not full disk), LVM and cache. Unfortunately, Anaconda/Blivet does not support all the subtleties I need.
My first trial was to 1) install a minimal CLI on very few partitions, 2) reboot to setup my other partitions/LVM/RAID, 3) restart installation now that Blivet sees the full picture.
Step 2 is done with a script launching parted, wipefs, mdadm and lvm.
My current trial is to try and simplify the whole process.
As soon as the install USB key has booted and shows the GUI screen, after choosing the keyboard model I switch to Ctrl+Alt+F2 screen (console session) and run the aforementioned script to configure the disks. As long as I remain in the console, configuration is apparently successful.
But when I return to Ctrl+Alt+F6 GUI screen and launch Installation destination, Blivet displays the disk configuration as it was on boot. I can’t see what was configured.
Is there a way to force Blivet to refresh/reread the actual configuration? Should some file (which one?) be erased on the disks (once a previous configuration has been installed)?
My system has 2 bare partitions, /boot and /boot/efi. Then I use LVM with ext4 for /. The final part is raid5 using mdadm on multiple HDDs. On that raid array I use LVM for /home.
I think that you could use the text login (or a terminal window from the gui desktop) as you have done to create the LVM and raid setup, then reboot the install media which should now be able to see the existing config. You would then use the storage editor in the installer to select the proper partitions for installation.
If you were to use the gui desktop and a terminal window instead of the ctrlaltf2 login the system should immediately see the new configs without rebooting.
Note that the new installer no longer uses blivet but instead is a web based anaconda with a new storage editor.
Which fedora are you installing; workstation, kde, server?
If you are willing to try the f45 beta installer it may allow you to use the partitions you have created. There is an option to add mount points to existing partitions in the installer.
My goal is to avoid this. As I mention in the first post, what works presently is:
boot the install media for a minimal CLI os
reboot into this OS to configure my (contorted) disk architecture
reboot the install media which sees now my intented set of partitions
What I want is to shorten the process from 3 steps to a single one. Anyway, I’ll try your 2-steps suggestion:
boot the install media and configure disks
reboot the install media
Since this is a highly customised installation, I proceed with Fedora Everything (net install).
Unfortunately, there is no net install variant in the beta. But we aren’t very far from public release, so, I can soon have a try with it. I don’t think I’ll have “important” data on this computer when F45 is released.
During my customisation “second stage” where I remove packages I don’t need and install the others, I must also compile systemd modules and other utilities which are not or no longer available as packages. Does Ansible also support compilation?