From Fedora Project Wiki
(limitations)
(remove testcase?)
Line 1: Line 1:
{{QA/Test_Case
|description= This test case creates a dual boot system with two Fedoras of different release versions, using btrfs snapshots, works as expected
|description= This test case creates a dual boot system with two Fedoras of different release versions, using btrfs snapshots, works as expected
|setup=
|setup=
Line 16: Line 15:
|limitations=
|limitations=
# /boot is only 1GiB by default, so this is the limiting factor right now, how many Fedoras you can have installed at one time. Two is safe. Three is iffy unless (a) configure the test Fedora instances' dnf.conf such that the kernel is excluded from updates; (b) consider deleting the "rescue" initramfs and kernel for the test instances, also removing `dracut-config-rescue-056-1.fc36.x86_64` from them so these files aren't recreated; or (c) put /boot on a Btrfs subvolume.
# /boot is only 1GiB by default, so this is the limiting factor right now, how many Fedoras you can have installed at one time. Two is safe. Three is iffy unless (a) configure the test Fedora instances' dnf.conf such that the kernel is excluded from updates; (b) consider deleting the "rescue" initramfs and kernel for the test instances, also removing `dracut-config-rescue-056-1.fc36.x86_64` from them so these files aren't recreated; or (c) put /boot on a Btrfs subvolume.
}}

Revision as of 17:53, 6 August 2022

|description= This test case creates a dual boot system with two Fedoras of different release versions, using btrfs snapshots, works as expected |setup=

  1. Install Fedora 36. Any desktop, using Automatic partitioning.
  2. Freshen your backups, just in case
  3. Backup /boot/efi, just in case

|actions=

  1. create a snapshot
  2. edit the dnfconf,
  3. dup the most recent bls snippet, modify its rootflags entry to match the snapshot name

|results=

  1. GRUB menu shows boot options: variant+version+kernelversion for switching between the two.
  2. Can also use grubby --set-default=/boot/vmlinuz-5.18.15-200.fc36.x86_64

|limitations=

  1. /boot is only 1GiB by default, so this is the limiting factor right now, how many Fedoras you can have installed at one time. Two is safe. Three is iffy unless (a) configure the test Fedora instances' dnf.conf such that the kernel is excluded from updates; (b) consider deleting the "rescue" initramfs and kernel for the test instances, also removing dracut-config-rescue-056-1.fc36.x86_64 from them so these files aren't recreated; or (c) put /boot on a Btrfs subvolume.