LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting iso error (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-iso-error-4175424486/)

jazzo 08-28-2012 05:49 PM

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

Renante 08-28-2012 06:05 PM

Quote:

Originally Posted by jazzo (Post 4766869)
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

seeberg 08-28-2012 06:14 PM

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

chrism01 08-28-2012 06:18 PM

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


jazzo 08-29-2012 03:12 PM

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

chrism01 08-29-2012 06:06 PM

You've missed out 'loop' ; -o means --options and a drive/mnt pt is not an option
http://linux.die.net/man/8/mount

jazzo 08-30-2012 01:12 PM

oops sorry, it works now
thanks


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