Results 1 to 6 of 6

Thread: Accessing data on image made from dd

  1. #1
    Join Date
    Oct 2008
    Location
    Cambridge, MA
    Beans
    41
    Distro
    Ubuntu 10.04 Lucid Lynx

    Accessing data on image made from dd

    So I backed up my windows hard drive using dd and turned it into one huge image file. I didn't realize this beforehand, but this image is not an ISO equivalent type. However, it would be nice if I could access everything on the image just by mounting it instead of having to transfer it back to /dev/sda or something. Any tips on how this can be done, or a better way I can back up everything?

  2. #2
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: Accessing data on image made from dd

    Have you tried:
    Code:
    sudo mount myimagefile.img somefolder/ -o loop

  3. #3
    Join Date
    Oct 2008
    Location
    Cambridge, MA
    Beans
    41
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Accessing data on image made from dd

    It kicks back?
    Code:
    mount: you must specify the filesystem type
    Should I dig through the mount man page?

  4. #4
    prodigy_ is offline May the Ubuntu Be With You!
    Join Date
    Mar 2008
    Beans
    1,219

    Re: Accessing data on image made from dd

    Try the same with -t ntfs option added.

  5. #5
    Join Date
    Sep 2008
    Beans
    519

    Re: Accessing data on image made from dd

    The problem is that he copied the whole device into a single file instead of copying the individual partitions into different files. So he now has one huge file that contains the MBR/bootloader and all that good stuff, so he's not able to mount it like a regular image of a filesystem.


    .. if you know the exact size of the partitions and stuff you can try to dd the partitions OUT of that file into its own file.. but that is a very precise procedure, and i doubt you have the exact partition sizes (down to the bytes) written down somewhere

  6. #6
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Accessing data on image made from dd

    Quote Originally Posted by protargol View Post
    So I backed up my windows hard drive using dd and turned it into one huge image file. I didn't realize this beforehand, but this image is not an ISO equivalent type. However, it would be nice if I could access everything on the image just by mounting it instead of having to transfer it back to /dev/sda or something. Any tips on how this can be done, or a better way I can back up everything?
    http://www.andremiller.net/content/m...ns-using-linux
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

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
  •