From Fedora Project Wiki

(clarification fixes, step 2 installation destination)
(clarify selecting existing mount points for reuse, vs creating a new / mountpoint)
Line 7: Line 7:
# Boot to the Fedora 33 installer, make sensible choices
# Boot to the Fedora 33 installer, make sensible choices
# In Installation Destination, click ''Custom'' under Storage Configuration
# In Installation Destination, click ''Custom'' under Storage Configuration
# Create `/boot/efi` or `BIOS Boot` mount point (can be reused or reformatted)
# Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
# Create `/boot` mount point (can be reused or reformatted)
# Select `/boot/efi` or `BIOS Boot` mount point (can be reused or reformatted)
# Create `/` mount point (this is required to be a new subvolume)
# Select `/boot` mount point (can be reused or reformatted)
# Click + button to create a new `/` 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`.
#* 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`.
# 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.
# 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.

Revision as of 04:35, 2 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 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 (can be reused or reformatted)
  5. Select /boot mount point (can be reused or reformatted)
  6. Click + button to create a new / 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.
  7. 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.
  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