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: RE: [Xen-users] fix the winxp guest image

To: "Songtao Liu" <songtao.liu@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: RE: [Xen-users] fix the winxp guest image
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 24 Apr 2007 11:09:46 +0200
Delivery-date: Tue, 24 Apr 2007 02:08:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <iss.9c0ac906.627a.462d2f04.a891e.5f@xxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceF9FmGP4WfguVDTt2Y3MSgNtToZwAW8JUw
Thread-topic: RE: [Xen-users] fix the winxp guest image
 

> -----Original Message-----
> From: Songtao Liu [mailto:songtao.liu@xxxxxxxx] 
> Sent: 23 April 2007 23:11
> To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: RE: [Xen-users] fix the winxp guest image
> 
> Hi, Mats
> 
> #losetup /dev/loop0 /xen/winxp.img
> #kpartx -av /dev/loop0
> #mount /dev/mapper/loop0p1 /mnt
> #cp -prv $WINDOWS/i386 /mnt/
> #umount /mnt
> 
> pls see from this link, page 6.
> https://virt.108.redhat.com/articles/2007/01/15/xen-guest-inst
> allation.pdf
> 
> I use the FAT.
> My image included SP2, which I downloaded from the Uni 
> website.I didn't use the patch. 

So, I guess all you need to do is to use the same CDROM image that you
were installing from, just like you would on a real machine. Or if you
need to copy something over, you boot into XP and copy it there. Just
like you would on a real machine. 

--
Mats
> 
> Thanks
> Songtao
> 
> 
> 
> Original Message:
> 
>  
> <br />
> <br />> -----Original Message-----
> <br />> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> <br />> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> <br />> Songtao Liu
> <br />> Sent: 23 April 2007 16:57
> <br />> To: xen-users@xxxxxxxxxxxxxxxxxxx
> <br />> Subject: [Xen-users] fix the winxp guest image
> <br />> 
> <br />> Hi,
> <br />> 
> <br />> I am now trying to install a WinXP guest on Xen, after reboot 
> <br />> I should input the path of the SP2. So I think I should 
> <br />> firstly fix the XP image, then I follows these steps:
> <br />
> <br />So, you're trying to add SP2 into a WinXP installation, right? 
> <br />
> <br />Where do you currently have your SP2 image? If it's on 
> a CDROM, then
> <br />just point Windows to that CDROM or a IMAGE of it. 
> <br />
> <br />> 
> <br />> #losetup /dev/loop0 /xen/winxp.img
> <br />> #kpartx -av /dev/loop0
> <br />> #mount /dev/mapper/loop0p1 /mnt
> <br />> #cp -prv $WINDOWS/i386 /mnt/
> <br />> #umount /mnt
> <br />> 
> <br />> The first 3 steps run OK but in the 4th step, it comes up 
> <br />> this message: 
> <br />> "cannot stat `/i386': No such file or directory"
> <br />
> <br />I'm not sure what youre trying to do here. But I 
> suspect $WINDOWS is
> <br />probably not set to the right thing ($something means the "shell
> <br />variable something", and the error message indicates 
> that you didn't
> <br />have anything in the variable called WINDOWS - not that 
> case matters).
> <br />
> <br />However, be the $WINDOWS what it may, you also have to 
> bear in mind that
> <br />Linux is unable to write to a NTFS partition (other 
> than modifying
> <br />existing files), so if your filesystem is NTFS, even if 
> you have the
> <br />files there, you'll not be able to copy the files to 
> the NTFS partition.
> <br />
> <br />
> <br />--
> <br />Mats
> <br />
> <br />> 
> <br />> Where can be the problem.
> <br />> Any hints will be great :)
> <br />> 
> <br />> Songtao
> <br />> 
> <br />> 
> <br />> 
> <br />
> <br />
> <br />
> 
> -- 
> 



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

<Prev in Thread] Current Thread [Next in Thread>