From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Beta|Custom_partitioning}} | {{Template:Associated_release_criterion|Beta|Custom_partitioning}} | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= This test case ensures that the data in the `/home` directory is retained and usable on a | |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= | |setup= | ||
# | # {{Template:partitioning_single_setup}} | ||
# On the installed system, create some distinct files and directories in your home directory or directly in `/home` | # On the installed system, create some distinct files and directories in your home directory or directly in `/home` | ||
|actions= | |actions= | ||
Line 16: | Line 16: | ||
#* 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'' | ||
# Perform the installation and reboot the machine. At initial setup, it's recommended to use all the same settings as for the 1st installation. | # 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. | ||
|results= | |||
{{Template:partitioning_results}} | |||
# After logging in, check that your home directory or `/home` contains the files you created on your previous system (check their contents as well) | # After logging in, check that your home directory or `/home` contains the files you created on your previous system (check their contents as well) | ||
}} | }} | ||
[[Category:Installer_Partitioning_Test_Cases]] | [[Category:Installer_Partitioning_Test_Cases]] | ||
[[Category:btrfs]] | [[Category:btrfs]] |
Revision as of 05:44, 29 October 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
- Prepare a test system with a working, supported storage device of sufficient size for a Fedora install, and a Fedora installation medium that uses the GTK-based installer. Do not use Fedora Workstation live on Fedora 41+, as that uses the webui-based installer.
- On the installed system, create some distinct files and directories in your home directory or directly in
/home
How to test
- Boot the Fedora 33 installer, make sensible choices
- In Installation Destination, click Custom under Storage Configuration
- Under New mount points will use the following partitioning scheme, select Btrfs (otherwise you'll not be able to create a new
/root
subvolume later due to some poor UI decisions (bugzilla)). - Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
- If present, select
/boot/efi
orBIOS Boot
mount point, on the right hand side at the top, find Mount Point field, type in/boot/efi
, click Update Settings button. - 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. - Select
/home
mount point, on the right hand side at the top, find Mount Point field, type in/home
, click Update Settings button. - Click + button to create a new
/
mount point (NOTE: this is required to be a new subvolume. Reformat will be checked, cannot be unchecked, but the underlying Btrfs is not reformatted. Optional: change the name of the subvolume fromroot00
torootkde
orrootjam
per your preference).. Click Update Settings button.- Note: If you don't delete the previous
root
subvolume, the installer will create a new subvolumeroot00
mounted at/
. If you delete the previousroot
subvolume first, the installer will use the sameroot
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 oldroot
.
- Note: If you don't delete the previous
- Click Done
- 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.
Expected Results
- The expected partition layout should be created on the target device(s).
- The install process should complete successfully and the installed system should boot as expected.
- After logging in, check that your home directory or
/home
contains the files you created on your previous system (check their contents as well)