Bug#1021846: [programmer11180 at programist.ru: Bug#1021846: grub-install is broken since 2.06-3: error: unknown filesystem]

Christian Hesse list at eworm.de
Fri Dec 9 07:17:24 GMT 2022


Daniel Axtens <dja at axtens.net> on Sat, 2022/12/03 01:41:
> Please try the following:
> 
> diff --git a/grub-core/fs/f2fs.c b/grub-core/fs/f2fs.c
> index df6beb544cbd..855e24618c2b 100644
> --- a/grub-core/fs/f2fs.c
> +++ b/grub-core/fs/f2fs.c
> @@ -650,7 +650,7 @@ get_blkaddr_from_nat_journal (struct grub_f2fs_data
> *data, grub_uint32_t nid, grub_uint16_t n = grub_le_to_cpu16
> (data->nat_j.n_nats); grub_uint16_t i;
>  
> -  if (n >= NAT_JOURNAL_ENTRIES)
> +  if (n > NAT_JOURNAL_ENTRIES)
>      return grub_error (GRUB_ERR_BAD_FS,
>                         "invalid number of nat journal entries");

I have a confirmation in Arch downstream bug report that this indeed does
fix the issue.

https://bugs.archlinux.org/task/76168#comment213505

Pleas commit into master. Thanks a lot!
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20221209/b67e9627/attachment.sig>


More information about the Pkg-grub-devel mailing list