Easy iso mount?

Message
Author
Metaphysik
Posts: 33
Joined: Fri Feb 01, 2019 12:34 pm

Easy iso mount?

#1 Post by Metaphysik »

Is there a program to right-click on an iso file to mount it as a virtual CD, similar to Windows on Linux? So nothing with console, mount etc? Unfortunately I have not found anything yet.

User avatar
fehlix
Developer
Posts: 12624
Joined: Wed Apr 11, 2018 5:09 pm

Re: Easy iso mount?

#2 Post by fehlix »

Metaphysik wrote: Sat Oct 28, 2023 9:20 pm Is there a program to right-click on an iso file to mount it as a virtual CD, similar to Windows on Linux? So nothing with console, mount etc? Unfortunately I have not found anything yet.
The package gnome-disk-utility provides such a right-click function.

User avatar
Adrian
Developer
Posts: 8876
Joined: Wed Jul 12, 2006 1:42 am

Re: Easy iso mount?

#3 Post by Adrian »

I prefer the console iso-mount...

User avatar
operadude
Posts: 848
Joined: Tue Nov 05, 2019 12:08 am

Re: Easy iso mount?

#4 Post by operadude »

Adrian wrote: Sun Oct 29, 2023 12:12 am I prefer the console iso-mount...
I would like to try "iso-mount", but I can't find it with:

Code: Select all

sudo apt-get install iso-mount
This is what I get:

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package iso-mount
I also tried "aptitude", and here's what I got:

Code: Select all

$ sudo aptitude install iso-mount
Couldn't find any package whose name or description matched "iso-mount"
Unable to apply some actions, aborting
Maybe it goes by a different name?

:confused:

User avatar
Adrian
Developer
Posts: 8876
Joined: Wed Jul 12, 2006 1:42 am

Re: Easy iso mount?

#5 Post by Adrian »

Sorry, my fault, it's "isomount", it also has the counterpart isoumount. You need to use sudo, for isomount you give the ISO file name as argument, for the isoumount you just run it without arguments and it umounts any ISO you might have mounted.

User avatar
Gabriel_M
Posts: 158
Joined: Tue Aug 13, 2019 7:21 pm

Re: Easy iso mount?

#6 Post by Gabriel_M »

AcetoneISO is a feature-rich and complete software application to manage CD/DVD images.
AcetoneISO will let You mount typical proprietary images formats of the Windows world such as ISO BIN NRG MDF IMG and do plenty of other things.

http://ftp.de.debian.org/debian/pool/ma ... _amd64.deb
Desktop Mobo: BIOSTAR model: B450MHP
CPU AMD Ryzen 3 3200G
RAM: 8 GiB 2667 MHz DDR4
Device-1: AMD Picasso/Raven 2
STORAGE:Gigabyte model: GP-GSTFS31480GNTD size: 447.13 GiB
DISTRO: MX-23.6_x64 Libretto XFCE 4.20

fan_of_LTS
Posts: 102
Joined: Sat Jun 13, 2020 11:49 am

Re: Easy iso mount?

#7 Post by fan_of_LTS »

I am currently in MX21. In Thunar, I selected Edit then Configure custom actions...

From somewhere on the Internet I found that using the command mkdir %f.mount & fuseiso %f %f.mount and Appearance Conditions *.iso with Other files checked gives me a right click option in Thunar to mount the ISO. After browsing the iso and doing your thing you can dismount with Thunar.

I think there was previous discussion on the forum about this but I have too much to catch up on today to look now. Hope this helps you.

User avatar
m_pav
Developer
Posts: 1745
Joined: Sun Aug 06, 2006 3:02 pm

Re: Easy iso mount?

#8 Post by m_pav »

@fan_of_LTS That works for mounting but on umount, the temporary mount point made from the name of the ISO in the same dir as the ISO is not removed, so it needs a follow up removal of the empty folders.

Compared to the command @Adrian gave, the isomount mounts the ISO at /mnt/iso and the isoumount also doesn't remove the folders it created, but I would hasten to say it is not at all a bad thing because /mnt/iso can be recycled the next time the isomount tool is used. One area where isomount is superior is when it mounts one of our own Live ISO's, the squashfs file that contains the full build as it will be on the disk when installed to /mnt/iso/sq1/ so we get to peruse the contents of the compressed filesystem contained within the Live ISO image.

isoumount like the Thunar Context Menu command does not remove the new directories, but they can be recycled for the next time an ISO is mounted.

both are good and have their benefits, just gotta keep in mind the cleanup ;)
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Easy iso mount?

#9 Post by BitJam »

m_pav wrote: Sun Oct 29, 2023 9:36 pmCompared to the command @Adrian gave, the isomount mounts the ISO at /mnt/iso and the isoumount also doesn't remove the folders it created, but I would hasten to say it is not at all a bad thing because /mnt/iso can be recycled the next time the isomount tool is used. One area where isomount is superior is when it mounts one of our own Live ISO's, the squashfs file that contains the full build as it will be on the disk when installed to /mnt/iso/sq1/ so we get to peruse the contents of the compressed filesystem contained within the Live ISO image.

isoumount like the Thunar Context Menu command does not remove the new directories, but they can be recycled for the next time an ISO is mounted.

both are good and have their benefits, just gotta keep in mind the cleanup ;)
The isomount program is supposed to remove subdirectories under /mnt/iso/ when their contents are unmounted. If this is not happening (and none of the subdirectories under the mount point are in use) then this is a bug that crept in, perhaps due to changes in the system. Running isoumount again might be a temporary work-around. Every successful umount is followed by an rmdir but the umount command can be a little weird, perhaps returning before the umount is complete. One band-aid might be to add a polling loop with a 10 ms delay that waits up to one second before concluding the file system was not unmounted.

The /mnt/iso/ directory is mounted as tmpfs so all of its subdirectories should disappear automatically when the system shuts down.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

User avatar
operadude
Posts: 848
Joined: Tue Nov 05, 2019 12:08 am

Re: Easy iso mount?

#10 Post by operadude »

Adrian wrote: Sun Oct 29, 2023 9:11 am Sorry, my fault, it's "isomount", it also has the counterpart isoumount. You need to use sudo, for isomount you give the ISO file name as argument, for the isoumount you just run it without arguments and it umounts any ISO you might have mounted.
Thanks!

Yeah,

Code: Select all

man isomount
produces the manual information, which tells me that it's already installed on my system.

Will give it a go!

And thanks to everyone else for the feedback/comments.

As per usual, always learning :happy:

Post Reply

Return to “General”