Messages in this thread | | | Subject | Re: mounting partitions on loopback | From | kernel <> | Date | 09 Apr 2003 12:55:03 -0400 |
| |
Soeren
you'll have to either specify the offsets that the partitions start at via;
mount -o ro,loop,offset=XXX blah blah blah
Or, use a program such as SMART for Linux (asrdata.com) that will do that for you and allow you to right-click on them (logical partitions) and mount them.
Remember, though, if that start of the filesystem is beyond 2GB into the image you'll not be able to mount it even specifying the offset. (I think this is a 'bug' with the loop driver that ships with kernel?) However, NASA has come up with a nice workaround I use and you can find it here;
ftp://ftp.hq.nasa.gov/pub/ig/ccd/enhanced_loopback/
This modified loopback driver will automatically mount the partitions within that physical image file read only using the loop devices on your system. (no calculation of offsets is necessary, no problem if beyond 2GB, etc.).
hope this helps!
farmerdude
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |