Andre Wenas wrote: > I manage to install Indiana2 HVM using phyton config file, pls see > attached. Pls change boot=d to boot from CD iso file. > However the gdm can not start Xorg, you need to create xorg.conf file or > start vncserver so that you can run gui-install from xterm. > > You can not use virt-install paravirtualized since the i86xpv kernel is > not in miniroot file.
Right. The PV kernel is in the root of the iso, but it did not get put in the ramdisk. Also, the ramdisk name is changed from a standard Nevada iso so virt-install wouldn't find it anyway. This would have been the py file to use to install it manually. Also, we don't have zfs boot support yet for PV guests. We are working on this now. -- name = "indiana-pv-install" vcpus = 1 memory = "1024" bootloader = "/usr/lib/xen/bin/pygrub" kernel = "/platform/i86xpv/kernel/amd64/unix" ramdisk = "/boot/x86.microroot" extra = "/platform/i86xpv/kernel/amd64/unix -k -B console=ttya,livemode-text" disk = ['file:/tank/guests/install/indiana/in-test-199.iso,6:cdrom,r', 'file:/tank/guests/install/indiana/disk.img,0,w'] vif = [''] on_shutdown = "destroy" on_reboot = "restart" on_crash = "preserve" To get X working in HVM, see the following instructions. -- Start the domain using the install.py at the end of this e-mail (edit it for your paths) # xm create install.py In another terminal, telnet to the domains "serial" port # telnet localhost 4444 In the HVM console in the grub menu, select text, edit the kernel line and add ",console=ttya" after livemode. Boot. In the serial console, login user: jack passwd: jack # su - (password is opensolaris) # /usr/X11/bin/Xorg -configure edit /root/xorg.conf.new and change the adapter driver from "cirrius" to "vesa". Start X in the console from the shell in the serial port. # /usr/X11/bin/xinit /usr/bin/dbus-launch /usr/bin/gnome-session -- /usr/X11/bin/Xorg -config /root/xorg.conf.new :0 bring up a gnome terminal and launch the installer. # install-lan --- : alpha[1]#; cat install.py name = "indiana-install" vcpus=1 memory = 1024 shadow_memory = 8 vif = [ 'type=ioemu' ] disk = ['file:/tank/guests/install/indiana/disk.img,hda,w', 'file:/tank/guests/install/indiana/in-test-199.iso,hdd:cdrom,r'] builder='hvm' kernel = "/usr/lib/xen/boot/hvmloader" on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'preserve' boot='d' acpi=0 apic=0 sdl=0 vnc=1 vnclisten="0.0.0.0" vncpasswd='password' vncconsole=1 nographic=0 stdvga=0 serial='telnet:0.0.0.0:4444,server,nowait' usb=1 usbdevice="tablet" soundhw='es1370' import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org