Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Working with loopback devices


    I am trying to access a partition of a usb disk image I downloaded. I have gotten so far as binding it to a loopback device with losetup, and according to fdisk there should be a /dev/loop0p1, but this file does not exist. Does anyone know how to mount this partition to be able to work with it?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    13,161
    Easy way? Use mount with the -o loop option.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    That would work if it was an image of, say, sda1. If it was an image of sda, however, that doesn't work (asks for a partition type). Any ideas on how to work with an image in this form?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    13,161
    Well, you can copy it to an empty disc of adequate size and then mount the partitions normally.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    I would prefer if there was a way that didn't involve the time if finding/writing to a new disk.

  7. #6

  8. #7
    My apologies, I did not find that in my own set of googles. Thanks for the link.

Posting Permissions

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