From Fedora Project Wiki

(Created page with "{{Template:Associated_release_criterion|Beta|Custom_partitioning}} {{QA/Test_Case |description= This test case ensures that the data in the `/home` directory is retained and u...")
 
No edit summary
Line 10: Line 10:
# In Installation Destination, click ''Advanced Custom (Blivet-GUI)'' under Storage Configuration
# In Installation Destination, click ''Advanced Custom (Blivet-GUI)'' under Storage Configuration
# Under ''Btrfs Volumes'', locate the previous Fedora installation, click on it to reveal existing mount points for reuse
# Under ''Btrfs Volumes'', locate the previous Fedora installation, click on it to reveal existing mount points for reuse
# Select appropirte mount point looks like `00/var/lib/machines`, right click and delete it.
# Select appropriate mount point looks like `/var/lib/machines`, right click and delete it.
# Select `home` mount point, right click, Click ''Edit'' and find '''Set Mountpoint''' field, type in `/home`, click ''Set Mountpoint'' button.
# Select `home` mount point, right click, Click ''Edit'' and find '''Set Mountpoint''' field, type in `/home`, click ''Set Mountpoint'' button.
# Click {{key|+}} button to create a new `/` mount point (NOTE: this is required to be a new subvolume. Optional: change the name of the subvolume from `root00` to `rootkde` or `rootjam` per your preference).. Click ''OK'' button.
# Click {{key|+}} button to create a new `/` mount point (NOTE: this is required to be a new subvolume. Optional: change the name of the subvolume from `root` to `rootkde` or `rootjam` per your preference).. Click ''OK'' 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`.
#* 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`.
# Click ''Done''
# Click ''Done''

Revision as of 07:15, 3 December 2020

Note.png
Associated release criterion
This test case is associated with the Fedora_40_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 Fedora 39 or 40 from any Edition or Spin which uses Btrfs filesystem 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. Select a Fedora 40 installer for any Edition or Spin which uses Btrfs filesystem by default.
  2. Boot the GTK-based installer using any available means. Do not use Fedora Workstation live on Fedora 40+, as that uses the webui-based installer.
  3. Proceed to the installer's main screen, making sensible choices, and enter the Installation Destination screen.
  4. In Installation Destination, click Advanced Custom (Blivet-GUI) under Storage Configuration
  5. Under Btrfs Volumes, locate the previous Fedora installation, click on it to reveal existing mount points for reuse
  6. Select appropriate mount point looks like /var/lib/machines, right click and delete it.
  7. Select home mount point, right click, Click Edit and find Set Mountpoint field, type in /home, click Set Mountpoint button.
  8. Click + button to create a new / mount point (NOTE: this is required to be a new subvolume. Optional: change the name of the subvolume from root to rootkde or rootjam per your preference).. Click OK 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 the 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 expected partition layout should be created on the target device(s).
  2. The install process should complete successfully and the installed system should boot as expected.
  3. Your personal files on your /home partition must be intact