LinuxQuestions.org
Review your favorite Linux distribution.
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-03-2011, 10:17 AM   #16
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249

If your CentOS iso file is in the root (/) of your filesystem, put a forward slash (/) in front of the iso entry.

Quote:
/centos.iso /mnt/iso iso9660 loop,ro,auto 0 0
Then use the mount command to check it.

Last edited by yancek; 11-03-2011 at 10:19 AM.
 
1 members found this post helpful.
Old 11-04-2011, 05:02 AM   #17
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
thanks it mount the iso file by adding the entry into the /etc/fstab. One last thing which i want to discuss is when we manually mount the iso file

Code:
# mount -o loop centos.iso /mnt/iso
then how can i unmount it ? To unmount it i always reboot the system.Is there any way to unmount it ?

If I use

Code:
umount -o loop centos.iso /mnt/iso 
umount: invalid option -- o
How can I unmount it ?

thanks
 
Old 11-04-2011, 05:38 AM   #18
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by gardenair View Post
thanks it mount the iso file by adding the entry into the /etc/fstab. One last thing which i want to discuss is when we manually mount the iso file

Code:
# mount -o loop centos.iso /mnt/iso
then how can i unmount it ? To unmount it i always reboot the system.Is there any way to unmount it ?

If I use

Code:
umount -o loop centos.iso /mnt/iso 
umount: invalid option -- o
How can I unmount it ?

thanks
Code:
#umount (mounted_directory)
#umount /mnt/iso

#mount
(to check)

#df -h
(to check)
 
  


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
Not accepting the encryped file in fstab to mount win.. share through cifs raju.muppana Linux - Networking 3 06-25-2010 11:58 AM
Mount NTFS partition deeper in file system with fstab? fhsm Linux - Newbie 2 03-15-2010 11:38 PM
changing /tmp mount on fstab file with noexc emymcse Linux - Newbie 1 12-16-2007 06:54 PM
mount .iso (image) file and read *.avi file smartdragonfly Linux - Software 2 12-21-2006 05:48 AM
Can't mount .iso file stormrider_may Linux - Software 6 04-22-2006 07:41 PM


All times are GMT -5. The time now is 08:02 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