I'm running CentOS 5.4 with kvm and 1 Ubuntu 9.10 guest. I haven't gotten any sound from the start. I've done quite a bit of research and troubleshooting but have taken this as far as I can at this point. To start there was no virtual sound card, but after enough digging I found the option in virt-manager that creates that, created a new guest with sound and copied the line from the xml config file to my existing guest. The line I added in virsh was <sound model='ac97'/> And the virtual sound card now shows up properly in the guest, but still no sound in the guest. Sound works fine in the host so no hardware issues.
Next I followed the instructions here: [URL].. making sure to check the volume controls and user permissions, still no sound. I read somewhere on the net that SElinux messes up the sound, so I disabled SElinux on the host for testing purposes, but no joy. I also tried using modprobe snd-pcm-oss on my host but that didn't return any output so I'm not sure if that did anything. In short I've been shooting the dark trying different things and if anyone has an idea I haven't tried yet, I'd like to hear it.
I also found this on the net: [URL]... But this seems to refer to slackware and I have no idea which config file they are even talking about. I don't think it applies to me but who knows?
Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..
I have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd. I't always gives me the same error:Starting install.Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.
I don't want to use image file as disk, but would like to allocate a disk for guest os. say it's /sda6, then do I need install guest os on host os? or can I install while the system is booting and only import a guest os from that? Do I have to mount the disk?
i just experimented with virtualbox to make a vps on my centos machine, now i have a question in mind, since this was my local machine so i was able to install the guest os using the CDrom but when i have a server in the datacenter, and i create a vps on it and i am thousands of KM from my server. how will i install the guest os on my VPS on my server in the datacenter.
1) Installed Cent os 5.4 in my system (name it as "guest os").
2) Downloaded the full kernel source, and patched the vanilla kernel to export symbol table (2 line change) [URL] (Yes I know that kernel should not be touched, if touched you should not seek help here . but I felt I didnt do any big change in kernel there). Besides we unset the config_smp & config_preempt parameter to make the kernel as not SMP and not preemptive .
3) Then compiled and booted with the new kernel 2.6.18, everything went fine . Now my gust os box is loading fine and I dont have any issue .
So now I need to install this above machine as guest OS in one more XEN machine cent os 5.4 (name it as "xen os").
So we created the image out of the above box "guest os" and added it as VM in xen os . But while booting it always hangs under some error like "/usb device sort of thing" (I dont have the screen where it hangs, but I do have the equivalent xen log from XEN OS linked to [URL] .
1) what the error is, and what need to be changed in my guest os build .
2) In general I am new to this VM and XEN installation, to be frank I am completely zero . Does changing the native os 5.4 to guest os need any change in kernel or something.
3) Does this case possible, install plain cent os in xen machine. After then patch the kernel in VM and boot with that . I guess it should not be possible ...
4) If possible guide me to some documentation where I can learn few basics over this.
I have a new public mail server running under Vmware Server 2.0 installed on Windows Server 2008. I'm not satisfy about performance, virtual machine has got 3gb of ram and 2 virtual cpu. Physical machine has got one intel xeon cpu 2.4ghz quad core, 8 gb of ram and 3 hdd 500gb raid5. I already set this option: Fit all virtual machine memory into reserved host RAM. How can I increase performance? Are there any kernel build for virtual installation?
I am running a Centos 5 x86_64 guest with VirtualBox 3.1.2.The virtio modules are loaded, but the virtual interface is not detected.Anyone else use the new virtio network drivers with virtual box and know how to get this to work?
My problem is next: I have Public IP-addresses (ex. 80.237.x.x) and this IP-addresses join to network interfaces (eth0:0, ... eth0:5) and I have local IP-address of Guest System 192.168.122.111 of NETWORK 192.168.122.0.What I can do here if I want assign Public IP-address for Guest System? Because if I want connect to my Guest System through any computer in world (ex. through SSH) I should have public IP of guest system (not private, ex.192.168.122.111).
I use CentOS under VirtualBox. There are Guest Additions, but for Ubuntu are virtualbox-ose-guest-utils and virtualbox-ose-guest-x11 There are GA replacements, better than GA (no problem with AppArmor). Are CentOS replacements ?
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
Centos version: 2.6.18-92.el5 Processor:Intel Xeon L5420 Quad-Core Guest OS:Windows Server 2008 Web
KVM is istalled using these instructions: [URL] When I run qemu-kvm to boot a VM off the Windows Install .iso with the -no-acpi parameter the VM displays the following:
Windows Boot Manager Windows failed to start... Status 0xc0000225 Info: Windows failed to load because the firmware (BIOS) is not ACPI compatible
Without the -no-acpi parameter, the Windows Server 2008 guest shows a blue screen with "stop: 0x000000A5" meaning "The ACPI Bios in this system is not fully compliant to the specification." [URL] 386/32bit and x86/64bit versions of CentOs both exhibit the problem. IT WORKS after I compiled and installed the latest versions of the Kernel (22.214.171.124) and KVM (84) (Using these instructions: [URL] Following advice [URL] I really don't want to run a custom kernel. I compiled various KVM versions with the 2.6.18 kernel but still get the ACPI problem or compiler errors or "Hypervisor too old: KVM_CAP_USER_MEMORY extension not supported" How to get a Windows Server 2008 guest running in KVM on Centos?
I'm running xen as installed from the CentOS Virtualization Suite and I'm having some problems. One of my VMs powers off immediately after an error during 'POST'. Is there a way to stop it from immediately powering off so I can see the error? And there's also at least one error message that appears for a split second after the vm craps out, before the gui console reports 'Guest not running'.
I'm experiencing some rather severe problems after updating my Centos 5.4 system (Virtual Xen guest). What happens is that when the system boots it complains about missing .so files which prevents about 50% of the services installed from running. I'm suspecting that it has something to do with selinux for two reasons: 1. The first services to go down complains about the security context of some files, and 2. selinux was kinda the reason I decided to update in the first place as it was disabled when it shouldn't be (enabled in system-config-securitylevel, disabled when running sestatus). The whole boot-sequence ends with alot of "INIT: Id 'X' respawning too fast: disabled for 5 minutes"-messages (including all runlevels) before it goes stale, and I can do nothing. The server in question had undergone very little tinkering from my part, pretty much none at all, the only services installed after installation was apache, mysql and webmin.
Details: CentOS 5.4 is installed on both the host and guest. The guest runs on an lvm-partition. I have two other vm's(also CentOS) running just fine, altough I'm a bit weary of updating them .
Attached are some screenshots of the boot-process.
I hope some one here can share some insight on this problem. It's making me pretty nervous seeing that our whole network is run by CentOS-installations (not that I'm certain that CentOS is the culprit).
On my bare metal server, I get about 130MB/s read from a software RAID 10 array, but when reading the same file from a VM via NFS over the VirtIO interface,I only get about 40MB/s.
Furthermore, the process for the VM uses >180% CPU on the host, and ~40%, and the 5 min average is ~1.5 on the host and guest. I have dual E5620's so I'm disappointed that the transfer is so slow, as I was expecting at least 90MB/s.
I'm new to being a sysadmin, so if anyone has some tips I can use to increase the transfer rate, and possibility reduce the CPU load as well I'd appreciate it. I'm assuming that 130MB/s is the max speed of two 7.2k HDDs, but if there's any way I can squeeze any more out that would be great too.
2x Intel Xeon E5620s @ 2.40Ghz 8GB of RAM @ 1066Mhz 4x 1TB Western Digital Black HDDs in RAID10
I've found a workaround, but the workaround doesn't make any sense to me.I suspect I am running into a bug of some sort.I've tried to search for a solution, but the search terms are too broad and I can't seem to find anything useful.I have a CentOS 5.5 system that I've set up Virtualization on (presumably Xen, right?). I have a RHEL 5.4 Guest OS using "Full Virtualization" method.When I was installing the RHEL guest, the entire server rebooted just as the RHEL guest was booting for the first time.Thinking that odd, but coincidental, I just let the Host server reboot and then started up the RHEL Guest again.The reboot happened again and in the same spot! When I say the server rebooted, I mean black screen...pause...bios screen.I finally managed to get the RHEL Guest booted by removing the DVD that I had in the DVD drive and disconnecting it from the Guest OS in VMM. Very, very odd. I can reproduce this behavior by simply booting a Guest OS with a DVD in the drive (so far I've tried only RHEL guests).
The reboot happens at the same place in the Guest boot process. It's when RHEL starts the UDEV script. Actually, a few seconds after the RHEL system displays "Starting udev" message. I've looked in both the CentOS and RHEL messages log and found nothing.It's not a huge deal at this moment, but I will be sending these servers out into the field and I can't control what the end users of these systems put in the DVD drives.
Last I upgraded one of our cent 5 boxes which is running kvm with a mix of centos and windows VMs.After the update performance just tanked on the XP guest, but the others (including other windows VMs) are just fine.I checked with our good friend google and didn't really get any help there.We're hoping to NOT have to rebuild the XP guest, so I thought I'd check in here first.
I have a local file server running Samba on Fedora 9. It's already configured and serves a few people without any problems. I am now trying to set up a new read-only share with the username 'guest' and the password 'guest'. However, with no success so far! If I log on as 'guest' with the password 'guest' like so:
su - guest No problem. Once logged in, if I try:
I'm prompted for a password. If I enter 'guest' I get:
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux make oldconfig && make prepare && make scripts && make dep cp ../linux-obj/$HOSTTYPE/default/Module.symvers . make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
I installed a Fedora 14 guest on a Fedora 14 host with Virtualbox, then i run these commands on the guest:yum install kernel-devel kernel-headersbut if i try to install the virtualbox-guest additions on the guest, is still complains about that it's unable to find the kernel source directory?Ha anyone succeded installing the guest additions on a guest Fedora 14?
Centos 5 was set up for me on my server with VMware and XP SP3 as a guest. I have little to no knowledge of centos (or anything Linux) so i tend to leave well alone but i am trying to get a USB printer to work from my networked pcs through XP - Through VMware - Through Centos5 to the USB port on the back of my server. I am reasonably OK with XP but am not a techie so will probably need to be walked through this.
I can see the printer appearing on Centos' equivalent to device manager and when i print everything seems ok with the XP print queue clearing after a few seconds but nothing prints. At a guess i need some sort of software bridge- (is this SAMBA?).
I have host winxp and guest centos in vmware. how to maximize the whole desktop display in centos so that it will occupy my whole 15" monitor. I already maximize the vmware and centos..nothing happens. If i maximize the centos, it will only maximize in the center screen.
I'm a NOOB to CentOS and Linux in general. I've been trying to find a way to mount my USB flash drive (FAT32) so I can see my files. I've been told that I need to add a USB controller. My CentOS is running as a VMWARE guest in WS7 loaded on a Vista host. My physical hardware is a Toshiba Satellite notebook. I've been told I have to add a USB controller before I can mount. Can anybody give me some direction with this?
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
Just installed updates with the recent kernel update 11.3 for Centos 5.5. I have had guest additions running fine before that. Now when I try to reinstall the guest additions (which is necessary) I get the message Detected Unsupported x86 environment. how to get this going since it was running fine before the kernel update.
I had a lot of trouble installing Guest Additions within the Fedora 13 Guest on a Linux host. I had to mount the vboxGuestadditions.iso from the Device --> CD/DVD Devices menu. Then I located the appropriate package for my system. In my case it was the AMD64 Linux version.I ran this as administrator in Terminal. I used the "bash" command followed by the package name. This was after CDing the the appropriate directory. The packaged installed, I then rebooted and it worked fine. (Something that would make this easier is to load a script into nautilus that would allow me to open a locatation as administartor at the open window. I'm sure there is something in Fedora to do this but I couldn't find it in a hurry so I used the command line way).
i've installed kubuntu 10.04 on a sun virtualbox , and when i tried to install the guest additions i got this error in the terminal:
Building the VirtualBox Guest Additions kernel modules. fail ! (Your system does not seem to be set up to build kernel modules. Look at /var/log/vboxadd-install.log to find out what went wrong) i'am running windows 7 as a host operating system .