Loopback mounting from a file with a partition table?
Has anyone tried loopback mounting individual partitions from within a file that contains a partition table?
When I mount -o loop the file, I seem to get the first partition in the file, but I don't see anything in the man page for mount that indicates a way of getting any other partitions from a file with a partition table.
Any comments?
Thanks!
Quoted 3 lines · Dan Stromberg
Has anyone tried loopback mounting individual partitions from within a file that contains a partition table?
Yes, lots of folks.
Quoted 5 lines
When I mount -o loop the file, I seem to get the first partition in the file, but I don't see anything in the man page for mount that indicates a way of getting any other partitions from a file with a partition table.
Any comments?
Sure, find the starting offset for the filesystem and pass that to mount via the '-o offset=XXX' flag.
regards,
-fd
www.farmerdude.com
Quoted 6 lines · Dan Stromberg
Has anyone tried loopback mounting individual partitions from within a file that contains a partition table?
When I mount -o loop the file, I seem to get the first partition in the file, but I don't see anything in the man page for mount that indicates a way of getting any other partitions from a file with a partition table.
http://lists.gnu.org/archive/html/grub-devel/2005-01/msg00077.html
Signature · 2 lines
Pádraig Brady - http://www.pixelbeat.org --