new test case: dual boot two Fedora 33's #640
Labels
No labels
agile
anacondawebui
arm
blockerfe
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
Closed As
Wontfix
Closed As
Worksforme
coreos
criteria
defect
easyfix
enhancement
iot
meeting
meta
onboarding call
proventesters
retrospective
silverblue
sponsor
test cases
test days
wiki
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
pr2jira
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/tickets#640
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a variation on #638 which has yielded this test case
https://fedoraproject.org/wiki/User:Sumantrom/Draft/preserve_home_data
Differences are in bold.
Step 0. Perform a Fedora 33 installation using Automatic partitioning (I used Workstation but any desktop should work because partitioning, subvolume layout, and bootloader stuff is all the same). Reboot and go through g-i-s.
/boot/efiorBIOS Bootmount point, on the right hand side at the top, find ''Mount Point'' field, type in/boot/efi, click ''Update Settings'' button./bootmount point, on the right hand side at the top, find ''Mount Point'' field, type in/boot, do NOT check the ''Reformat'' box, click ''Update Settings'' button./homemount point, on the right hand side at the top, find ''Mount Point'' field, type in/home, click ''Update Settings'' button./mount point (this is required to be a new subvolume, reformat will be checked, cannot be uncheck but the underlying Btrfs is not reformatted, optionally change the name of the subvolume fromroot00torootkdeorrootjamor whatever it is). Click ''Update Settings'' button.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.striking it, because we want to keep the old rootAt step 8, the installer displays a warning banner at the bottom; if clicked,a dialog recommends that /boot be reformatted. This advice needs to be ignored.
Metadata Update from @sumantrom:
Writing the test case,right now
Issues:
GRUB menu is hidden by default, kinda annoying.
grub2-editenv - unset menu_auto_hideBug: Something erases the previous /boot/loader/entries/ snippets. Workaround: edit the entry, find rootflags=subvol= and change it to the name of the root you want to boot.
https://bugzilla.redhat.com/show_bug.cgi?id=1874724
https://fedoraproject.org/wiki/User:Sumantrom/Draft/dualboot_f33_btrfs
Metadata Update from @sumantrom:
Metadata Update from @sumantrom:
@chrismurphy going by the bug state, it still looks new :)
please let me know if I can somehow change the test case or if there is anything to discuss on this ticket?
the bug is still NEW. where are we with this?
Metadata Update from @adamwill:
It morphed into this https://fedoraproject.org/wiki/User:Chrismurphy/Draft/dualboot_teststation
I'm about to go through it now, I'll end up with a Fedora 39 and Fedora 40 dual boot system as a result.
OK that draft test case is tested and updated for F39->F40Err, it needs a few minor tweeks but wiki won't update. I'll refresh it tomorrow and try to remember to report back here.
OK it's updated. This issue can probably be closed? If this seems useful to testers, and you want to move the draft somewhere more visible, I'll maintain it there.
that seems a bit. uh. fancy? :D
what I kinda envisioned for this ticket was a more 'straightforward' setup: run through a default fedora install, then run through another install and try to install alongside the first install (either resizing or on a different disk).
That's also possible. The gist is something like this:
/boot/loader/entries/mountpoint, clicking on the + button on the lower left UI, specify/as the mount point, and leave the capacity field empty/home/bootand/boot/efirespectively. (NOTE for BIOSBOOT systems)./boot/loader/entries.No resize or different drive needed, the 2nd root coexists on the Btrfs file system along with the first. There practical limitation for the number of roots is the free space available on
/boot.Well, the case I was envisaging would be wanting to keep the installs more separate - not with shared
/boot, possibly not with shared/home.I think that would require separate EFI System partitions. Switching boot between the two OS's means using UEFI Boot Manager.
The
$ESP/grub.cfgforwards to a specific$BOOT/grub2/grub.cfg, so if$BOOTis not shared, then$ESPalso can't be shared.Also, 1st default installation leaves no free space. The installer doesn't know how to resize Btrfs, so it'll require some fancy instructions to describe how to do that with CLI, so that there's free space to create
$ESP2and$BOOT2.Installer supports shared or not shared
/homeon Btrfs, equally easy.I think having a second ESP is fine. It's definitely a better approach when installing to a second drive. When installing to the same drive, two ESPs might violate some UEFI guidelines, perhaps?
Originally, I wanted to suggest that a shared ESP can be achieved by renaming
$ESP/EFI/fedora/to$ESP/EFI/fedora1/and re-creating the existingefibootmgrentry with the updated path. However, it seems that/boot/efi/EFI/fedora/*is owned by several grub2 subpackages, which means the content of the renamed location wouldn't get updated by future updates, and the original location would get overwritten (if belonging to the second installation) 😞 So this is no likely the right way.Metadata Update from @kparal: