From Fedora Project Wiki

(link to "poor UI bugreport")
No edit summary
Line 1: Line 1:
{{Template:Associated_release_criterion|Beta|disk-layouts}}
{{Template:Associated_release_criterion|Beta|Custom_partitioning}}
{{QA/Test_Case
{{QA/Test_Case
|description= This test case ensures that the data in the `/home` directory is retained and usable on a btrfs layout after another Fedora is installed on the same partition.
|description= This test case ensures that the data in the `/home` directory is retained and usable on a btrfs layout after another Fedora is installed on the same partition.
|setup=
|setup=
# Install Fedora 33 with default options. Pick an Edition or Spin which uses ''btrfs'' layout by default. Use ''Automatic storage configuration'' during disk partitioning.
# Install any desktop varient with default options. Pick an Edition or Spin which uses ''btrfs'' layout by default. Use ''Automatic storage configuration'' during disk partitioning.
# On the installed system, create some distinct files and directories in your home directory or directly in `/home`
# On the installed system, create some distinct files and directories in your home directory or directly in `/home`
|actions=
|actions=

Revision as of 05:30, 29 October 2020

Associated release criterion
This test case is associated with the Fedora_42_Beta_Release_Criteria#Custom_partitioning release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.

Description

This test case ensures that the data in the /home directory is retained and usable on a btrfs layout after another Fedora is installed on the same partition.

Setup

  1. Install any desktop varient with default options. Pick an Edition or Spin which uses btrfs layout by default. Use Automatic storage configuration during disk partitioning.
  2. On the installed system, create some distinct files and directories in your home directory or directly in /home

How to test

  1. Boot the Fedora 33 installer, make sensible choices
  2. In Installation Destination, click Custom under Storage Configuration
  3. Under New mount points will use the following partitioning scheme, select Btrfs (otherwise you'll not be able to create a new /root subvolume later due to some poor UI decisions (bugzilla)).
  4. Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
  5. If present, select /boot/efi or BIOS Boot mount point, on the right hand side at the top, find Mount Point field, type in /boot/efi, click Update Settings button.
  6. Select /boot mount point, on the right hand side at the top, find Mount Point field, type in /boot, check the Reformat box, click Update Settings button.
  7. Select /home mount point, on the right hand side at the top, find Mount Point field, type in /home, click Update Settings button.
  8. Click + button to create a new / mount point (NOTE: this is required to be a new subvolume. Reformat will be checked, cannot be unchecked, but the underlying Btrfs is not reformatted. Optional: change the name of the subvolume from root00 to rootkde or rootjam per your preference).. Click Update Settings button.
    • Note: If you don't delete the previous root subvolume, the installer will create a new subvolume root00 mounted at /. If you delete the previous root subvolume first, the installer will use the same root name for the new one. Both approaches are valid, you can use whichever approach you choose. Other than consuming space, there is no disadvantage to keeping the old root.
  9. Click Done
  10. Perform the installation and reboot the machine. At initial setup, it's recommended to use all the same settings as for the 1st installation.
  11. After logging in, check that your home directory or /home contains the files you created on your previous system (check their contents as well)

Expected Results

  1. The installation should continue without fail
  2. The /home directory should have your previously-created files