New answers tagged

0

Correction: you just want to set up a route to the VM on any machines that want to access the floating IPs. http://www.thegeekstuff.com/2012/04/route-examples Leaving the wrong/reverse answer (typically already configured to happen automatically): The machine inside the container doesn't know about the public network unless it has has been configured to ...


1

I was able to get this working by enabling the USB 3.0 (xHCI) Controller under USB settings. You must also install the Virtualbox Extension Pack to get the appropriate Virtualbox module to support this setting. On Arch Linux: yaourt -S virtualbox-ext-oracle The extension pack is only available in the user repo.


0

The most obvious place for personal information is under /home, but there may be private information elsewhere, such as: In logs (IP addresses, email addresses, etc.) In email (/var/mail) In the printer spooler (/var/spool/cups) Under /etc (e.g. network configuration) In deleted files that can be carved out of the disk image (This is not an exhaustive list!...


0

This is a Windows / VMWare issue. I had the same issue on the same type of laptop. I think the Windows setting I used to avoid this issue is here, reply #10.


8

Since you haven't shut down the VM, then the process using that image file still has the file open and it hasn't actually been deleted yet. As long as the process keeps running, you should be able to recover it. For this answer I have a kvm image called testdelete. The VM is up, but I have deleted the file. First you need to find the process using the ...


-2

libvirt images are located by default at /var/lib/libvirt/images You will need to find a way to restore the file, with some undelete softwares. This post maybe can help you: Unix/Linux undelete/recover deleted files


1

Running ulimit -n unlimited as superuser on Linux says: Operation not permitted. You need to boot into single user mode and fix your limits.conf back and specify some reasonable value, because Linux denies unlimited NOFILE.


1

You have 25Gb free; it's all being used as cache. The free output is most telling: total used free shared buffers cached [...] -/+ buffers/cache: 5 25 See http://www.linuxatemyram.com/ for more details.


0

If you have network access from your live CD boot, you should be able to do something like this: get a root shell in the Live CD running on the VirtualBox VM partition and format the virtual disks however you want. If LVM tools are on the Live CD you can even use LVM. run mkdir -p /target mount your intended rootfs on /target, make directories for any ...


0

Found it. In a similar case, the author complained that: I have to wait for about 20 seconds until my network comes up. It appeared that: This delay is caused by Spanning Tree Protocol (STP) Indeed, one of the differences was that the /etc/network/interfaces of Debian host contained bridge_stp on, while on Ubuntu, there was no bridge_stp ...


0

I personally prefer to append using dd. I'm assuming 512-byte sectors here. There may be a case for 2048-byte sectors, so just swap the numbers in and do the maths. In each case I'm using a 512MB test file for example: dd if=/dev/zero of=testfs.img bs=512 count=1M mkfs.ext4 testfs.img MBR Composing the image I personally prefer to append the first MB (...


0

the vSphere cluster at work is overloaded, but the usual Zabbix measurement tool wasn't indicating CPU steal time. So many thanks to Dag, I took his test program and wrote a script just to print steal percentage as follows #!/usr/bin/python import sys, os, time sys.path.append(os.path.join('/root/dagwieers/vmguestlib/')) from vmguestlib import VMGuestLib ...


0

Finally, after much wailing, complaining and head bashing, I finally figured out what was going on. As it turns out, IOMMU was working all along, it's just that the kernel logs weren't showing it. But the IOMMU driver was there, it was working, and I serendipiously found out when I mistakenly typed ps -ef instead of dmesg like this: rockshooter ~ # ps -ef |...


0

Your issues with getting the Ethernet adapter to show are likely a lack of drivers in the older kernel that would support the virtual NIC that VirtualBox presents. However, a quick way to get the files onto the VM would be to download them to the host machine, burn them to a CD, attach that CD to the VM via VirtualBox, then mount it within the VM. If you ...


0

I don't believe there is a simple command to do that (but it would be great!). I do this fairly often and it is usually just a quick script / one line command using a for loop and some awk. Keep in mind that if your hypervisor is connected to other hypervisors, you might want to sever that link temporarily so you don't inadvertently interfere with other ...


1

#! /bin/bash xmlfiles=( $(find /etc/libvirt/qemu/autostart/ -name '*.xml') ) for f in "${xmlfiles[@]}" ; do domain=$(xml2 < $f | awk -F= '$1 == "/domain/name" {print $2}') # only start domain if it's not already running if ! virsh list | grep -q " ${domain} .*running" ; then virsh start "$domain" #else # optionally reboot domain ...


1

I would: Make sure, I have at a minimum 8GiB RAM. Install Linux into to a 12-15GiB Partition @SSD, add Swap@SSD, if wanted/needed. That should leave ~ 80GiB free on the SSD. Make a Partition, SSD3. Give that to the Virtual Machine for later use as Windows system drive. Create 2 Partitions on HDD, ~200GiB HDD1, and the Rest, HDD2 Give HDD1 to the Windows ...


0

VMware's documentation claims that it can target VMware workstation (using the converter running on Windows). Here's the corresponding link: Converting a physical machine for Fusion, Workstation, or Player using Converter Standalone (2005129) The change history cites 02/12/2014 - Updated for Workstation 11.x which is recent enough that you "should" be ...


0

To add, there seems to be XenConvert which which seems to convert existing installations into VMs https://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html As an example, maybe use XenConvert to convert an existing physical installation to VHD then use VirtualBox to convert to VDI then convert (using VirtualBox's tool VBoxManage) to a Xen ...


0

The problem was that the Firewall was blocking the connections on the ports used by Samba. I had to add the necessary exceptions and now it works as expected.


1

I had the same kind of problem. I wanted to change an IP failover redirection as soon as the virtual machine is migrated to another node but I could not find a clean way to detect the said migration. The log files /var/log/pve/tasks/index does not help. Only the node that is giving the VM is having a line of log that says "qmigrate" or "hamigrate". I've ...



Top 50 recent answers are included