LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-21-2012, 12:54 AM   #1
kpadhy90
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 ....it is the error i am getting...

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

Rep: Reputation: Disabled
Code:
mkdir /media/iso

vi /etc/fstab
Add the entry in the end of /etc/fstab file as below
Code:
/full_path/of/file.iso	/media/iso	udf,iso9660	user,loop	0	0
save the file
Code:
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 01:30 AM.
 
  


Reply


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 02:55 PM
error when attempting to burn an iso image to DVD tvphil Linux - Hardware 22 07-07-2011 10:19 AM
Unable to Automount ISO image unless automount is running in foreground! swests Linux - General 4 05-22-2009 12:47 AM
CentOS 5.2 Automount isos in fstab \other methods that work?automount iso Frankly3D Linux - General 6 07-13-2008 12:34 PM
cdrecord error burning iso image mooreted Linux - General 8 04-19-2004 10:57 AM


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

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