From Fedora Project Wiki
(make sure to select Btrfs partitioning scheme ( https://pagure.io/fedora-qa/issue/643#comment-677549 )) |
(link to "poor UI bugreport") |
||
Line 8: | Line 8: | ||
# Boot the Fedora 33 installer, make sensible choices | # Boot the Fedora 33 installer, make sensible choices | ||
# In Installation Destination, click ''Custom'' under Storage Configuration | # 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 [https://pagure.io/fedora-qa/issue/643#comment-677549 poor UI decisions]). | # 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 [https://pagure.io/fedora-qa/issue/643#comment-677549 poor UI decisions] ([https://bugzilla.redhat.com/show_bug.cgi?id=1878620 bugzilla])). | ||
# Locate the previous Fedora installation, click on it to reveal existing mount points for reuse | # Locate the previous Fedora installation, click on it to reveal existing mount points for reuse | ||
# If present, select `/boot/efi` or `BIOS Boot` mount point, on the right hand side at the top, find ''Mount Point'' field, type in `/boot/efi`, click ''Update Settings'' button. | # If present, select `/boot/efi` or `BIOS Boot` mount point, on the right hand side at the top, find ''Mount Point'' field, type in `/boot/efi`, click ''Update Settings'' button. |
Revision as of 12:23, 15 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
- Install Fedora 33 with default options. Pick an Edition or Spin which uses btrfs layout by default. Use Automatic storage configuration during disk partitioning.
- 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 initial setup, it's recommended to use all the same settings as for the 1st installation.
- 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
- The installation should continue without fail
- The
/home
directory should have your previously-created files