Using RHEL 8 virtual disk images on a RHEL 7 host sometimes fails

Solution Verified - Updated -


  • On a RHEL 7 host, using libguestfs utilities such as guestfish, virt-sysprep, or virt-customize to access or modify a RHEL 8 virtual disk image fails if the disk image is using an XFS or ext4 file system.

  • For example:

# /usr/bin/virt-sysprep -a RHEL8.img
[   0.0] Examining the guest ...
virt-sysprep: warning: mount_options: mount exited with status 32: mount:
wrong fs type, bad option, bad superblock on /dev/mapper/rhel-root,
       missing codepage or helper program, or other error', '
       In some cases useful info is found in syslog - try
       dmesg | tail or so. (ignored)', 'virt-sysprep: warning: mount_options: mount: /boot: mount point is not a
       directory (ignored)
[  15.5] Performing "abrt-data" ...'] 
  • In RHV 4.3, it is not possible to create a template of RHEL8 guest due to this behavior


  • Red Hat Enterprise Linux 7
  • Red Hat Virtualization if RHEL 7 is used as the virtualization host
  • Red Hat Virtualization (RHV) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content