I'll run through what I'm thinking once more, a little more coherently.
Step 1 - on the guest, install the packager's kernel, modules, grub,
configs, everything that you would find on a normal server.
Step 2 - Stop the guest.
Step 3 - Copy said kernel that you just installed to where you need it
to be. Boot the guest passing the nfsroot option so that it mounts the
PV's file system as / , while also passing a blank block device you can
slice up using the disk tools already present on the PV guest.
Step 4 - Boot, fix udev, copy everything over, take the nfsroot out of
the equation
Done. Just boot the VM now converted to HVM, nuke the PV guests file
system since its no longer being used.
Not sure why you would want to do that, but it seems to be the path of
least resistance unless of course your'e able to work with lomount /
fdisk / parted from dom-0 :)
Don't forget the swap space.
Best,
--Tim
On Tue, 2007-06-05 at 10:28 +0100, Tony Hoyle wrote:
> Tim Post wrote:
> > Why not setup the hvm guests to use nfsroots with a brand spanking new
> > unpartitioned image as well? Just fdisk, format, copy over adjust
> > config / boot paramaters and reboot.
>
> NFS just isn't practical given the network performance of a domu.
>
> I'm trying to keep this as much in dom0 as possible to keep the downtime low.
> It's
> a one time operation but some of the servers are in use (not critical, but I
> still get complaints if they're down too long).
>
> Tony
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|