I don't know about Hardy, but I'm in the middle of installing Lucid right now. 

virt-install won't work if you want to do a direct PV install. 

zfs create -s -V 100G /raid/xen/ubuntu32 (create a sparse 100G volume for 
Ubuntu to live on) 

wget 
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/xen/xm-debian.cfg

Now, edit the xm-debian.cfg file. Set the VM name, ram, vcpus, etc.. I tried 
enabling VNC, but when I connect to the server I get a black screen. So I 
disabled that and am using the console. You also need to set the disk up, 
here's the line I used. 

disk=['phy:/dev/zvol/dsk/raid/xen/ubuntu32,xvda,w']

Now at the command prompt, do "xm create xm-debian.cfg install=yes". It should 
download the kernel and initrd, then tell you it's started the VM. If so, just 
do "virsh console ubuntu32" ("ubuntu32 is what I named it, but use the name in 
the .cfg file you just edited). 

You should see the text mode installer. Follow the prompts and let it do it's 
thing. 

You probably want to do a virsh dumpxml on the new VM so you can edit the 
config further for things like auto-start. But it beats installing in HVM then 
converting to PV mode later. 

Hmmm... the install completes, but booting isn't quite there. I think grub2 is 
causing issues. Shouldn't be a problem on an older release, so give it a go.
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to