Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-21-2012, 01:54 AM   #1
LQ Newbie
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
Question Error trying to automount an ISO image from /etc/fstab

i am facing problem on mounting an .iso file in /etc/fstab

#vim /etc/fstab

LABEL=/home/mantu/rhel.iso /home/mantu/mounted iso9660 defaults 0 0

#mount -a
#/home/mantu/rhel.iso file or directory does not exists is the error i am getting...

please anyone help me...
Old 11-21-2012, 02:27 AM   #2
Registered: Nov 2011
Location: India
Distribution: RedHat, Cent OS, Fedora, Debian, Ubuntu
Posts: 106

Rep: Reputation: Disabled
mkdir /media/iso

vi /etc/fstab
Add the entry in the end of /etc/fstab file as below
/full_path/of/file.iso	/media/iso	udf,iso9660	user,loop	0	0
save the file
mount -a

ls -l /media/iso
The same way you can mount with /home/mantu/mounted dirctory.

Last edited by mandyapenguin; 11-21-2012 at 02:30 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How add a loopback DVD iso image to fstab?? carl0ski Linux - General 3 09-02-2011 03:55 PM
error when attempting to burn an iso image to DVD tvphil Linux - Hardware 22 07-07-2011 11:19 AM
Unable to Automount ISO image unless automount is running in foreground! swests Linux - General 4 05-22-2009 01:47 AM
CentOS 5.2 Automount isos in fstab \other methods that work?automount iso Frankly3D Linux - General 6 07-13-2008 01:34 PM
cdrecord error burning iso image mooreted Linux - General 8 04-19-2004 11:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration