Hi all I have been trying to get Ubuntu Hardy onto a DomU with PV for some time now. I came across a few howtos on this topic, and went forward to install on a HVM first and then change to a PV later. The howtos, however, were all were based on manually configured xen VMs, and not the config.sxp format. I've tried a few things, but I can't make it work. Please help me out here - I'm REALLY CLOSE to ditching the whole of opensolaris in favour for an ubuntu machine, but I really want ZFS on this Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 roy@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
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
On Sun, Jun 6, 2010 at 10:45 PM, Roy Sigurd Karlsbakk <roy@karlsbakk.net> wrote:> The howtos, however, were all were based on manually configured xen VMs, and not the config.sxp format. I''ve tried a few things, but I can''t make it work.And what''s wrong with old-style config? Newer version of Xen can use it just fine. Anyway, you can easily convert it to sxp with something like this: xm create -n -f /path/to/domU-config-file -- Fajar
I did get Lucid to boot, the issue is with pygrub, it doesn''t know how to deal with ext4 and grub2. I just copied the kernel and initrd out to the OSol dom0 and used those to boot the VM. A little irritating to maintain, but it will work for now. Too bad we don''t have the more recent Xen versions available to us. It looks like the older grub is available in the Lucid repo, so that with an ext3 /boot should get things to the point that pygrub will work. -- This message posted from opensolaris.org