qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Found helpful link on mounting loopback files
@ 2004-06-17 11:25 Jason Gress
  0 siblings, 0 replies; only message in thread
From: Jason Gress @ 2004-06-17 11:25 UTC (permalink / raw)
  To: qemu-devel

I was trying to figure out how to mount just the partition inside of a raw 
image as loopback, and I found this:

http://www.trekweb.com/~jasonb/articles/linux_loopback.shtml

That link was very useful, and I thought the list might like a copy.  :)  With 
a typically DD'd zero image, this is the resulting command needed to mount 
the first partition on a simple image:

# mount -t vfat -o loop,offset=32256,umask=000 /windata/win2kpci.img /mnt/tmp/

Or, at least that worked for me.  (The umask=000 simply allows everyone access 
so my user could read/write stuff w/o hassle.)

I hope this helps someone!  An abbreviated version of this information perhaps 
should be on a FAQ somewhere?

	Jason

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-17 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 11:25 [Qemu-devel] Found helpful link on mounting loopback files Jason Gress

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).