Solaris und XEN (xVM) - Installation von Centos

Installation einer VM mit xVM.

bash-3.2#  virt-install --name=centos --nographics --paravirt \
> --file=/data/xen/centos.img --file-size=20 --ram=256 \
> --location=nfs:192.168.1.237:/export/iso/centos

Output

Starting install...
Creating storage file...  100% |=========================|  20 GB    00:00
Creating domain...                                                 0 B 00:01
Bootdata ok (command line is  method=nfs:192.168.1.237:/export/iso/centos)
Linux version 2.6.18-53.el5xen (mockbuild@builder6.centos.org) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Mon Nov 12 02:46:57 EST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 67584
Kernel command line:  method=nfs:192.168.1.237:/export/iso/centos
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Xen reported: 2160.166 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 244012k/270336k available (2357k kernel code, 17812k reserved, 1326k data, 172k init)
Calibrating delay using timer specific routine.. 5408.98 BogoMIPS (lpj=10817971)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 1D7A0 could not acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 1D7A0 could not acquire Mutex [2] [20060707]
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1198837783.026:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FA719CFD42DF8150
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Bootdata ok (command line is  method=nfs:192.168.1.237:/export/iso/centos)
Linux version 2.6.18-53.el5xen (mockbuild@builder6.centos.org) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Mon Nov 12 02:46:57 EST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 67584
Kernel command line:  method=nfs:192.168.1.237:/export/iso/centos
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Xen reported: 2160.166 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 244012k/270336k available (2357k kernel code, 17812k reserved, 1326k data, 172k init)
Calibrating delay using timer specific routine.. 5408.98 BogoMIPS (lpj=10817971)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 1D7A0 could not acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 1D7A0 could not acquire Mutex [2] [20060707]
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered

Installation

Welcome to CentOS                                                               

+---------+ Choose a Language +---------+
|                                       |
| What language would you like to use   |
| during the installation process?      |
|                                       |
|       English                ^        |
|       Estonian               :        |
|       Finnish                #        |
|       French                 :        |
|       German                 :        |
|       Greek                  :        |
|       Gujarati               :        |
|       Hindi                  v        |
|                                       |
|                +----+                 |
|                | OK |                 |
|                +----+                 |
|                                       |
|                                       |
+---------------------------------------+

/ between elements  |  selects |  next screen
                                                       Welcome to CentOS 

+----------------+ Configure TCP/IP +----------------+
|                                                    |
| [*] Enable IPv4 support                            |
|        (*) Dynamic IP configuration (DHCP)         |
|        ( ) Manual configuration                    |
|                                                    |
| [ ] Enable IPv6 support                            |
|        (*) Automatic neighbor discovery (RFC 2461) |
|        ( ) Dynamic IP configuration (DHCP)         |
|        ( ) Manual configuration                    |
|                                                    |
|          +----+                  +------+          |
|          | OK |                  | Back |          |
|          +----+                  +------+          |
|                                                    |
|                                                    |
+----------------------------------------------------+

/ between elements  |  selects |  next screen
Welcome to CentOS

+------------------+ CentOS +-------------------+
|                                               |
| Welcome to CentOS!                            |
|                                               |
|                                               |
|                    +----+                     |
|                    | OK |                     |
|                    +----+                     |
|                                               |
|                                               |
+-----------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+-----------------+ Warning +-----------------+
|                                             |
| The partition table on device xvda was      |
| unreadable. To create new partitions it     |
| must be initialized, causing the loss of    |
| ALL DATA on this drive.                     |
|                                             |
| This operation will override any previous   |
| installation choices about which drives     |
| to ignore.                                  |
|                                             |
| Would you like to initialize this drive,    |
| erasing ALL DATA?                           |
|                                             |
|        +-----+               +----+         |
|        | Yes |               | No |         |
|        +-----+               +----+         |
|                                             |
|                                             |
+---------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS
+-------------------------+ Partitioning Type +-------------------------+
|                                                                       |
|    Installation requires partitioning of your hard drive.  The        |
|    default layout is reasonable for most users.  You can either       |
|    choose to use this or create your own.                             |
|                                                                       |
| Remove all partitions on selected drives and create default layout.   |
| Remove linux partitions on selected drives and create default layout. |
| Use free space on selected drives and create default layout.          |
| Create custom layout.                                                 |
|                                                                       |
|       Which drive(s) do you want to use for this installation?        |
|          [*]   xvda    20473 MB (Xen Virtual Block Device) ^          |
|                                                            #          |
|                                                                       |
|                          +----+   +------+                            |
|                          | OK |   | Back |                            |
|                          +----+   +------+                            |
|                                                                       |
|                                                                       |
+-----------------------------------------------------------------------+    

,<+>,<-> selection   |    Add drive   |    next screen
Welcome to CentOS

+------------------------------+ Partitioning +------------------------------+
|                                                                            |
|        Device          Start    End     Size       Type     Mount Point    |
| /dev/xvda                                                                ^ |
|   xvda1                     1      25     196M  ext2        /boot        : |
|   xvda2                    26     156    1027M  swap                     : |
|   xvda3                   157    2610   19249M  ext3        /            : |
|                                                                          : |
|                                                                          : |
|                                                                          : |
|                                                                          : |
|                                                                          # |
|                                                                          v |
|                                                                            |
|      +-----+   +------+   +--------+   +------+   +----+   +------+        |
|      | New |   | Edit |   | Delete |   | RAID |   | OK |   | Back |        |
|      +-----+   +------+   +--------+   +------+   +----+   +------+        |
|                                                                            |
|                                                                            |
+----------------------------------------------------------------------------+

F1-Help     F2-New      F3-Edit   F4-Delete    F5-Reset    F12-OK
Welcome to CentOS

+----------+ Boot Loader Configuration +-----------+
|                                                  |
| Which boot loader would you like to use?         |
|                                                  |
|             (*) Use GRUB Boot Loader             |
|                ( ) No Boot Loader                |
|                                                  |
|         +----+                 +------+          |
|         | OK |                 | Back |          |
|         +----+                 +------+          |
|                                                  |
|                                                  |
+--------------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+------------------+ Boot Loader Configuration +------------------+
|                                                                 |
| A few systems will need to pass special options to the kernel   |
| at boot time for the system to function properly. If you need   |
| to pass boot options to the kernel, enter them now. If you      |
| don't need any or aren't sure, leave this blank.                |
|                                                                 |
|        console=xvc0____________________________________         |
|                                                                 |
|         [ ] Force use of LBA32 (not normally required)          |
|                                                                 |
|             +----+                        +------+              |
|             | OK |                        | Back |              |
|             +----+                        +------+              |
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+-------------------+ Boot Loader Configuration +-------------------+
|                                                                   |
| The boot manager CentOS uses can boot other operating systems     |
| as well. You need to tell me what partitions you would like to    |
| be able to boot and what label you want to use for each of them.  |
|                                                                   |
| Default  Boot label                Device                         |
|    *     CentOS                    /dev/xvda3                 ^   |
|                                                               :   |
|                                                               :   |
|                                                               #   |
|                                                               v   |
|                                                                   |
|        +----+              +------+              +------+         |
|        | OK |              | Edit |              | Back |         |
|        +----+              +------+              +------+         |
|                                                                   |
|                                                                   |
+-------------------------------------------------------------------+

 select |  select default |  delete |  next screen>
Welcome to CentOS

++ Network Configuration for eth0 ++
|                                  |
|     Xen Virtual Ethernet         |
|     00:16:3E:47:0E:7D            |
|                                  |
|     [*] Activate on boot         |
|     [*] Enable IPv4 support      |
|     [ ] Enable IPv6 support      |
|                                  |
|       +----+    +------+         |
|       | OK |    | Back |         |
|       +----+    +------+         |
|                                  |
|                                  |
+----------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+-----+ IPv4 Configuration for eth0 +-----+
|                                         |
| Xen Virtual Ethernet                    |
| 00:16:3E:47:0E:7D                       |
|                                         |
| ( ) Dynamic IP configuration (DHCP)     |
| (*) Manual address configuration        |
|                                         |
|     IP Address         Prefix (Netmask) |
|     192.168.1.23____ / 255.255.255.0___ |
|                                         |
|       +----+            +------+        |
|       | OK |            | Back |        |
|       +----+            +------+        |
|                                         |
|                                         |
+-----------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+------------+ Miscellaneous Network Settings +------------+
|                                                          |
| Gateway:       192.168.1.1______________________________ |
| Primary DNS:   192.168.1.1______________________________ |
| Secondary DNS: 192.168.1.2______________________________ |
|                                                          |
|           +----+                     +------+            |
|           | OK |                     | Back |            |
|           +----+                     +------+            |
|                                                          |
|                                                          |
+----------------------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+-------+ Time Zone Selection +-------+
|                                     |
| What time zone are you located in?  |
|                                     |
| [*] System clock uses UTC           |
|                                     |
|  Europe/Berlin                   ^  |
|  Europe/Bratislava               :  |
|  Europe/Brussels                 #  |
|  Europe/Bucharest                :  |
|  Europe/Budapest                 v  |
|                                     |
|      +----+          +------+       |
|      | OK |          | Back |       |
|      +----+          +------+       |
|                                     |
|                                     |
+-------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS

+----------------------+ Dependency Check +-----------------------+
|                                                                 |
| Checking dependencies in packages selected for installation...  |
|                                                                 |
|                                3%                               |
|                                                                 |
+-----------------------------------------------------------------+

/ between elements   |   selects   |   next screen
Welcome to CentOS                                                               

                 +---------+ Installation to begin +----------+
                 |                                            |
                 | A complete log of your installation will   |
                 | be in /root/install.log after rebooting    |
                 | your system. You may want to keep this     |
                 | file for later reference.                  |
                 |                                            |
                 |       +----+              +------+         |
                 |       | OK |              | Back |         |
                 |       +----+              +------+         |
                 |                                            |
                 |                                            |
                 +--------------------------------------------+                 

  / between elements   |   selects   |   next screen

About this entry