WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Bootable LiveDVD w/ Xen that boots Windows Image?

To: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Bootable LiveDVD w/ Xen that boots Windows Image?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 19 Aug 2009 16:25:06 +0700
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Aug 2009 02:25:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E9E9BAC7D3459C40BAA714735552E0E44CC4EF95E8@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E9E9BAC7D3459C40BAA714735552E0E43A48958428@xxxxxxxxxxxxxxxxxxxxxxxx> <7207d96f0908092019p2e35d160wd4d9cd47a1ca4efe@xxxxxxxxxxxxxx> <E9E9BAC7D3459C40BAA714735552E0E43A4895842C@xxxxxxxxxxxxxxxxxxxxxxxx> <7207d96f0908111906w6c74d4cfq720d1f30b84e9e82@xxxxxxxxxxxxxx> <E9E9BAC7D3459C40BAA714735552E0E43A4EA6509E@xxxxxxxxxxxxxxxxxxxxxxxx> <7207d96f0908122249j7382f226p5b9ffa9913a457f6@xxxxxxxxxxxxxx> <E9E9BAC7D3459C40BAA714735552E0E43A4FE5DA09@xxxxxxxxxxxxxxxxxxxxxxxx> <7207d96f0908140153k38ad8e8btd9c9244a26129150@xxxxxxxxxxxxxx> <E9E9BAC7D3459C40BAA714735552E0E44CC4EF95E7@xxxxxxxxxxxxxxxxxxxxxxxx> <E9E9BAC7D3459C40BAA714735552E0E44CC4EF95E8@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 18, 2009 at 11:13 PM, Joshua
Kinard<joshua.kinard@xxxxxxxxxxxxx> wrote:
> Think I cracked it.  Don't even need to deal with qemu's qcow stuff (so far).

> - echo 0 $(blockdev --getsize /dev/loop0) snapshot /dev/loop0 /dev/loop1 n 64 
> | dmsetup create xpcow
>
> This maps our baseline WinXP image (xp.img) to /dev/loop0 and a scratch area 
> to /dev/loop1 (I don't even know if this is needed just yet).  Needed because 
> dmsetup only works with block devices.  Using dmsetup, a snapshot is created, 
> so that all writes to loop0 get redirected to loop1, and creates a device, 
> /dev/mapper/xpcow.

Good one! I know about LVM snapshot, but didn't know you can do that
with dmsetup. Thanks for the info.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users