OpenSolaris

You are not signed in. Sign in or register.

Booting Solaris Dom0

    Install or upgrade to at least build 75 of Solaris Express: Community Edition, or later.

  • Depending on the upgrade/install method, a Solaris xVM entry in `/boot/grub/menu.lst` may have already been created. Check by running:
       # bootadm list-menu
    

    If no Solaris xVM entry appears, run the following command to create one:

       # bootadm -m upgrade
    

    It should create an entry in /boot/grub/menu.lst similar to this:

    #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
    title Solaris xVM
    kernel$ /boot/$ISADIR/xen.gz
    module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/$ISADIR/unix [*]
    module$ /platform/i86pc/$ISADIR/boot_archive
    #---------------------END BOOTADM--------------------
    

    When booting Solaris xVM, the kernel$ line must refer to the Xen hypervisor, and there must be two module$ lines. The first module$ line must list the path to unix twice, with any arguments (once again, represented by [*] in the example) at the end of the line. The second module$ line lists the path to the boot archive:

    To boot Solaris on Xen in 32-bit mode on a 64-bit capable system, the entry must be manually edited to remove all instances of $ISADIR:

    #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
    title 32-bit Solaris xVM
    kernel /boot/xen.gz
    module /platform/i86xpv/kernel/unix /platform/i86xpv/kernel/unix [*]
    module /platform/i86pc/boot_archive
    #---------------------END BOOTADM--------------------
    

    To boot the xVM entry by default, run bootadm list-menu to find the entry number of the xVM entry, and then run:

       # bootadm set-menu default=<number>
    

  • A simple test to determine if things look approximately correct is to run xm top. (This command provides details of running domains; you should just have a single one called Domain-0.)
  •    # xm top
    
Copyright 2007 Sun Microsystems, Inc.