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, 09:17 AM   #16
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488

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 09:19 AM.
 
1 members found this post helpful.
Old 11-04-2011, 04:02 AM   #17
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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, 04:38 AM   #18
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
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 10:58 AM
Mount NTFS partition deeper in file system with fstab? fhsm Linux - Newbie 2 03-15-2010 10:38 PM
changing /tmp mount on fstab file with noexc emymcse Linux - Newbie 1 12-16-2007 05:54 PM
mount .iso (image) file and read *.avi file smartdragonfly Linux - Software 2 12-21-2006 04:48 AM
Can't mount .iso file stormrider_may Linux - Software 6 04-22-2006 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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
Open Source Consulting | Domain Registration