Sunday, May 02, 2010

Starting an Oracle VM image from the commandline

Just for your convenience:

When you start an Oracle VM image from the commandline with

xm create -c ./vm.cfg

you will see that the boot process continues until the login is displayed:

EXT3-fs: mounted filesystem with ordered data mode.
type=1403 audit(1272761495.554:2): policy loaded auid=4294967295 ses=4294967295

Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
Kernel 2.6.18-164.0.0.0.1.el5xen on an i686

soa.mydomain.local login:

In order to get back to your commandline type CTRL-] and you will get back the control.

2 comments:

d said...

nice article

kris said...

I get this error when I run the command


[root@HOST-COMP VirtualMachines]# xm create -c 0004fb00000600009a110033c54258d2/vm.cfg
Using config file "./0004fb00000600009a110033c54258d2/vm.cfg".
Started domain 0004fb00000600009a110033c54258d2 (id=52)
xenconsole: Could not read tty from store: No such file or directory