FS#76168 - [grub] In versions 2:2.06.r261 and later, an error: unknown filesystem appears for f2fs partitions.
Attached to Project:
Arch Linux
Opened by sommio (sommio) - Tuesday, 11 October 2022, 09:55 GMT
Last edited by Christian Hesse (eworm) - Friday, 09 December 2022, 07:32 GMT
Opened by sommio (sommio) - Tuesday, 11 October 2022, 09:55 GMT
Last edited by Christian Hesse (eworm) - Friday, 09 December 2022, 07:32 GMT
|
Details
Description:
Let's start with core/grub 2:2.06-5 [code] ❯ pacman -Qi grub Name : grub Version : 2:2.06-5 Description : GNU GRand Unified Bootloader (2) Architecture : x86_64 URL : https://www.gnu.org/software/grub/ Licenses : GPL3 Groups : None Provides : grub-common grub-bios grub-emu grub-efi-x86_64 Depends On : sh xz gettext device-mapper Optional Deps : freetype2: For grub-mkfont usage [installed] fuse2: For grub-mount usage [installed] dosfstools: For grub-mkrescue FAT FS and EFI support [installed] lzop: For grub-mkrescue LZO support efibootmgr: For grub-install EFI support [installed] libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue os-prober: To detect other OSes when generating grub.cfg in BIOS systems [installed] mtools: For grub-mkrescue FAT FS support [installed] Required By : None Optional For : None Conflicts With : grub-common grub-bios grub-emu grub-efi-x86_64 grub-legacy Replaces : grub-common grub-bios grub-emu grub-efi-x86_64 Installed Size : 34.10 MiB Packager : Christian Hesse <eworm@archlinux.org> Build Date : Mon 28 Mar 2022 16:27:03 CST Install Date : Tue 11 Oct 2022 17:32:08 CST Install Reason : Explicitly installed Install Script : Yes Validated By : None ❯ sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=archlinux Installing for x86_64-efi platform. Installation finished. No error reported. ❯ sudo grub-probe -d /dev/sda2 f2fs [/code] Everything is normal... When I updated to core/grub 2:2.06.r334 [code] ❯ pacman -Qi grub Name : grub Version : 2:2.06.r334.g340377470-1 Description : GNU GRand Unified Bootloader (2) Architecture : x86_64 URL : https://www.gnu.org/software/grub/ Licenses : GPL3 Groups : None Provides : grub-common grub-bios grub-emu grub-efi-x86_64 Depends On : sh xz gettext device-mapper Optional Deps : freetype2: For grub-mkfont usage [installed] fuse2: For grub-mount usage [installed] dosfstools: For grub-mkrescue FAT FS and EFI support [installed] lzop: For grub-mkrescue LZO support efibootmgr: For grub-install EFI support [installed] libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue os-prober: To detect other OSes when generating grub.cfg in BIOS systems [installed] mtools: For grub-mkrescue FAT FS support [installed] Required By : None Optional For : None Conflicts With : grub-common grub-bios grub-emu grub-efi-x86_64 grub-legacy Replaces : grub-common grub-bios grub-emu grub-efi-x86_64 Installed Size : 33.02 MiB Packager : Christian Hesse <eworm@archlinux.org> Build Date : Wed 05 Oct 2022 23:20:09 CST Install Date : Tue 11 Oct 2022 17:46:41 CST Install Reason : Explicitly installed Install Script : Yes Validated By : Signature ❯ sudo grub-probe -d /dev/sda2 grub-probe: error: unknown filesystem. ❯ sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=archlinux Installing for x86_64-efi platform. grub-install: error: unknown filesystem. [/code] OR core/grub 2:2.06.r261 [code] ❯ sudo pacman -Qi grub Name : grub Version : 2:2.06.r261.g2f4430cc0-1 Description : GNU GRand Unified Bootloader (2) Architecture : x86_64 URL : https://www.gnu.org/software/grub/ Licenses : GPL3 Groups : None Provides : grub-common grub-bios grub-emu grub-efi-x86_64 Depends On : sh xz gettext device-mapper Optional Deps : freetype2: For grub-mkfont usage [installed] fuse2: For grub-mount usage [installed] dosfstools: For grub-mkrescue FAT FS and EFI support [installed] lzop: For grub-mkrescue LZO support efibootmgr: For grub-install EFI support [installed] libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue os-prober: To detect other OSes when generating grub.cfg in BIOS systems [installed] mtools: For grub-mkrescue FAT FS support [installed] Required By : None Optional For : None Conflicts With : grub-common grub-bios grub-emu grub-efi-x86_64 grub-legacy Replaces : grub-common grub-bios grub-emu grub-efi-x86_64 Installed Size : 32.88 MiB Packager : Christian Hesse <eworm@archlinux.org> Build Date : Wed 08 Jun 2022 21:46:04 CST Install Date : Tue 11 Oct 2022 17:50:21 CST Install Reason : Explicitly installed Install Script : Yes Validated By : Signature ❯ sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=archlinux Installing for x86_64-efi platform. grub-install: error: unknown filesystem. ❯ sudo grub-probe -d /dev/sda2 grub-probe: error: unknown filesystem. [/code] Additional info: * core/grub 2:2.06.r261 and later * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1. Install 2.06.r261 or later of core/grub 2. sudo grub-probe -d F2FS_PARTITION |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 09 December 2022, 07:32 GMT
Reason for closing: Fixed
Additional comments about closing: grub 2:2.06.r403.g7259d55ff-1
Friday, 09 December 2022, 07:32 GMT
Reason for closing: Fixed
Additional comments about closing: grub 2:2.06.r403.g7259d55ff-1
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=4bd9877f62166b7e369773ab92fe24a39f6515f8
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=deae293f399dde3773cf37dfa9b77ca7e04ef772
Can you check your filesystem, please?
And can you build and test a package with these two reverted to verify?
https://pkgbuild.com/~eworm/grub-2:2.06.r380.g151467888-1.1-x86_64.pkg.tar.zst
It was built with what is probably the fix:
https://lists.gnu.org/archive/html/grub-devel/2022-12/msg00041.html
f2fs
It's working fine now, thank you very much!
❯ pacman -Qi grub
Name : grub
Version : 2:2.06.r380.g151467888-1.1
Description : GNU GRand Unified Bootloader (2)
Architecture : x86_64
URL : https://www.gnu.org/software/grub/
Licenses : GPL3
Groups : None
Provides : grub-common grub-bios grub-emu grub-efi-x86_64
Depends On : sh xz gettext device-mapper
Optional Deps : freetype2: For grub-mkfont usage [installed]
fuse2: For grub-mount usage [installed]
dosfstools: For grub-mkrescue FAT FS and EFI support
[installed]
lzop: For grub-mkrescue LZO support
efibootmgr: For grub-install EFI support [installed]
libisoburn: Provides xorriso for generating grub rescue iso
using grub-mkrescue
os-prober: To detect other OSes when generating grub.cfg in
BIOS systems [installed]
mtools: For grub-mkrescue FAT FS support [installed]
Required By : None
Optional For : None
Conflicts With : grub-common grub-bios grub-emu grub-efi-x86_64
grub-legacy
Replaces : grub-common grub-bios grub-emu grub-efi-x86_64
Installed Size : 33.12 MiB
Packager : Christian Hesse <eworm@archlinux.org>
Build Date : Wed 07 Dec 2022 23:54:16 CST
Install Date : Fri 09 Dec 2022 13:38:39 CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None