Mount e Umount immagini ISO senza masterizzare

Mi è capitato nei giorni scorsi di dover usare un file .iso
un’immagine di un DVD che avevo backuppato.
Grazie alla lettura di questo articolo su Debian Admin tutto è parso più facile
e con un semplice
mount -o loop -t iso9660 immagine.iso /mnt/iso/
ho montato il file , e da vlc non ho avuto problemi a visualizzare il film
umount /mnt/iso
per smontare l’immagine

Nel link di dell’ articolo su Debian Admin compare anche un’altro trucco
che permette di inserire le opzioni di mount e umount direttamente in nautilus
ma io sono un utente KDE e non ho potuto usufruire ti ciò.
Riguardo il montaggio manuale , indipendente dal DE riporto parte dell’articolo :

Using loop Kernel Module

First you need to make the directory to put the ISO into using the following command

sudo mkdir /media/isoimage

Now you need to add the loop module to your kernel.

What kernel loop module does?

I want to give brief introduction to kernel loop module.Using the module loop it is possible to mount a filesystem file. squashfs is a “loop” with (de)compression (Compressed Loopback Device) and it is possible to mount a compressed filesystem like a block device and seamlessly decompress its data while accessing it.

Use the following command to load loop module

sudo modprobe loop

Mount ISO Image

If you want to mount you need to use the following command

sudo mount debianetch.iso /media/isoimage/ -t iso9660 -o loop

In the above command you can replace debianetch.iso to your own iso image.

Now you should have your iso file mounted, and accessible from your desktop.

Unmount ISO Image

Unmount ISO Image Using the following command

sudo umount /media/isoimage

Rispondi

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.