Xen 3.1 Solaris Express 05/07 (SXDE 64a) HVM VM install on Debian Etch (x86_64)
The target of this posting is to make mentioned installation easy for any person regardless his Solaris Administration experience.Create Solaris HVM VM profile - /etc/xen/vm/Solaris.hvm :-
name = "SNV64A"
builder = "hvm"
memory = "1024"
disk = ['phy:/dev/sdb7,ioemu:hda,w','file:/etc/xen/disks/solar11.iso,hdc:cdrom,r']
vif = [ 'type=ioemu, mac=00:16:3e:1b:3d:f5, bridge=xenbr3', ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
boot="d"
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'
Create Solaris HVM VM:-
# xm create Solaris11.hvm
# xvnc4viewer localhost:5901
Next:-
According to http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6534878
Bug ID 6534878
To install Solaris (SNV build 64a) HVM VM on Debian Etch
Solaris's boot command line should be modified.
Generally view :-
http://developers.sun.com/solaris/articles/getting_started_guide.html
In particular when GRUB menu of HVM VM is displayed.
GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
+----------------------------------------------------------------
|Solaris Express, Developer Edition
|Solaris Express
|Solaris Express Serial Console ttya
|Solaris Express Serial Console ttyb (for lx50, v60x and v65)
+----------------------------------------------------------------
Use the ^ and v keys to select which entry is highlighted. Press
enter to boot the selected OS, 'e' to edit the commands before
booting, or 'c' for a command-line.
To stop the booting process and use the menu editor, type "e"
The GRUB edit menu is displayed.
kernel /boot/multiboot kernel/unix -B install_media=cdrom
module /boot/x86.miniroot
Use the arrow keys to select the boot entry.
kernel /boot/multiboot kernel/unix -B install_media=cdrom
To edit the selected command, type "e".
A command that is similar to the following example is displayed.
kernel /boot/multiboot kernel/unix -B install_media=cdrom
At the end of the command, type ",atapi-cd-dma-enabled=0, atapi-other-dma-enabled=0" as in this example.
grub edit>kernel /boot/multiboot kernel/unix \
-B install_media=cdrom, atapi-cd-dma-enabled=0,atapi-other-dma-enabled=0
To accept the edits, press Enter.
Your changes are saved and the GRUB main menu is displayed.
To begin the installation, type b.
After the installation is complete, update the GRUB menu to prevent having
to edit the boot command each time you reboot.
To change the GRUB menu, locate the menu.lst file and add the ,atapi-cd-dma-enabled=0 text to the menu.lst file.
The following is an example of a menu.lst file entry for the Solaris OS that has been updated with the text.
title Solaris
root (hd0,0,a)
kernel /platform/i86pc/multiboot -B install_media=cdrom,atapi-cd-dma-enabled=0
module /platform/i86pc/boot_archive
1. Installation screenshots for Debian Etch (x86_64) :-
During first boot Solaris's boot command should be modified again.
boot="d" switched to boot="c" in VM's profile.
Make permanent changes to /boot/grub/menu.lst
to avoid trouble during every Solaris HVM VM boot:-
Network Bridge verification:-
2. Installation screenshots for CentOS 5.0 (x86_64)
References
1. Lxer - Xen 3.1 Binary install on Debian Etch 4.0 (x86_64)