From Fedora Project Wiki

No edit summary
(move the note in between the steps)
Line 5: Line 5:
# Create some distinct files and directories in your home directory or directly in `/home`
# Create some distinct files and directories in your home directory or directly in `/home`
|actions=
|actions=
{{admon/note|This test case has no step to remove anything, including the previous root subvolume. In step 5, by default Anaconda will create a new subvolume root00 mounted at /. You can choose to delete the root subvolume in the installer or at your leisure. Other than consuming space, there is no conflict with this "extra root".}}
# Boot to the Fedora 33 installer, make sensible choices
# Boot to the Fedora 33 installer, make sensible choices
# In partitioning view, click the ''custom'' under the storage
# In partitioning view, click the ''custom'' under the storage
Line 11: Line 10:
# Create `/boot` mount point (can be reused or reformatted)
# Create `/boot` mount point (can be reused or reformatted)
# Create `/` mount point (this is required to be a new subvolume)
# Create `/` mount point (this is required to be a new subvolume)
# Locate the home subvolume you want, the current UI it's pretty easy
#* 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 on that subvolume, and on the right hand side at the top, find ''Mount Point'' field, type in `/home`, click ''Update Settings'' button.
# Locate the `home` subvolume. Click on it, and on the right hand side at the top, find ''Mount Point'' field, type in `/home`, click ''Update Settings'' button.
# Click ''Done''
# Click ''Done''
# Perform the installation and reboot the machine
# Perform the installation and reboot the machine

Revision as of 08:06, 1 September 2020

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 to the Fedora 33 installer, make sensible choices
  2. In partitioning view, click the custom under the storage
  3. Create /boot/efi or BIOS Boot mount point (can be reused or reformatted)
  4. Create /boot mount point (can be reused or reformatted)
  5. Create / mount point (this is required to be a new subvolume)
    • 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.
  6. Locate the home subvolume. Click on it, and on the right hand side at the top, find Mount Point field, type in /home, click Update Settings button.
  7. Click Done
  8. Perform the installation and reboot the machine
  9. 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