Results 1 to 4 of 4

Thread: How can I mount this file?

  1. #1
    Join Date
    Jan 2012
    Beans
    1

    Talking How can I mount this file?

    Hi guys! I need to mount this file:
    Code:
    file image23 
    image23: x86 boot sector; partition 1: ID=0x7, active, starthead 32, startsector 2048, 20967424 sectors, code offset 0xc0, OEM-ID "      м", Bytes/sector 190, sectors/cluster 124, reserved sectors 191, FATs 6, root entries 185, sectors 64514 (volumes  32 MB) , physical drive 0x7e, dos < 4.0 BootSector (0x0
    )

    I'm not sure if I can mount this file, I tried with -t vfat but launch an error. In dmesg:

    Code:
     [742194.623557] FAT-fs (loop0): invalid media value (0xf3) 
    [742194.623560] FAT-fs (loop0): Can't find a valid FAT filesystem [742451.073777] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
    Any help would be appreciate. Thanks!!!

  2. #2
    Join Date
    May 2007
    Beans
    12,556

    Re: How can I mount this file?

    You don't mount "files"; you mount "filesystems".

    What is it you're really trying to accomplish?
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    804
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: How can I mount this file?

    Partition ID 0x7 is NTFS.
    A command like this should work
    Code:
    sudo mount -t ntfs -o loop /path/to/image23 /yourmountpoint
    Cheers!
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  4. #4
    Join Date
    Feb 2007
    Beans
    185

    Re: How can I mount this file?

    Quote Originally Posted by Mark Phelps View Post
    You don't mount "files"; you mount "filesystems".

    What is it you're really trying to accomplish?
    Not entirely accurate.

    In *nix, everything is a file. A filesystem can exist on a block device file or a regular file.

    It is absolutely possible to create a filesystem on a flat file.

    Some reading for you: http://tldp.org/LDP/intro-linux/html/sect_03_01.html

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •