LinuxQuestions.org
Visit Jeremy's Blog.
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 08-28-2012, 06:49 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Rep: Reputation: Disabled
mounting iso error


Hi there, I am trying to mount an iso on my laptop ubuntu12.04. I have copied the iso file on the desktop and the folder I want to copy it to is on the desktop too it's called isos. I run
Code:
antobbo@antobbo-xps17-ubuntu:~/Desktop$ sudo mount -o Driving_Test_Success_All_Tests_Ultimate_2011_DVD.iso
only to get this error:

Code:
mount: can't find isos in /etc/fstab or /etc/mtab
Any idea at all?
thanks
 
Old 08-28-2012, 07:05 PM   #2
Renante
LQ Newbie
 
Registered: Aug 2012
Location: Ottawa ON, Canada
Distribution: Red Hat Enterprise Linux 6.3 Server
Posts: 13

Rep: Reputation: 2
Quote:
Originally Posted by jazzo View Post
Hi there, I am trying to mount an iso on my laptop ubuntu12.04. I have copied the iso file on the desktop and the folder I want to copy it to is on the desktop too it's called isos. I run
Code:
antobbo@antobbo-xps17-ubuntu:~/Desktop$ sudo mount -o Driving_Test_Success_All_Tests_Ultimate_2011_DVD.iso
only to get this error:

Code:
mount: can't find isos in /etc/fstab or /etc/mtab
Any idea at all?
thanks
Try this:
sudo mkdir -p /mnt/disk
sudo mount -o Driving_Test_Success_All_Tests_Ultimate_2011_DVD.iso /mnt/disk

browse: cd /mnt/disk then ls -l
 
Old 08-28-2012, 07:14 PM   #3
seeberg
LQ Newbie
 
Registered: Sep 2010
Posts: 14

Rep: Reputation: 3
Why -o with no option specified?
If the .iso file holds a filesystem i would do like this:
mount -o loop -t iso9660 file.iso /mnt/test
 
Old 08-28-2012, 07:18 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
These work for me
Code:
mount -o loop /mnt/isos/CentOS-6.3-x86_64-bin-DVD1.iso /mnt/isos/repo/1
mount -o loop /mnt/isos/CentOS-6.3-x86_64-bin-DVD2.iso /mnt/isos/repo/2
 
Old 08-29-2012, 04:12 PM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
hi all here's the output:


Code:
antobbo@antobbo-xps17-ubuntu:/$ ls
bin   cdrom  etc   initrd.img      lib    lib64       media  opt   root  sbin     srv  tmp  var      vmlinuz.old
boot  dev    home  initrd.img.old  lib32  lost+found  mnt    proc  run   selinux  sys  usr  vmlinuz
antobbo@antobbo-xps17-ubuntu:/$ sudo mount -o Driving_Test_Success_All_Tests_Ultimate_2011_DVD.iso /mnt/disk
mount: can't find /mnt/disk in /etc/fstab or /etc/mtab
antobbo@antobbo-xps17-ubuntu:/$ sudo mkdir -p /mnt/disk
antobbo@antobbo-xps17-ubuntu:/$ sudo mount -o Driving_Test_Success_All_Tests_Ultimate_2011_DVD.iso /mnt/disk
mount: can't find /mnt/disk in /etc/fstab or /etc/mtab
antobbo@antobbo-xps17-ubuntu:/$
no joy I am afraid. somehow it doesn't find the folder I have just created....odd any idea?
thanks
 
Old 08-29-2012, 07:06 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
You've missed out 'loop' ; -o means --options and a drive/mnt pt is not an option
http://linux.die.net/man/8/mount
 
Old 08-30-2012, 02:12 PM   #7
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
oops sorry, it works now
thanks
 
  


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
When mounting cd-image files the ISO unpacks and iso-inates it self Hevithan Linux - Newbie 6 05-04-2012 10:14 AM
creating dvd iso out of cd iso(s) + genisoimage error speedhunt3r Linux - Software 0 04-14-2009 04:26 PM
LXer: Mounting ISO Images With Furius ISO Mount On Ubuntu 8.04 Desktop LXer Syndicated Linux News 0 09-26-2008 05:30 PM
iso mounting help tcebak Linux - Newbie 2 03-12-2007 06:28 AM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM


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