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 04-02-2005, 08:55 PM   #1
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
problem mounting an iso


i have mandrake 10.1

im trying to mount an iso of a windows game so i can play install it on my computer. i have the command i guess i need to use to mount it but i need to replace something with my image name and some other thing that i have no clue what its talking about. this is the command

mount -t iso9660 -o loop some+AF8-disc 1.iso/mnt

disc 1.iso is the disc
 
Old 04-02-2005, 09:11 PM   #2
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
oh Lord.....

here we go..

this should do it:
mount -t iso9660 -o loop disc\ 1.iso /mnt

mount -> command
-t iso9660 -> says to the mount command that the FS to be read is iso9660
-o loop -> says to the mount command that the disc 1.iso is not a real block device, is a device inside a device (loop)
disco\ 1.iso -> gives the device (in this case a file) to be mounted (i putted an \ because you the file name has an space in that place)
/mnt -> mount point

"man mount" without the quotes for more details

Last edited by cyruspy; 04-02-2005 at 09:13 PM.
 
Old 04-02-2005, 09:28 PM   #3
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
i tried that and it told me "disc1.iso no such file or directory" i put the command "mount -t iso9660 -o loop disc\ 1.iso /mnt"

next i tried removing the space in the file name but it still gave me the same file or dir does not exist

mount -t iso9660 -o loop disc1.iso /mnt

something to keep in mind is that i have no idea how to read code or what any of it means. so if you tell me a line of code that needs to be told a directory i wont know
 
Old 04-02-2005, 11:00 PM   #4
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Rep: Reputation: 30
I don't think it's advisable(or maybe even possible to mount on /mnt) make a directory by typing: mkdir /mnt/foldername as root. you can do mkdir /mnt/iso and mount it there, but I even think if you mount it on your cdrom folder(/mnt/cdrom/ or whatever) will be fine.

Last edited by PhuckFonix; 04-02-2005 at 11:02 PM.
 
Old 04-02-2005, 11:01 PM   #5
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
type

Code:
mount -t iso9660 -o loop disc
right there press tab key twice, it will complete the file name for you, then complete the command with

Code:
/mnt
you can do the move using this method before mounting the iso

Code:
mv disc<TAB><TAB> disc1.iso

Last edited by cyruspy; 04-02-2005 at 11:02 PM.
 
Old 04-03-2005, 01:40 PM   #6
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
ok i got past getting the command correct now i have a new problem

mount -t iso9660 -o loop Disc1.mdf /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

i also made a directory "iso" and tried that same line with /mnt/iso and it gave the same error
 
Old 04-03-2005, 03:55 PM   #7
Ordinary_User
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by cyruspy
oh Lord.....

here we go..

this should do it:
mount -t iso9660 -o loop disc\ 1.iso /mnt

mount -> command
-t iso9660 -> says to the mount command that the FS to be read is iso9660
-o loop -> says to the mount command that the disc 1.iso is not a real block device, is a device inside a device (loop)
disco\ 1.iso -> gives the device (in this case a file) to be mounted (i putted an \ because you the file name has an space in that place)
/mnt -> mount point

"man mount" without the quotes for more details
Thank you for your reply to the question (allthough it wasn't my question originally)!
I wanted to know how to mount an iso-file and it worked perfectly!

/Freddy
 
Old 04-03-2005, 09:43 PM   #8
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
can anyone tell me what the most recent error i got means? the files im mounting are .MDF so would that mean i need to type the command different or should i change it to an iso file?
 
Old 04-03-2005, 09:45 PM   #9
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
Quote:
Originally posted by PhuckFonix
I don't think it's advisable(or maybe even possible to mount on /mnt) make a directory by typing: mkdir /mnt/foldername as root. you can do mkdir /mnt/iso and mount it there, but I even think if you mount it on your cdrom folder(/mnt/cdrom/ or whatever) will be fine.
Well, it's possible, in fact you can mount it anywhere. /mnt is exactly to mount a temporary FS. Take a look at the FHS v2.3

http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE13
Quote:
/mnt : Mount point for a temporarily mounted filesystem
Purpose

This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run.

This directory must not be used by installation programs: a suitable temporary directory not in use by the system must be used instead.
 
Old 04-03-2005, 09:52 PM   #10
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
thats good to know i will remember that in the future but it doesnt exactly help me right now. this is the error i get
mount -t iso9660 -o loop Disc1.mdf /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
it happens no matter what the directory i tell it to mount to. i think it is because the file is a .mdf
 
Old 04-03-2005, 09:53 PM   #11
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
Quote:
Originally posted by weepenguin
ok i got past getting the command correct now i have a new problem

mount -t iso9660 -o loop Disc1.mdf /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

i also made a directory "iso" and tried that same line with /mnt/iso and it gave the same error
Exactly what there says...
And mdf file is and image writen by Alcohol-120%, it's not an iso image. You must use an iso image. You could try http://mdf2iso.berlios.de/, or another converter
 
Old 04-03-2005, 09:56 PM   #12
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
Question

Quote:
Originally posted by Ordinary_User
Thank you for your reply to the question (allthough it wasn't my question originally)!
I wanted to know how to mount an iso-file and it worked perfectly!

/Freddy
 
Old 04-03-2005, 10:06 PM   #13
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
If it is a .mdf file I believe it needs to be converted to an true iso format. Check out this for converting the file. http://mdf2iso.berlios.de/.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 04-04-2005, 12:15 AM   #14
weepenguin
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
the only versions i can find are all just source code. any sites i find with the RPM for it have been broken in some way
 
Old 04-07-2005, 10:19 PM   #15
cyruspy
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
ftp://ftp.ntua.gr/pub/linux/mandrake...-1mdk.i586.rpm
 
  


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
Mounting an *.iso... darkarcon2015 Slackware 14 10-25-2005 06:01 PM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Mounting ISO problem! c0nsur Debian 3 09-16-2004 12:50 PM
Problem with mounting *.iso rdmenotte Linux - General 5 08-10-2004 12:17 PM
iso mounting enis2002 Slackware 4 04-16-2002 09:25 PM


All times are GMT -5. The time now is 09:52 AM.

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