grub-mkconfig can't properly setup f2fs root fs
My Alpine (edge) system uses f2fs root file system. After new grub
trigger subsystem, my system became non bootable.
I noticed that grub.cfg configuration uses static device names instead
of partition UUID.
My file system is f2fs and it seems this issue is not affected ext4 root file system (tested).
According to my working setup, grub.cfg must be generated as
linux /vmlinuz-vanilla root=UUID=... rootfstype=f2fs
instead
linux /vmlinuz-vanilla root=/dev/sdc3
(from redmine: issue id 9903, created on 2019-01-24, closed on 2019-01-29)
- Changesets:
- Revision cb5d66df by Natanael Copa on 2019-01-24T18:01:30Z:
main/grub: add post-ugprade to import default config
import boot options to /etc/default/grub on upgrade to make sure we can
still boot.
ref #9903
- Revision 26b88dbc by Natanael Copa on 2019-01-25T16:01:44Z:
main/grub: backport f2fs support
fixes #9903