Changes

Jump to: navigation, search

Installing a Xen Guest OS from the Command-line (virt-install)

1,512 bytes removed, 17:14, 30 August 2007
Running ''virt-install'' to Build the Xen Guest System
Once the installation is completed the next step is to learn how to administer the guest system. This can be achieved either using the graphical ''virt-manager'' tool (see [[Managing and Monitoring Fedora based Xen Guest Systems]]) or using the command line ''xm'' tool (see [[Managing Xen using the xm Command-line Tool]]).
 
<pre>
[root@fedora7 ~]# virt-install
What is the name of your virtual machine? myXenGuest
How much RAM should be allocated (in megabytes)? 300
What would you like to use as the disk (path)? /home/nas/xenGuest.dsk
How large would you like the disk (/home/nas/xenGuest.dsk) to be (in gigabytes)? 3
Would you like to enable graphics support? (yes or no) yes
What is the install location? http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/
 
Starting install...
libvir: Xen Daemon error : GET operation failed:
Retrieving file Fedora... 434 kB 00:02
Retrieving file vmlinuz.. 100% |=========================| 2.1 MB 00:11
Retrieving file initrd.im 100% |=========================| 5.4 MB 00:27
libvir: Xen Daemon error : GET operation failed:
Creating storage file... 100% |=========================| 3.0 GB 00:00
Creating domain... 0 B 00:06
 
VNC Viewer Free Edition 4.1.2 for X - built Jun 11 2007 09:44:52
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
 
Thu Aug 30 12:01:33 2007
CConn: connected to host localhost port 5900
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
 
Thu Aug 30 12:01:34 2007
TXImage: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 6 (8bpp) rgb222
CConn: Using ZRLE encoding
</pre>

Navigation menu