[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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-installation.pdf I use the FAT. My image included SP2, which I downloaded from the Uni website.I didn't use the patch. 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |