Showing posts with label Iso Files. Show all posts
Showing posts with label Iso Files. Show all posts

Thursday, February 2, 2012

Linux: mounting an iso image - at booting...

Differently to the previous post,
now we proceed to setup the system to auto mount an iso image at the system booting....
Suppose you have an iso image file:

/home/user/your_cd_or_dvd_backup.iso

Create a directory:

mkdir /home/user/your_backup

Open the file /etc/fstab and add the current row:


/home/user/your_cd_or_dvd_backup.iso  /home/user/your_backup udf,iso9660 loop 00
 
This row provides to auto-mount the iso file every time you restart the system.

Bye.

Linux: mounting an iso image - one shot....

Suppose you have an iso file:

/home/user/your_cd_or_dvd_backup.iso

Create a directory:

mkdir /home/user/your_backup

and as root execute the following command to mount it:

mount -o loop /home/user/your_cd_or_dvd_backup.iso /home/user/your_backup


Bye