From Fedora Project Wiki
(create, based on equivalent gtkui tests with modifications) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|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, when installing with the webui installer interface. | |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, when installing with the webui installer interface. | ||
|setup= | |setup= | ||
{{Template: | {{Template:Partitioning_single_setup_webui}} | ||
{{Template:Partitioning_preserve_home_setup}} | {{Template:Partitioning_preserve_home_setup}} | ||
|actions= | |actions= | ||
# Boot the webui-based installer using any available means. Currently, that means using the Workstation live image and selecting "Install to Disk..." at the end of the initial setup process. | # Boot the webui-based installer using any available means. Currently, that means using the Workstation live image and selecting "Install to Disk..." at the end of the initial setup process. | ||
# On the first screen of the installer, click "Mount point assignment", then click Next. | # On the first screen of the installer, click "Mount point assignment", then click Next. | ||
# Select the appropriate existing "device" for each required mount point: the existing "root" device for {{code|/}}, the existing {{/boot}} partition for {{/boot}}, and the existing devices for any boot partitions that must be mounted (e.g. {{code|/boot/efi}}). Ensure "Reformat" '''IS''' set for all of these mount points. | # Select the appropriate existing "device" for each required mount point: the existing "root" device for {{code|/}}, the existing {{code|/boot}} partition for {{code|/boot}}, and the existing devices for any boot partitions that must be mounted (e.g. {{code|/boot/efi}}). Ensure "Reformat" '''IS''' set for all of these mount points. | ||
# Click "Add mount" and add a new {{code|/home}} mount point. Set its device as the existing "home" device. Ensure "Reformat" '''IS NOT''' set for this mount point. | # Click "Add mount" and add a new {{code|/home}} mount point. Set its device as the existing "home" device. Ensure "Reformat" '''IS NOT''' set for this mount point. | ||
# Click "Next". | # Click "Next". |
Latest revision as of 01:11, 14 February 2024
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, when installing with the webui installer interface.
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 webui-based installer. Currently, that means using the Workstation live image.
- Install Fedora 40 or 41 from any Edition or Spin which uses Btrfs filesystem by default. Ensure a separate /home subvolume is created. If you are installing to at least 50 GB of free space, this will happen if you use Automatic storage configuration during disk partitioning; otherwise, you will have to use custom partitioning and ensure a separate /home subvolume is created.
- On the installed system, create some distinct files and directories in your home directory or directly in
/home
.
How to test
- Boot the webui-based installer using any available means. Currently, that means using the Workstation live image and selecting "Install to Disk..." at the end of the initial setup process.
- On the first screen of the installer, click "Mount point assignment", then click Next.
- Select the appropriate existing "device" for each required mount point: the existing "root" device for /, the existing /boot partition for /boot, and the existing devices for any boot partitions that must be mounted (e.g. /boot/efi). Ensure "Reformat" IS set for all of these mount points.
- Click "Add mount" and add a new /home mount point. Set its device as the existing "home" device. Ensure "Reformat" IS NOT set for this mount point.
- Click "Next".
- Complete the installation process, making sensible selections for all other installer options.
- Boot the installed system.
- 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.
- The partitions and subvolumes which were assigned some mountpoints in the installer should be mounted. Any partitions or subvolumes which weren't assigned any mountpoints shouldn't be mounted.
- Your personal files on your
/home
partition must be intact.