Bug 1887116

Summary: Fedora boot partition on a btrfs subvolume doesn't boot with grub giving errors
Product: [Fedora] Fedora Reporter: André <monteiro>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: bugzilla, davide, dustymabe, fmartine, jonathan, lkundrak, miabbott, ngompa13, philip.wyett, pjones, robertthomasfairley, travier, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-11 21:04:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Partitioning
none
Partitioning 2
none
Grub error none

Description André 2020-10-11 01:08:11 UTC
Description of problem:

When installing fedora silverblue 33 beta with the partitions as follows, grub will give some errors and the system won't load:

/boot/efi efi partition

btrfs volume:
/ - root, btrfs subvolume
/boot - boot btrfs subvolume
/home - home btrfs subvolume

By moving /boot to a dedicated btrfs partition, not subvolume, the system does boot.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create manual partitions as in the description.

Actual results:

Grub shows error messages and system doesn't boot.

Expected results:

System should boot.

Additional info:

Comment 1 Chris Murphy 2020-10-11 17:48:39 UTC
>Grub shows error messages and system doesn't boot.

Can you be more specific? This does work with Custom partitioning. Did you use Advanced-Custom partitioning? Can you be more specific  with your "steps to reproduce"? There's not enough information here to try to reproduce this and figure out where the problem is. What Fedora image did you use? The exact filename of the ISO please.

@monterro

Comment 2 André 2020-10-11 18:46:04 UTC
Created attachment 1720733 [details]
Partitioning

Comment 3 André 2020-10-11 18:46:39 UTC
Created attachment 1720734 [details]
Partitioning 2

Comment 4 André 2020-10-11 18:47:10 UTC
Created attachment 1720735 [details]
Grub error

Comment 5 André 2020-10-11 18:50:35 UTC
Yes, I did use Advanced Custom BLIVET GUI and the name of the iso is "Fedora-Silverblue-ostree-x86_64-33_Beta-1.3.iso" the steps I took can bee seen on the uploads I made, let me know if you need anything else.

Comment 6 Chris Murphy 2020-10-11 21:00:55 UTC
OK so the problem here is that rpm-ostree doesn't currently support /boot on the same file system as /. There are upstream patches to make it supported, but right now /boot must be a separate file system (ext4 or btrfs). It's not sufficient for it to be a separate subvolume on the same file system as /.

Comment 7 Chris Murphy 2020-10-11 21:04:40 UTC

*** This bug has been marked as a duplicate of bug 1862784 ***