From Fedora Project Wiki

(improve instructions)
Line 1: Line 1:
 
{{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=Install an F33 with some files & directories on the /home
+
|setup=
 +
# Install Fedora 33 with btrfs layout
 +
# Create some distinct files and directories in your home directory or directly in `/home`
 
|actions=
 
|actions=
When reinstalling Fedora, make sensible choices and click the ''custom'' under the storage
+
# Boot to the Fedora 33 installer, make sensible choices
# Create /boot/efi or BIOS Boot mount point (can be reused or reformatted)
+
# In partitioning view, click the ''custom'' under the storage
# Create /boot mount point (can be reused or reformatted)
+
# Create `/boot/efi` or `BIOS Boot` mount point (can be reused or reformatted)
# Create / mount point (this is required to be a new subvolume)
+
# Create `/boot` mount point (can be reused or reformatted)
 +
# Create `/` mount point (this is required to be a new subvolume)
 
# Locate the home subvolume you want, the current UI it's pretty easy
 
# Locate the home subvolume you want, the current UI it's pretty easy
# Click on that subvolume, and on the right hand side at the top,find Mount Point field; type in /home; click Update Settings button.
+
# Click on that subvolume, and on the right hand side at the top, find ''Mount Point'' field, type in `/home`, click ''Update Settings'' button.
# Click Done
+
# Click ''Done''
# Reboot by issuing ''init 6'' or from the UI
+
# Perform the installation and reboot the machine
# Complete the initial setup
+
# After logging in, check that your home directory or `/home` contains the files you created on your previous system (check their contents as well)
 
|results=
 
|results=
 
# The installation should continue without fail
 
# The installation should continue without fail
# The /home should have your files  
+
# The `/home` directory should have your previously-created files  
# Open/Execute to ensure they are usable
 
 
}}
 
}}

Revision as of 14:48, 31 August 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)
  6. Locate the home subvolume you want, the current UI it's pretty easy
  7. Click on that subvolume, 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