From Fedora Project Wiki
Chrismurphy (talk | contribs) (clarify selecting existing mount points for reuse, vs creating a new / mountpoint) |
Chrismurphy (talk | contribs) (seems simpler to just reuse most everything, reformat /boot, and create a new /) |
||
Line 5: | Line 5: | ||
# Create some distinct files and directories in your home directory or directly in `/home` | # Create some distinct files and directories in your home directory or directly in `/home` | ||
|actions= | |actions= | ||
# Boot | # Boot the Fedora 33 installer, make sensible choices | ||
# In Installation Destination, click ''Custom'' under Storage Configuration | # In Installation Destination, click ''Custom'' under Storage Configuration | ||
# 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 | ||
# Select `/boot/efi` or `BIOS Boot` mount point | # 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. | ||
# Select `/boot` mount point | # 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. | ||
# Click + button to create a new `/` mount point (this is required to be a new subvolume) | # 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 (this is required to be a new subvolume, reformat will be checked, cannot be uncheck but the underlying Btrfs is not reformatted) | |||
#* 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 | # Perform the installation and reboot the machine |
Revision as of 04:52, 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
- Install Fedora 33 with btrfs layout
- 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
- Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
- 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 (this is required to be a new subvolume, reformat will be checked, cannot be uncheck but the underlying Btrfs is not reformatted)- 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
- 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