|
|
Experimental Linux 2.6 SupportIn OpenSolaris build 72 the lx brand was enhanced with experimental Linux 2.6 kernel emulation support. This enhancement was made by Evan Hoke from CMU. This support is not complete (as documented below) but it addresses the basic issues of allowing users to install, boot, and use Linux 2.6 based zones. It should also make it much easier for interested community members to do application/feature testing and to contribute fixes. Distribution supportThe following distributions have been tried:
Application/Feature testing support:The following applications/features have been tested on CentOS [45].x and Ubuntu 7 and seem to work:
The following applications/features have been tested on CentOS 5.x and seem to work:
The following applications/features are known to be broken or unsupported:
The following applications/features have not been tested and it's unknown if they will work:
Known IssuesThese are some of the known problems. Note that this is not a complete list.
Enabling Linux 2.6 SupportTo enable support for the creation of Linux 2.6 based zones you should first ensure that you are running an OpenSolaris based distribution that is sync'd up with snv_72 or later. Then download the following zone template file, SUNWlx26.xml, and copy it into /etc/zones.
Installing and Booting CentOS [45].xFirst, be sure to enable Linux 2.6 support as described above.
Once you have created the archive file make it available on your Solaris system. To create a Linux 2.6 based zone, use zonecfg to create a lx branded zone just like you normally would, except when you issue the "create" command within zonecfg you should specify the new template:
From here on out the install process is the same as for normal lx branded zones To install the zone run:
The installation should go smoothly for CentOS [45].x. Next boot the zone and login.
You may see some error messages as the zone boots up. Eventually will be presented with a login prompt. Installing and Booting Ubuntu 7First, be sure to enable Linux 2.6 support as described above. Now download the following modified lx_init_zone install script to replace the existing script in /usr/lib/brand/lx/. Even though this new installer script can install both Ubuntu and CentOS zones, you should probably make a backup of the original script before replacing it.
From here the install method is the same as for the CentOS zone.
(Create an .tar.gz system archive, zonecfg, zoneadm install, etc.)
You will see errors during the zone install phase, this is expected. |