Bug 2096192 - no longer able to update Silverblue due to grub2-mkconfig failing
Summary: no longer able to update Silverblue due to grub2-mkconfig failing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL: https://lists.gnu.org/archive/html/gr...
Whiteboard: https://ask.fedoraproject.org/t/commo...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-13 09:11 UTC by Guillaume Desmottes
Modified: 2022-09-09 12:54 UTC (History)
7 users (show)

Fixed In Version: grub2-2.06-43.fc37
Clone Of:
Environment:
Last Closed: 2022-07-19 16:43:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Guillaume Desmottes 2022-06-13 09:11:39 UTC
I'm no longer able to update my Silverblue. rpm-ostree update works fine but the changes are discarded when rebooting.

I did some digging and the update fails because of:

# grub2-mkconfig -o /boot/grub2/grub.cfg 
Generating grub configuration file ...
/usr/sbin/grub2-probe: error: ../grub-core/kern/fs.c:120:unknown filesystem.

# grub2-mkconfig -V
grub2-mkconfig (GRUB) 2.06

See https://github.com/coreos/rpm-ostree/issues/3715 where I discussed this issue with the rpm-ostree team.

Comment 1 Robbie Harwood 2022-06-13 16:50:18 UTC
https://github.com/coreos/rpm-ostree/issues/3715#issuecomment-1150246592 :

> Suggest filing a bugzilla. First things we'd ask are to retry with the latest grub2, then adding verbosity flags, and if that doesn't work, it's gdb time.

Comment 2 Guillaume Desmottes 2022-06-14 06:45:21 UTC
How can I upgrade grub2 as this bug prevents me from doing any update?

Which commands/flags would you like me to run?

Comment 3 Robbie Harwood 2022-06-15 21:13:16 UTC
> How can I upgrade grub2 as this bug prevents me from doing any update?

Dunno how Silverblue works, but with normal linux it'd be rpm with --notriggers and so forth.  Let's skip this for now.

Do you know if this bug reproduces if e.g. you were to install a similar rawhide VM?

> Which commands/flags would you like me to run?

Whatever the silverblue equivalent of `rpm -qa | grep grub2` is.

Assuming this bug doesn't reproduce, the next step would be to isolate which grub2-probe invocation is failing and retry it with -v in case there's more information there.  Ideally there would be more information from the relevant fs module about what it went wrong to go off of.  If not, it's gdb time.

Comment 4 Guillaume Desmottes 2022-06-16 07:00:26 UTC
> Do you know if this bug reproduces if e.g. you were to install a similar rawhide VM?

I didn't try, but that seems unlikely as the VM will have a different (virtual) hardware setup.

> Whatever the silverblue equivalent of `rpm -qa | grep grub2` is.

That works actually:

# rpm -qa | grep grub2
grub2-tools-minimal-2.06-10.fc35.x86_64
grub2-common-2.06-10.fc35.noarch
grub2-tools-2.06-10.fc35.x86_64
grub2-efi-ia32-2.06-10.fc35.x86_64
grub2-efi-x64-2.06-10.fc35.x86_64
grub2-pc-modules-2.06-10.fc35.noarch
grub2-pc-2.06-10.fc35.x86_64
ostree-grub2-2022.2-1.fc35.x86_64

> the next step would be to isolate which grub2-probe invocation is failing and retry it with -v in case there's more information there. 

Where/how can I find the various grub2-probe calls used by grub2-mkconfig?

Comment 5 Robbie Harwood 2022-06-21 17:55:30 UTC
> Where/how can I find the various grub2-probe calls used by grub2-mkconfig?

grub2-mkconfig is a shell script.

Comment 6 Guillaume Desmottes 2022-06-23 12:53:04 UTC
Thanks.

So I did some digging and the culprit is 'grub2-probe --device /dev/nvme0n1p1 --target=fs' which is called in grub-mkconfig_lib by 10_linux.

Here is a manual call in verbose mode:

# grub2-probe -v --device /dev/nvme0n1p1 --target=fs
grub2-probe: info: cannot open `/boot/grub2/device.map': No such file or directory.
grub2-probe: info: /dev/nvme0n1p1 is not present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 2048.
grub2-probe: info: /dev/nvme0n1p1 is present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 2048.
grub2-probe: info: /dev/nvme0n1p1 is present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 2048.
grub2-probe: info: opening hostdisk//dev/nvme0n1,gpt1.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub2-probe: error: ../grub-core/kern/fs.c:120:unknown filesystem.

Looks like this partition is vfat:

# mount | grep nvme0n1p1
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)

Comment 7 Guillaume Desmottes 2022-07-13 12:34:41 UTC
Anything else I can do to help debugging this issue?

Also, please let me know if there is any trick I could use to workaround this problem. I'm not able to apply any update on my Silverblue because of this bug, which is quite frustrating.

Comment 8 Robbie Harwood 2022-07-14 19:12:44 UTC
Thanks for your patience.  Can you pass -v twice (i.e., grub2-probe -v --device /dev/nvme0n1p1 --target=fs)?  This turns on grub debug printing... not sure why that's not documented, but anyway.  I'm expecting to see a line like "grub-core/kern/fs.c:56: Detecting fat..." followed eventually by a line like "grub-core/kern/fs.c:78: fat detection failed.", ideally with something helpful in between.

I suspect we're at the "break out gdb" point of things.  How big is /dev/nvme0n1p1?  If it's not too large, any chance you could upload it somwhere?

Comment 9 Guillaume Desmottes 2022-07-15 06:37:42 UTC
> How big is /dev/nvme0n1p1?  If it's not too large, any chance you could upload it somwhere?

Only 23M once gziped:
http://desmottes.be/~cassidy/files/brol/nvme0n1p1.dump.gz

I used dd to dump it to a file.


Here are the logs:

# grub2-probe -v -v --device /dev/nvme0n1p1 --target=fs
grub2-probe: info: cannot open `/boot/grub2/device.map': No such file or directory.
grub2-probe: info: /dev/nvme0n1p1 is not present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:191: scanning hostdisk//dev/nvme0n1
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1' in open_device()
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1p1' in open_device()
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/dfly.c:69: bad magic (found 0x41615252; wanted 0xc4464c59)
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:120: bad magic (found 0xeb58; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1p2' in open_device()
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p2'
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p2'
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1p3' in open_device()
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p3'
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p3'
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x4c55; wanted 0x4552)
grub-core/partmap/dfly.c:69: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub2-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub2-probe: info: /dev/nvme0n1p1 is present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:191: scanning hostdisk//dev/nvme0n1
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1' in open_device()
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/dfly.c:69: bad magic (found 0x41615252; wanted 0xc4464c59)
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:120: bad magic (found 0xeb58; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x4c55; wanted 0x4552)
grub-core/partmap/dfly.c:69: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub2-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub2-probe: info: /dev/nvme0n1p1 is present.
grub2-probe: info: Looking for /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p1.
grub2-probe: info: /dev/nvme0n1p1 starts from 2048.
grub2-probe: info: opening the device hostdisk//dev/nvme0n1.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:191: scanning hostdisk//dev/nvme0n1
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1' succeeded.
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1' in open_device()
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1'
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/dfly.c:69: bad magic (found 0x41615252; wanted 0xc4464c59)
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:184: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:120: bad magic (found 0xeb58; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 1: start=1230848, length=2097152
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:115: GPT entry 2: start=3328000, length=1997080576
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub2-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:69: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x4c55; wanted 0x4552)
grub-core/partmap/dfly.c:69: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:120: bad magic (found 0x0; wanted 0x4552)
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub2-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:297: Closing `hostdisk//dev/nvme0n1'...
grub-core/kern/disk.c:311: Closing `hostdisk//dev/nvme0n1' succeeded.
grub2-probe: info: opening hostdisk//dev/nvme0n1,gpt1.
grub-core/kern/device.c:37: opening device hostdisk//dev/nvme0n1,gpt1
grub-core/kern/disk.c:196: Opening `hostdisk//dev/nvme0n1,gpt1'...
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/nvme0n1 is 2000409264.
grub-core/partmap/gpt.c:93: Read a valid GPT header
grub-core/partmap/gpt.c:115: GPT entry 0: start=2048, length=1228800
grub-core/kern/disk.c:288: Opening `hostdisk//dev/nvme0n1,gpt1' succeeded.
grub-core/kern/fs.c:56: Detecting zfs...
grub-core/osdep/hostdisk.c:420: opening the device `/dev/nvme0n1p1' in open_device()
grub-core/fs/zfs/zfs.c:1199: label ok 0
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/fs/zfs/zfs.c:1199: label ok 1
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/fs/zfs/zfs.c:1199: label ok 2
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/fs/zfs/zfs.c:1199: label ok 3
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/kern/fs.c:78: zfs detection failed.
grub-core/kern/fs.c:56: Detecting xfs...
grub-core/fs/xfs.c:937: Reading sb
grub-core/fs/xfs.c:276: Validating superblock
grub-core/kern/fs.c:78: xfs detection failed.
grub-core/kern/fs.c:56: Detecting ufs2...
grub-core/kern/fs.c:78: ufs2 detection failed.
grub-core/kern/fs.c:56: Detecting ufs1_be...
grub-core/kern/fs.c:78: ufs1_be detection failed.
grub-core/kern/fs.c:56: Detecting ufs1...
grub-core/kern/fs.c:78: ufs1 detection failed.
grub-core/kern/fs.c:56: Detecting udf...
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/kern/fs.c:78: udf detection failed.
grub-core/kern/fs.c:56: Detecting tarfs...
grub-core/kern/fs.c:78: tarfs detection failed.
grub-core/kern/fs.c:56: Detecting squash4...
grub-core/kern/fs.c:78: squash4 detection failed.
grub-core/kern/fs.c:56: Detecting sfs...
grub-core/kern/fs.c:78: sfs detection failed.
grub-core/kern/fs.c:56: Detecting romfs...
grub-core/kern/fs.c:78: romfs detection failed.
grub-core/kern/fs.c:56: Detecting reiserfs...
grub-core/kern/fs.c:78: reiserfs detection failed.
grub-core/kern/fs.c:56: Detecting procfs...
grub-core/kern/fs.c:78: procfs detection failed.
grub-core/kern/fs.c:56: Detecting odc...
grub-core/kern/fs.c:78: odc detection failed.
grub-core/kern/fs.c:56: Detecting ntfs...
grub-core/kern/fs.c:78: ntfs detection failed.
grub-core/kern/fs.c:56: Detecting nilfs2...
grub-core/kern/fs.c:78: nilfs2 detection failed.
grub-core/kern/fs.c:56: Detecting newc...
grub-core/kern/fs.c:78: newc detection failed.
grub-core/kern/fs.c:56: Detecting minix_be...
grub-core/kern/fs.c:78: minix_be detection failed.
grub-core/kern/fs.c:56: Detecting minix3_be...
grub-core/kern/fs.c:78: minix3_be detection failed.
grub-core/kern/fs.c:56: Detecting minix3...
grub-core/kern/fs.c:78: minix3 detection failed.
grub-core/kern/fs.c:56: Detecting minix2_be...
grub-core/kern/fs.c:78: minix2_be detection failed.
grub-core/kern/fs.c:56: Detecting minix2...
grub-core/kern/fs.c:78: minix2 detection failed.
grub-core/kern/fs.c:56: Detecting minix...
grub-core/kern/fs.c:78: minix detection failed.
grub-core/kern/fs.c:56: Detecting jfs...
grub-core/kern/fs.c:78: jfs detection failed.
grub-core/kern/fs.c:56: Detecting iso9660...
grub-core/kern/fs.c:78: iso9660 detection failed.
grub-core/kern/fs.c:56: Detecting hfsplus...
grub-core/kern/fs.c:78: hfsplus detection failed.
grub-core/kern/fs.c:56: Detecting hfs...
grub-core/kern/fs.c:78: hfs detection failed.
grub-core/kern/fs.c:56: Detecting fat...
grub-core/osdep/hostdisk.c:399: reusing open device `/dev/nvme0n1p1'
grub-core/kern/fs.c:78: fat detection failed.
grub-core/kern/fs.c:56: Detecting f2fs...
grub-core/kern/fs.c:78: f2fs detection failed.
grub-core/kern/fs.c:56: Detecting ext2...
grub-core/kern/fs.c:78: ext2 detection failed.
grub-core/kern/fs.c:56: Detecting exfat...
grub-core/kern/fs.c:78: exfat detection failed.
grub-core/kern/fs.c:56: Detecting cpiofs_be...
grub-core/kern/fs.c:78: cpiofs_be detection failed.
grub-core/kern/fs.c:56: Detecting cpiofs...
grub-core/kern/fs.c:78: cpiofs detection failed.
grub-core/kern/fs.c:56: Detecting cbfs...
grub-core/kern/disk.c:424: Read out of range: sector 0x12c000 (../grub-core/kern/disk_common.c:26:attempt to read or write outside of partition).
grub-core/kern/fs.c:78: cbfs detection failed.
grub-core/kern/fs.c:56: Detecting btrfs...
grub-core/kern/fs.c:78: btrfs detection failed.
grub-core/kern/fs.c:56: Detecting bfs...
grub-core/kern/fs.c:78: bfs detection failed.
grub-core/kern/fs.c:56: Detecting afs...
grub-core/kern/fs.c:78: afs detection failed.
grub-core/kern/fs.c:56: Detecting affs...
grub-core/kern/fs.c:78: affs detection failed.
grub2-probe: error: ../grub-core/kern/fs.c:120:unknown filesystem.

Comment 10 Robbie Harwood 2022-07-15 17:25:09 UTC
Thanks.  I have reproduced the failure locally and will attempt to debug further.

Comment 11 Robbie Harwood 2022-07-15 18:50:30 UTC
grub2 is upset that a bunch of files have modification time at the epoch:

[root@f35-efi mnt]# tree -D .
.
├── [Dec 31  1979]  EFI
│   ├── [Dec 31  1979]  BOOT
│   │   ├── [Dec 31  1979]  BOOTX64.EFI
│   │   └── [Dec 31  1979]  fbx64.efi
│   └── [Jun 27 02:41]  fedora
│       ├── [Dec 31  1979]  BOOTX64.CSV
│       ├── [Dec 31  1979]  fonts
│       ├── [Mar 14 03:35]  fw
│       │   ├── [Mar 14 03:35]  fwupd-359c1169-abd6-4a0d-8bce-e4d4713335c1.cap
│       │   ├── [Mar 14 03:34]  fwupd-9d255c4b-2d88-4861-860d-7ee52ade9463.cap
│       │   └── [Mar 14 03:34]  fwupd-b36438d8-9128-49d2-b280-487be02d948b.cap
│       ├── [Dec 31  1979]  fwupdx64.efi
│       ├── [May 10 10:47]  grub.cfg
│       ├── [Jun  3 12:38]  grub.cfg.new.new
│       ├── [May 10 10:41]  grub.cfg.old
│       ├── [Jun 27 02:41]  grubenv
│       ├── [Dec 31  1979]  grubx64.efi
│       ├── [Dec 31  1979]  mmx64.efi
│       ├── [Dec 31  1979]  shim.efi
│       ├── [Dec 31  1979]  shimx64.efi
│       └── [Dec 31  1979]  shimx64-fedora.efi
└── [Dec 31  1979]  FSCK0000.REC

5 directories, 17 files
[root@f35-efi mnt]# 

Is there anything unusual about this machine that might cause that?  Do you dual-boot Windows?

Comment 12 Robbie Harwood 2022-07-15 18:55:19 UTC
I was able to get grub2-probe working by changing all the time stamps.  Are you willing to try `find /boot/efi -exec touch '{}' ';'` and seeing if that lets you update?

Comment 13 Robbie Harwood 2022-07-15 20:15:59 UTC
Patches submitted for upstream.

Comment 14 Guillaume Desmottes 2022-07-18 07:07:58 UTC
> Is there anything unusual about this machine that might cause that?  Do you dual-boot Windows?

No, I just have Silverblue installed on this laptop.

> Are you willing to try `find /boot/efi -exec touch '{}' ';'` and seeing if that lets you update?

That worked! Thank you so much, you've been a great help.

Comment 15 Robbie Harwood 2022-07-18 17:24:42 UTC
Glad to hear it's working for you now!

I'm going to keep this bug open for the workaround in grub2.

Comment 16 james 2022-08-29 18:35:16 UTC
Hi, I have this issue on fedora36-silverblue, but it is installed in a vm with no efi.  Is there a similar fix, as I am currently installing software, and then running sudo ostree admin finalize-staged before rebooting.   Upgrading seems to work ok, but my rpm-ostree status reports ... warning: Failed to query journal: couldn't find current boot in journal
obviously the bash find workaround you posted won't function for a non-efi install...

Comment 17 james 2022-08-30 11:03:19 UTC
@rharwood   I have also got the same issue on an installation of coreos on a raspberry pi, which does not have any files in /boot/efi.

I see that you have pushed a fix to the fedora37 rc branch, does that mean that we will have to wait until october's release for this issue to be fixed?

There are a lot of people experiencing the same issue, check https://ask.fedoraproject.org/t/fedora-silverblue-36-will-not-succesfully-deploy-after-layering-packages/25352/28

mtia.

Comment 18 Robbie Harwood 2022-09-01 20:49:02 UTC
No, it should be fixed in grub2 >= 2.06-43.fc36.  If it's not, please open a new bug because it's not the same one.

(While it's great that the ask.fedoraproject.org venue is being used, and I hope it is helpful to people, we don't get notified of issues unless they're filed in bugzilla or upstream.)


Note You need to log in before you can comment on or make changes to this bug.