Results 1 to 7 of 7
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-21-2010 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 15
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?
- 04-27-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,236
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!
- 04-30-2010 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 15
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?
- 05-04-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,236
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!
- 05-07-2010 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 15
I would prefer if there was a way that didn't involve the time if finding/writing to a new disk.
- 05-07-2010 #6Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
- 05-08-2010 #7Just Joined!
- Join Date
- Sep 2009
- Posts
- 15
My apologies, I did not find that in my own set of googles. Thanks for the link.


Reply With Quote
