From Fedora Project Wiki

(remove a link added by accident)
Line 19: Line 19:
 
|results=
 
|results=
 
# The installation should continue without fail
 
# The installation should continue without fail
# The `/home` directory should have your previously-created files https://fedoraproject.org/wiki/QA:Testcase_partitioning_custom_btrfs_preserve_home
+
# The `/home` directory should have your previously-created files
 
}}
 
}}
 
[[Category:Installer_Partitioning_Test_Cases]]
 
[[Category:Installer_Partitioning_Test_Cases]]
 
[[Category:btrfs]]
 
[[Category:btrfs]]

Revision as of 10:49, 3 September 2020

Note.png
Associated release criterion
This test case is associated with the Fedora_35_Beta_Release_Criteria#disk-layouts 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 Fedora 33 with btrfs layout
  2. 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. Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
  4. 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.
  5. 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.
  6. Select /home mount point, on the right hand side at the top, find Mount Point field, type in /home, click Update Settings button.
  7. Click + button to create a new / mount point (this is required to be a new subvolume, reformat will be checked, cannot be uncheck but the underlying Btrfs is not reformatted). 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.
  8. Click Done
  9. Perform the installation and reboot the machine
  10. 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