Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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
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.
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
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!
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?
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
/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.
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
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.