2

I have mounted .iso files to install software with Nautilus' Disk Image Mounter. I am interested in this functionality for Xubuntu 18.04 which is outfitted with the Thunar file manager.

Is there a similar utility or method to enable mounting the image to a fixed director, install software from disk1, unmount, mount disk 2, and finish the install?

gatorback
  • 5,785
  • 9
  • 40
  • 65

2 Answers2

2

My XFCE has Disks (gnome-disk-utility) installed, which includes gnome-disk-image-mounter.

Right-clicking on an .iso file in Thunar has the option to 'Open with "Disk Image Mounter"' (which doesn't mount but creates a loop device for the .iso file, but it then shows up in the DEVICES menu to click-to-mount & browse).

It looks like the same tool that Nautilus uses, but without the rest of Nautilus.


Or, you might be able to create a custom mount command for Thunar's Open With -> Open With Other Application... and use a little shell script to mkdir / mktemp -d a mount point, then mount %F tempdir...

Xen2050
  • 8,705
  • It works on Xubuntu 20.04. After installing gnome-disk-utility, new option shows up to mount disk images directly from Thunar open with menu. – Abinash Dash Jan 23 '22 at 10:10
1

You can always do it from a command line:

[sudo] mount -o loop the_disk_image the_mount_point
xenoid
  • 5,504