help with mounting images please!

Discussion in 'Linux' started by Makavelian87, Jul 4, 2009.

  1. Makavelian87

    Makavelian87

    Joined:
    Jul 4, 2009
    Messages:
    3
    Likes Received:
    0
    Ok so im really new to linux and im only just getting used to it. I need help with mounting a game image so i can play it on my netbook, ive made the file into a .mdf file. Heres some details which may make it easier for people to help me.
    Im using linpus.
    the file is found here My Disk:///Documents/RC2.mdf
    when ive tried other methods ive found on the internet to mount i get this message (first ill show you the command i used)
    # mount -o loop My Disk:///Documents/RCT2.mdf /mnt/image

    This is the message i recieve:
    Usage: mount -V : print version
    mount -h : print this help
    mount : list mounted filesystems
    mount -l : idem, including volume labels
    So far the informational part. Next the mounting.
    The command is `mount [-t fstype] something somewhere'.
    Details found in /etc/fstab may be omitted.
    mount -a [-t|-O] ... : mount all stuff from /etc/fstab
    mount device : mount device at the known place
    mount directory : mount known device here
    mount -t type dev dir : ordinary mount command
    Note that one does not really mount a device, one mounts
    a filesystem (of the given type) found on the device.
    One can also mount an already visible directory tree elsewhere:
    mount --bind olddir newdir
    or move a subtree:
    mount --move olddir newdir
    One can change the type of mount containing the directory dir:
    mount --make-shared dir
    mount --make-slave dir
    mount --make-private dir
    mount --make-unbindable dir
    One can change the type of all the mounts in a mount subtree
    containing the directory dir:
    mount --make-rshared dir
    mount --make-rslave dir
    mount --make-rprivate dir
    mount --make-runbindable dir
    A device can be given by name, say /dev/hda1 or /dev/cdrom,
    or by label, using -L label or by uuid, using -U uuid .
    Other options: [-nfFrsvw] [-o options] [-p passwdfd].
    For many more details, say man 8 mount .
    [root@localhost Documents]#

    Being a linux noob i have no idea what all this means, any help will be greatly appreciated, thanks in advance.
     
    Makavelian87, Jul 4, 2009
    #1
  2. Makavelian87

    m4xr8d

    Joined:
    Jan 27, 2009
    Messages:
    22
    Likes Received:
    0
    Well there could be several problems.
    The first is you have spaces in your filename. Linux does not like spaces. When it sees a space it expects a new variable,switch,option.command, so it doesn't see a file's location. This is easily fixed by placing the location in quotation marks. So this
    # mount -o loop My Disk:///Documents/RCT2.mdf /mnt/image
    would become this
    # mount -o loop "My Disk:///Documents/RCT2.mdf" /mnt/image

    The second problem I might see is the actual location of the image file. You probably copy/pasted what was in the location bar of whatever file manager your using, this would be fine if it was an absolute location. An absolute would be something like
    /home/username/Documents/RCT2.mdf
    and not this
    My Disk:///Documents/RCT2.mdf

    Also I use this command to mount mdf/iso images.
    mount /path/to/mdf_or_iso /path/mount_directory -o loop=/dev/loop0

    So remember, no spaces in filenames unless you use quotation marks, and absolute locations. This is for all commands not just the mount command.
     
    m4xr8d, Jul 5, 2009
    #2
  3. Makavelian87

    Makavelian87

    Joined:
    Jul 4, 2009
    Messages:
    3
    Likes Received:
    0
    Thank you so much you are a legend. After abit of messing about with the filename and where i was mounting the file i finally got it to work. Again thank you so much :D
     
    Makavelian87, Jul 5, 2009
    #3
  4. Makavelian87

    m4xr8d

    Joined:
    Jan 27, 2009
    Messages:
    22
    Likes Received:
    0
    I'm glad I could be of some assistance.

    Enjoy Linux
     
    m4xr8d, Jul 5, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.