title: How can I attach a VHDx or VHD file in Linux?
body: <p>How can I attach a VHDX or VHD file in Linux?</p>
  
  <p>I mean attach the virtual hard disk as a block device, and use external tools to read these devices.</p>
  
  <p>The filesystem inside is not mountable. I do not need to mount the filesystem, but deal with it as if it was on a real hard disk.</p>
  
  <p>I read the manual page of <code>guestfish</code>, but could not find how to do it.</p>