ERROR: unsupported sector size 4096 on /dev/dm-1

When I do sudo update-grub in terminal
at the end I see this error:


Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: unsupported sector size 4096 on /dev/dm-1.

How do I fix this error?

Did you ever solve this? I just got the exact same error, also on an encrypted system.

No, I never solved it. It’s still the same

Note:

I am not really sure exactly what this means, but here it is anyway:

It happens because os-prober calls dmraid for every partition, but it doesn’t support 4k sectors, and yields to stderr.

[Bug 1441930] Re: Fix handling of multipathed disks with 4k-sectors

:person_facepalming:
I have a memory card reader connected to that laptop. When I unplug that, the error is gone.

Welp, now we know, at least