[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] diskimage HOWTO
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] diskimage HOWTO |
Date: |
Tue, 25 Aug 2009 09:37:59 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Mulyadi Santosa schrieb:
> On Tue, Aug 25, 2009 at 2:06 PM, Kevin Wolf<address@hidden> wrote:
>> You shouldn't have removed half of my answer. Using kpartx is so much
>> easier than fiddling around with offsets.
>
> Sorry for that Kevin. I was focusing on losetup, because that's the
> one I am familiar of. Could you kindly demonstrate how to use kpartx
> in this case? Thanks in advance...
You would use "kpartx -a test.img" which creates devices like
/dev/mapper/loop0p1 for each partition. You can work with it like you
would do with losetup and afterwards remove it with "kpartx -d test.img".
But actually Laurent's solution doesn't look too bad either. Didn't know
about it until now.
Kevin
- [Qemu-devel] diskimage HOWTO, Bai Shuwei, 2009/08/24
- Re: [Qemu-devel] diskimage HOWTO, Kevin Wolf, 2009/08/24
- Re: [Qemu-devel] diskimage HOWTO, Bai Shuwei, 2009/08/24
- Re: [Qemu-devel] diskimage HOWTO, Mulyadi Santosa, 2009/08/24
- Re: [Qemu-devel] diskimage HOWTO, Kevin Wolf, 2009/08/25
- Re: [Qemu-devel] diskimage HOWTO, Mulyadi Santosa, 2009/08/25
- Re: [Qemu-devel] diskimage HOWTO,
Kevin Wolf <=
- Re: [Qemu-devel] diskimage HOWTO, Mulyadi Santosa, 2009/08/25
- Re: [Qemu-devel] diskimage HOWTO, Bai Shuwei, 2009/08/25
Re: [Qemu-devel] diskimage HOWTO, Laurent Vivier, 2009/08/25
[Qemu-devel] Re: [Buildroot] diskimage HOWTO, Steve Calfee, 2009/08/25