qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu dd sizes
Date: Sat, 25 Sep 2004 14:28:14 +0100	[thread overview]
Message-ID: <200409251428.14191.paul@codesourcery.com> (raw)
In-Reply-To: <20040925130826.83E68B6E0@xprdmailfe17.nwk.excite.com>

On Saturday 25 September 2004 14:08, jmf wrote:
> It's UFS, FreeBSD. I think UFS does a good job keeping all the data in a
> non-sparse manner.
>
>
>
> I could resize the UFS partition down to a smaller size and then use dd,
> however, I want a faster operation that will not alter my original
> installation. I was hoping there is a way to manipulate the images that dd
> produces, for more convenient use with qemu.

On linux you can mount images using the loopback device. You may need to tell 
it to skip the partition table (the first track, usually 32256 bytes).

I usually find it easier and more reliable to format/partition the image 
inside the guest, then mount it via loopback device on the host and use 
normal tools (cp, tar, etc) to copy the files across.

Paul

  reply	other threads:[~2004-09-25 13:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25 13:08 [Qemu-devel] qemu dd sizes jmf
2004-09-25 13:28 ` Paul Brook [this message]
2004-09-25 13:46   ` Bartosz Fabianowski
     [not found] <20040925171359.1D864299D9@xprdmailfe21.nwk.excite.com>
2004-09-25 22:27 ` Bartosz Fabianowski
  -- strict thread matches above, loose matches on Subject: below --
2004-09-25  2:15 jmf
2004-09-25  4:21 ` Kyle Hayes
2004-09-25 15:17 ` Mark A. Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200409251428.14191.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).