Bug 230453

Summary: sysutils/grub2-bhyve: doesn't work on a CRC enabled file-system
Product: Ports & Packages Reporter: Victor Sudakov <vas>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Some People CC: 0mp, vas
Priority: --- Keywords: bhyve
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
centos7.conf
none
grub.cfg
none
device.map none

Description Victor Sudakov 2018-08-08 10:51:46 UTC
Created attachment 196003 [details]
centos7.conf

grub2-bhyve-0.40_4 doesn't work on a CRC enabled file-system, for this reason I cannot boot Centos 7 in bhyve with the following message:

error: not a correct XFS inode.
error: not a correct XFS inode.
error: file `/vmlinuz-3.10.0-327.el7.x86_64' not found.

Can we somehow upgrade this port to support the modern Centos CRC-enabled /boot ?
Comment 1 Victor Sudakov 2018-08-08 10:52:42 UTC
Created attachment 196004 [details]
grub.cfg
Comment 2 Victor Sudakov 2018-08-08 10:53:23 UTC
Created attachment 196005 [details]
device.map
Comment 3 Victor Sudakov 2018-08-08 10:56:50 UTC
root@vas:/d02/vm/centos7 # gpart show md0
=>      63  41942977  md0  MBR  (20G)
        63      1985       - free -  (993K)
      2048   2097152    1  linux-data  [active]  (1.0G)
   2099200   4194304    2  linux-swap  (2.0G)
   6293504  35649536    3  linux-data  (17G)

root@vas:/d02/vm/centos7 # file /dev/md0s1
/dev/md0s1: character special (0/193)
root@vas:/d02/vm/centos7 # file -s /dev/md0s1
/dev/md0s1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)
root@vas:/d02/vm/centos7 #