I''m using wheezy running kernel 3.2.0 + xen 4.1 as base/dom0.
I want to run a virtual solaris 11 machine. I was able to install it using:
# cat /etc/xen/solaris11.cfg
name = "solaris11"
vcpus = 4
memory = 2048
kernel = "/home/xen/domains/solaris11/unix"
ramdisk = "/home/xen/domains/solaris11/boot_archive"
extra = "/platform/i86xpv/kernel/amd64/unix -B
console=ttya,livemode=text"
# ISO of Solaris mounted as CDROM during initial install
#disk =
[''file:/home/xen/sol-11-1111-text-x86.iso,6:cdrom,r'',''file://home/xen/domains/solaris11/solaris11-disk.img,0,w'']
#
# ISO of Solaris removed after install
disk =
[''file://home/xen/domains/solaris11/solaris11-disk.img,0,w'']
dhcp = ''dhcp''
vif = [ ''mac=00:16:3E:2E:25:68'' ]
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
but on reboot, it doesn''t see the drive. What am I doing wrong?
I get the following:
# xm create -c solaris11.cfg
Using config file "/etc/xen/solaris11.cfg".
Started domain solaris11 (id=7)
network interface name ''eth0''
replaced
with ''xnf0''
v4.1.2 chgset ''unavailable''
SunOS Release 5.11 Version 11.0 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Remounting root read/write
Probing for device nodes ...
dcpc: unable to resolve dependency, cannot load module
''drv/cpc''
Preparing image for use
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Enter user name for system maintenance (control-d to bypass):
And if I login, no zpools are available.
root@:~# zpool list ;df -h
no pools available
Filesystem Size Used Available Capacity Mounted on
/devices/ramdisk:a 209M 192M 17M 92% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1.6G 1.1M 1.6G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer''s men seem to follow him merely out of idle
curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=30v_g83VHK4