[SOLVED] Centos 5.4 KVM (virtualization); cannot begin the installation process
|Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.
11-12-2009, 05:00 PM
Registered: Nov 2006
Distribution: Fedora , CentOS , Solaris 10, RHEL
Centos 5.4 KVM (virtualization); cannot begin the installation process
Trying to install a virtual machine and I keep getting this error message
[root@wolf d1]# virt-install --prompt
What is the name of your virtual machine? squid1
How much RAM should be allocated (in megabytes)? 3072
What would you like to use as the disk (file path)? /d1/squid1/squid1.img
What is the install CD-ROM/ISO or URL? /media
Retrieving file .treeinfo... | 413 B 00:00
Retrieving file boot.iso... | 8.9 MB 00:00
internal error Domain squid1 didn't show up
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start squid1'; otherwise, please
restart your installation.
ERROR internal error Domain squid1 didn't show up
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 861, in ?
File "/usr/sbin/virt-install", line 759, in main
File "/usr/sbin/virt-install", line 814, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Domain squid1 didn't show up
Same error appears when doing it though the gui using "virt-manager"
here is some of the output of the log...
[root@wolf d1]# tailf /var/log/libvirt/qemu/squid1.log
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root LOGNAME=root /usr/bin/qemu -S -M pc -m 3072 -smp 1 -monitor pty -pidfile /var/run/libvirt/qemu//squid1.pid -no-reboot -boot d -hda /data/squid1/squid1.img -cdrom /d1/centos.iso -net nic,macaddr=54:52:00:65:0b:61,vlan=0 -net tap,fd=19,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us
QEMU PC emulator version 0.9.0, Copyright (c) 2003-2007 Fabrice Bellard
usage: qemu [options] [disk_image]
'disk_image' is a raw hard image image for IDE hard disk 0
-M machine select emulated machine (-M ? for list)
-fda/-fdb file use 'file' as floppy disk 0/1 image
-hda/-hdb file use 'file' as IDE hard disk 0/1 image
-hdc/-hdd file use 'file' as IDE hard disk 2/3 image
-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)
-boot [a|c|d|n] boot on floppy (a), hard disk (c), CD-ROM (d), or network (n)
-snapshot write to temporary files instead of disk image files
-no-quit disable SDL window close capability
-no-fd-bootchk disable boot signature checking for floppy disks
-m megs set virtual RAM size to megs MB [default=128]
-smp n set the number of CPUs to 'n' [default=1]
-nographic disable graphical output and redirect serial I/Os to console
-k language use keyboard layout (for example "fr" for French)
-audio-help print list of audio drivers and their options
-soundhw c1,... enable audio support
and only specified sound cards (comma separated list)
use -soundhw ? to get the list of supported cards
use -soundhw all to enable all of them
-localtime set the real time clock to local time [default=utc]
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
create a new Network Interface Card and connect it to VLAN 'n'
connect the user mode network stack to VLAN 'n' and send
hostname 'host' to DHCP clients
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=/etc/qemu-ifup);
use 'script=no' to disable script execution;
use 'fd=h' to connect to an already opened TAP interface
connect the vlan 'n' to another VLAN using a socket connection
connect the vlan 'n' to multicast maddr and port
-net none use it alone to have zero network devices; if no -net option
is provided, the default is '-net nic -net user'
-tftp prefix allow tftp access to files starting with prefix [-net user]
-smb dir allow SMB access to files in 'dir' [-net user]
redirect TCP or UDP connections from host to guest [-net user]
Linux boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file use 'file' as initial ram disk
-monitor dev redirect the monitor to char device 'dev'
-serial dev redirect the serial port to char device 'dev'
-parallel dev redirect the parallel port to char device 'dev'
-pidfile file Write PID to 'file'
-S freeze CPU at startup (use 'c' to start execution)
-s wait gdb connection to port 1234
-p port change gdb connection port
-d item1,... output log to /tmp/qemu.log (use -d ? for a list of log items)
-hdachs c,h,s[,t] force hard disk 0 physical geometry and the optional BIOS
translation (t=none or lba) (usually qemu can guess them)
-L path set the directory for the BIOS, VGA BIOS and keymaps
-std-vga simulate a standard VGA card with VESA Bochs Extensions
(default is CL-GD5446 PCI VGA)
-no-acpi disable ACPI
-no-reboot exit instead of rebooting
-loadvm file start right away with a saved state (loadvm in monitor)
-vnc display start a VNC server on display
-daemonize daemonize QEMU after initializing
-option-rom rom load a file, rom, into the option ROM space
During emulation, the following keys are useful:
ctrl-alt-f toggle full screen
ctrl-alt-n switch to virtual console 'n'
ctrl-alt toggle mouse and keyboard grab
When using -nographic, press 'ctrl-a h' to get some help.
Using CentOS 5.4
Last edited by custangro; 11-12-2009 at 05:22 PM.
11-13-2009, 10:13 AM
Registered: Nov 2006
Distribution: Fedora , CentOS , Solaris 10, RHEL
Ok I solved this issue...
It turns out that you can only create a machine with 1G of RAM...THEN after it has been created...you can give it more memory...
11-28-2009, 05:47 PM
Registered: Nov 2009
hi do you have some documentation - online manuals about how to work with centos and KVM
thanks a lot
Last edited by kopper27; 11-28-2009 at 05:51 PM.
12-06-2009, 01:01 PM
Registered: Apr 2005
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
I am still struggling with this issue, i am doing it in gui and it always ended up displaying message "internal error Domain A didn't show up"
I am using an bootable iso image for installation , i tried to install a linux guest (ubuntu)but same result
also tried to adjust ram to 1g but failed
i hv fedora core 11 64 bit on amd athlon 2.5G machine w 2 gb ram
Last edited by dhirsolo; 12-06-2009 at 01:03 PM.
All times are GMT -5. The time now is 10:24 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.