I just want to share the 2 issues I found and had to sort out when installing Silverblue 32 in the same disk as Windows 10, just in case someone tries to do it as well.
I’ll assume you shrunk the Win10 partition to make room for Silverblue (there are nice articles online on how to do it), and created a booteable USB drive for Silverblue (can download the iso and use Fedora media writer).
Boot the USB drive and get to the partitioning step in anaconda, but chose custom.
In this case, I did the following:
- Created a 2 GB , ext4 partition with
/bootas mount point. (Silverblue needs a separated
- Created a 6 GB swap partition.
- Created a btrfs, encrypted partition with all remaining space with
/as mount point.
- Set the mounting point for the existing EFI partition to
Now, that should work just fine, but I hit 2 bugs.
1st) "Installer unable to configure the boot environment"
Apparently, If there’s an existing EFI folder, the installer will place the fedora configuration in
/boot/efi/EFI/EFI/fedora instead of
/boot/efi/EFI/fedora, then it will fail to generate the grub configuration as it will fail to locate the needed file.
This has been reported in this bug and there is already a pull request to fix it.
- Before performing the disk partitioning, switch to a tty
- Connect and mount a USB drive.
- Mount the drive and the EFI partition.
- Copy the contents of the EFI partition into the drive. If you only have Win10, you only need to copy the folder
- Unmount the EFI partition.
- Go back to the installer and when selecting the existing EFI partition with a mounting point of
/boot/efi, be sure to select the reformat checkbox
- Continue with the usual install process, but do not chose to restart the computer once it finish.
- Go back to a tty.
- The EFI partition should be already mounted so just find out where by running
- Copy the
Microsoftfolder (or any other entries you had before), back into the EFI partition.
- Go back to the installer and chose to restart.
- When the computer starts keep pressing the key
euntil you get to the GRUB configuration for the entry, then remove any
ethat got written in the first line.
- Go until the end of the kernel line (I usually go to the initramfs then one to the left)
- Add the parameter
rootflags=subvol=rootat the end (
rootis the default name for the subvolume when you do the partitioning during install unless you specified a different one).
Ctrl + Xto run that configuration and eventually get to the desktop.
- Now we want to make that change permanent, but in Silverblue, you cannot just edit
/etc/default/grubas it gets overwritten, so you need to use the following command instead.
rpm-ostree kargs --editor
rootflags=subvol=rootat the end of the configuration line. (Press
iif using vi editor)
- Save the changes and exit ( press
:xif using vi)
- Then you can run
systemctl rebootto restart and see the changes in effect.
Anyways, just felt like sharing as I don’t know the ETA for those 2 pulls to make it into the installer images.
I hope it is useful to someone.