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!
On Fri, 2005-01-21 at 20:45, Dan Stromberg wrote:
> Has anyone tried loopback mounting individual partitions from within a
> file that contains a partition table?
>
Yes, lots of folks.
> 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
http://www.farmerdude.com
Dan Stromberg wrote:
> 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
--
P?draig Brady - http://www.pixelbeat.org
--