Project

General

Profile

Bug #9375

grub-bios: cannot install to xfs filesystem (patch included)

Added by Matthew Hoare 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/03/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:

Description

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:~1$

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:

https://git.archlinux.org/svntogit/packages.git/plain/trunk/0009-xfs-Accept-filesystem-with-sparse-inodes.patch?h=packages/grub

Hope this helps!

Associated revisions

Revision bc2b2f66 (diff)
Added by Natanael Copa 5 months ago

main/grub: fix install on xfs

ref #9375

Revision 81078cb5 (diff)
Added by Natanael Copa 5 months ago

main/grub: fix install on xfs

fixes #9375

History

#1 Updated by Natanael Copa 5 months ago

  • Target version set to 3.8.1

#2 Updated by Natanael Copa 5 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by Natanael Copa 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF