grub-bios: cannot install to xfs filesystem (patch included)
Steps to reproduce
Run `grub-install —target=i386-pc /dev/sda` with xfs as the root filesystem.
Expected behavior
Installation without error and a reboot to a working GRUB menu.
What actually happened
The `grub-install` command produced an error:
@
alpine:~$ sudo grub-install —target=i386-pc /dev/sda
Installing for i386-pc platform.
grub-install: error: unknown filesystem.
alpine:type:bug$
@
And a reboot resulted in a similar error being displayed with no sign of
a menu.
Patch?
Arch’s grub package works with an xfs root filesystem, they have apply a patch to fix a fault with xfs:
Hope this helps!
(from redmine: issue id 9375, created on 2018-09-03, closed on 2018-09-10)
- Changesets:
- Revision bc2b2f66 by Natanael Copa on 2018-09-04T06:25:14Z:
main/grub: fix install on xfs
ref #9375
- Revision 81078cb5 by Natanael Copa on 2018-09-04T06:48:40Z:
main/grub: fix install on xfs
fixes #9375