open_solaris_xen_dom_u
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| open_solaris_xen_dom_u [2007/07/31 21:58] – mediawiki_default | open_solaris_xen_dom_u [2026/09/27 03:33] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | This page describes the installation of OpenSolaris on a [[xen]] domU running under a Linux dom0. The following is based on the July 2007 update of OpenSolaris for Xen. | ||
| - | |||
| - | |||
| - | ====== Getting the Installation Media ====== | ||
| - | |||
| - | |||
| - | The installer is available as DVD image from Sun's Download Centre [[http:// | ||
| - | |||
| - | I downloaded each file, verified them using the supplied md5sums, and then ran the following from bash to unzip and recombine them: | ||
| - | mkdir / | ||
| - | for foo in `ls 66-0624-nd-iso-[a-f].zip`; | ||
| - | unzip -p $foo; | ||
| - | done >/ | ||
| - | |||
| - | |||
| - | ====== Extracting the Kernel and Initial ramdisk ====== | ||
| - | |||
| - | |||
| - | To boot OpenSolaris under [[xen]] you need both a kernel and initial ramdisk available on your dom0. The [[http:// | ||
| - | mkdir /mnt/tmp | ||
| - | mount -o loop,ro 66-0624-nd.iso /mnt/tmp | ||
| - | cp / | ||
| - | cp / | ||
| - | umount /mnt/tmp | ||
| - | |||
| - | |||
| - | ====== Configuring Xen for the Installation ====== | ||
| - | |||
| - | |||
| - | Before you can boot OpenSolaris to begin the installation you will need to create a [[xen]] configuration file defining the virtual disk, virtual DVD drive, kernel, ramdisk, memory size and kernel parameters. | ||
| - | |||
| - | < | ||
| - | memory = ' | ||
| - | disk = [ ' | ||
| - | vif = [ '' | ||
| - | on_shutdown = ' | ||
| - | on_reboot = ' | ||
| - | on_crash = ' | ||
| - | kernel = '/ | ||
| - | ramdisk = '/ | ||
| - | extra = '/ | ||
| - | |||
| - | This creates a domU called argolin with 1024MB of RAM, a virtual DVD drive from the image in '/ | ||
| - | |||
| - | |||
| - | ====== SMP-related IO Hang (part 1) ====== | ||
| - | |||
| - | |||
| - | My first tries at booting OpenSolaris as a domU resulted in the installer hanging at some point during the main package installation process. | ||
| - | extra = '/ | ||
| - | |||
| - | |||
| - | ====== Booting the Installer ====== | ||
| - | |||
| - | |||
| - | Once you have the DVD image, have extracted the kernel and ramdisk, and have created the [[xen]] configuration file you can boot the installer like so: | ||
| - | xm create -c argolin.conf | ||
| - | The last argument to the command is the name of the configuration file created above. | ||
| - | |||
| - | You should then see: | ||
| - | Using config file "/ | ||
| - | Started domain argolin | ||
| - | SunOS Release 5.11 Version xen-nv66-2007-06-24 32-bit | ||
| - | Copyright 1983-2007 Sun Microsystems, | ||
| - | Use is subject to license terms. | ||
| - | WARNING: Found xen v3.0.3-1 but need xen v3.0.4-1-sun | ||
| - | WARNING: The kernel may not function correctly | ||
| - | Configuring /dev | ||
| - | Solaris Interactive Text (Console session) | ||
| - | Using install cd in / | ||
| - | Using RPC Bootparams for network configuration information. | ||
| - | Attempting to configure interface xnf0... | ||
| - | |||
| - | |||
| - | ====== SMP-related IO Hang (part 2) ====== | ||
| - | |||
| - | |||
| - | Following a boot with the ' | ||
| - | Using config file "/ | ||
| - | Started domain argolin | ||
| - | Loading kmdb... | ||
| - | | ||
| - | Welcome to kmdb | ||
| - | Loaded modules: [ unix krtld genunix ] | ||
| - | [0]> | ||
| - | You type: | ||
| - | workaround_6557577? | ||
| - | It shows: | ||
| - | workaround_6557577: | ||
| - | [0]> | ||
| - | You type: | ||
| - | :c | ||
| - | It shows: | ||
| - | SunOS Release 5.11 Version xen-nv66-2007-06-24 32-bit | ||
| - | Copyright 1983-2007 Sun Microsystems, | ||
| - | Use is subject to license terms. | ||
| - | WARNING: Found xen v3.0.3-1 but need xen v3.0.4-1-sun | ||
| - | WARNING: The kernel may not function correctly | ||
| - | Configuring /dev | ||
| - | |||
| - | |||
| - | ====== The Installation ====== | ||
| - | |||
| - | |||
| - | Once OpenSolaris has booted the installer will ask you for details of your location and terminal. | ||
| - | |||
| - | < | ||
| - | 10.0.0.1:/ | ||
| - | |||
| - | |||
open_solaris_xen_dom_u.1185919129.txt.gz · Last modified: (external edit)
