Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i've been trying to mount an .iso according to a guide i read here, but every time i run the command sudo mount -o loop /home/varbo/Downlaods/Windows 7 Ultimate SP1.iso /media/iso i get the same (usage) error:

Usage: mount -V                 : print version

... usage and options deleted ....

Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .

Any kind of help would be appreciated.

share|improve this question
    
See similar question: askubuntu.com/questions/164227/how-to-mount-an-iso-file/…. –  landroni Jan 27 at 22:59
1  
@landroni true, but the crux of the OP problem is spaces in the file name. –  bodhi.zazen Jan 27 at 23:01

2 Answers 2

up vote 1 down vote accepted

The problem here's that you can't have spaces among the command or the terminal interprets it as a separate command/statement, what you have to do is rather simeple, just rename your file from Windows 7 Ultimate SP1.iso to Windows_7_Ultimate_SP1.iso, and do the same with command.

The command should look like this sudo mount -o loop /home/varbo/Downlaods/Windows_7_Ultimate_SP1.iso /media/iso

I hope this helps, good luck.

share|improve this answer
1  
although you can rename the file, consider education the OP on how to use spaces in file names if they so desire. –  bodhi.zazen Jan 27 at 22:22
    
I'll keep it in mind for future reference, thanks for taking the time to give me the advice. –  Minnen Jan 27 at 22:26

Your iso has spaces, so you have to quote or escape them:

sudo mount -o loop '/home/varbo/Downlaods/Windows 7 Ultimate SP1.iso' /media/iso

or

sudo mount -o loop /home/varbo/Downlaods/Windows\ 7\ Ultimate\ SP1.iso /media/iso

The spaces will be automatically escaped if you use tab completion

sudo mount -o loop /home/varbo/Downlaods/WindowsTabTab /media/iso

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.