From Fedora Project Wiki
(we should specify that automatic btrfs installation is needed for the setup phase. Checking the files is better to be explicit in main steps.) |
Chrismurphy (talk | contribs) (few clarifications) |
||
Line 9: | Line 9: | ||
{{Template:partitioning_actions}} | {{Template:partitioning_actions}} | ||
# 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 `/ | # Under ''New mount points will use the following partitioning scheme'', select ''Btrfs'' (otherwise you'll not be able to create a new subvolume for `/` mountpoint 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. | ||
Line 15: | Line 15: | ||
# Select `/home` mount point, on the right hand side at the top, find ''Mount Point'' field, type in `/home`, 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 {{key|+}} 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 from `root00` to `rootkde` or `rootjam` per your preference).. Click ''Update Settings'' button. | # Click {{key|+}} 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 from `root00` to `rootkde` or `rootjam` per your preference).. Click ''Update Settings'' button. | ||
#* Note: If you don't delete the previous `root` subvolume, the installer | #* Note: If you don't delete the previous installation's `root` subvolume, the installer creates a new subvolume `root00` mounted at `/`. If you delete the previous install's `root` subvolume first, the installer will reuse `root` as the name for the new subvolume. Both approaches are valid, you can use whichever approach you choose. Other than consuming space, there is no disadvantage to keeping the old `root`. It can be deleted post-install. | ||
# Click ''Done'' | # 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. | # 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. |
Revision as of 19:46, 15 February 2021
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 41 or 42 from any Edition or Spin which uses Btrfs filesystem 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
- Select a Fedora 42 installer for any Edition or Spin which uses Btrfs filesystem by default.
- Boot the GTK-based installer using any available means. Do not use Fedora Workstation live on Fedora 41+, as that uses the webui-based installer.
- Proceed to the installer's main screen, making sensible choices, and enter the Installation Destination screen.
- 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 subvolume for
/
mountpoint 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 installation's
root
subvolume, the installer creates a new subvolumeroot00
mounted at/
. If you delete the previous install'sroot
subvolume first, the installer will reuseroot
as the name for the new subvolume. Both approaches are valid, you can use whichever approach you choose. Other than consuming space, there is no disadvantage to keeping the oldroot
. It can be deleted post-install.
- Note: If you don't delete the previous installation's
- 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.
- 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 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.
- Your personal files on your
/home
partition must be intact