Marco Guazzone
2021-05-23 17:25:06 UTC
Hello,
I have just done a fresh installation of Fedora 34 on a new computer and
used the automatic disk partitioning proposed by the installer.
Now my disk has the following layout:
- /boot (ext4)
- /boot/efi (EFI system partition)
- / (btrfs), with two subvolumes: @root and @home.
In case of a new fresh installation of Fedora, I would like to preserve the
@home subvolume only and instead overwrite the rest. However, I am not sure
what I should do (note, I don't want to use dnf upgrade).
Just as an experiment, I tried to simulate a fresh (re)installation of
Fedora 34 and I selected "Custom" as the disk partitioning method. The
installer showed the above disk layout. So, my idea was to use the same
approach I used in the past (with ext4 partitions). Specifically:
* For the "/boot" and "/boot/efi" partitions, I specified "/boot" and
"/boot/efi" as mount points, respectively, and flagged the "Reformat"
checkbox.
* For the "/home" subvolume, I specified "/home" as the mount point,
without flagging the "Reformat" checkbox.
* For "/", I cannot tell the installer to reformat it. I am not sure what
to do. I would create a new btrfs filesystem with "/" as the mount point,
but I am not sure it is correct.
Do you have any suggestions?
Thank you.
Marco
I have just done a fresh installation of Fedora 34 on a new computer and
used the automatic disk partitioning proposed by the installer.
Now my disk has the following layout:
- /boot (ext4)
- /boot/efi (EFI system partition)
- / (btrfs), with two subvolumes: @root and @home.
In case of a new fresh installation of Fedora, I would like to preserve the
@home subvolume only and instead overwrite the rest. However, I am not sure
what I should do (note, I don't want to use dnf upgrade).
Just as an experiment, I tried to simulate a fresh (re)installation of
Fedora 34 and I selected "Custom" as the disk partitioning method. The
installer showed the above disk layout. So, my idea was to use the same
approach I used in the past (with ext4 partitions). Specifically:
* For the "/boot" and "/boot/efi" partitions, I specified "/boot" and
"/boot/efi" as mount points, respectively, and flagged the "Reformat"
checkbox.
* For the "/home" subvolume, I specified "/home" as the mount point,
without flagging the "Reformat" checkbox.
* For "/", I cannot tell the installer to reformat it. I am not sure what
to do. I would create a new btrfs filesystem with "/" as the mount point,
but I am not sure it is correct.
Do you have any suggestions?
Thank you.
Marco