Questions tagged [virtual-machine]

A virtual machine (VM) is a guest Operating System running in a completely isolated environment within a normal host operating system. Modern virtual machines are implemented with either software emulation or hardware virtualization or (in most cases) both together.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

VirtualBox-Redtat 7.9

I'm using Apple Macbook and I have VirtualBox in it. within my Virtual Box I have RedHat 7.9 I need to make a USB drive that i'm connecting into my MacBook visible into redhat. what is the steps ...
80 votes
4 answers
129k views

How do I run 32-bit programs on a 64-bit Debian/Ubuntu?

I have a 64-bit (amd64 a.k.a. x86_64) Debian or Ubuntu installation. I need to run 32-bit (i386/i686) programs occasionally, or to compile programs for a 32-bit system. How can I do this with a ...
0 votes
1 answer
45 views

Extend partition on RedHat VM without losing data

I have a VM with RHEL which serves as backup repo for Veeam. And now I need to extend partition for backups. Original size was 17TB I extended HDD in VMware to 19TB (it's a second HDD in VMware), and ...
2 votes
2 answers
7k views

How to enable an Ethernet interface at boot on CentOS 8?

I have a VM which is connected to a network with DHCP etc. Whenever I boot the VM the virtual Ethernet connection is DOWN. I need to log in by console and run dhclient eth0 to enable it. Every time....
0 votes
0 answers
10 views

Display bmp image using u-boot on virtual QEMU

I have an issue of displaying a bmp image using u-boot on virtual QEMU. I've built QEMU using buildroot and added the following options in u-boot.fragement file to support splash screen and virtio gpu:...
2 votes
1 answer
2k views

Can't ssh to my local VM (timeout)

I'm using an old redhat virtual machine with VMware Player. I used to be able to connect it using PuTTY, but for some reason now I can't. Here's what I do: I use ifconfig to get the IP address I ping ...
0 votes
1 answer
40 views

Files not listed when mounting VM image with guestmount

When I mount the disk image of a (stopped) KVM virtual machine, ls shows the home and tmp directories as empty, even though inside the virtual machine they are not empty and on the next run (after ...
4 votes
1 answer
2k views

XAUTHORITY environment value is not a clean path

I am having trouble opening VS Code from my VM running on Ubuntu 16.04. When I try to open it from the terminal, I get the error: WARNING: XAUTHORITY environment value is not a clean path: "/some/...
0 votes
1 answer
29 views

Kali linux monitor mode

I'm new to Kali Linux, in theory my laptop suports wifi monitor mode (Microsoft Network 3.4) but when i installed kali linux (pre-built) on VirtualBox and went through the options it was not showing ...
0 votes
0 answers
19 views

Trying to virtualize my Windows 10 install on linux in a dual boot setup

Currently I am dual booting Windows 10 and linux (fedora 39 with KDE), here both are on separate SDDs. I was hoping to use linux for most things and use Windows 10 for games. But here, I am trying to ...
-1 votes
1 answer
57 views

using rsync to measure difference between filesystems?

I'm running some expiriments to test filesystem differences, for example upgrading an older nixOS version and newer one to the same flake/configuration, as well as the same with debian and ansible. I'...
0 votes
1 answer
3k views

Virtual router in homelab Proxmox VM: how to send requests from main/home network to VM behind virtual router?

I have a homelab setup like this (diagram is also available here): One thing to note here is, my Proxmox host just has 1 NIC for ethernet cable. It has WiFi too but I decided not to use it because it ...
7 votes
2 answers
10k views

Understanding how libvirt snapshots are stored

At first I thought it would be stored in /var/lib/libvirt/images/ but as I created snapshots for the centos7 domain, nothing changed in this directory: drwx--x--x 2 root root 4096 Feb ...
3 votes
4 answers
11k views

Intellij IDEA: Unrecognized VM option 'UseConcMarkSweepGC'

I installed Intellij IDEA from on my arch using yay. I worked fine but recently it started doing this: john@arch-thinkpad ~ [1]> intellij-idea-ultimate-edition Unrecognized VM option '...
0 votes
1 answer
2k views

BIOS Password Reset - HP laptop

I have an issue creating VMs on CentOS using Boxes with the following error: Blockquote Virtualization extensions are unavailable on your system. Check your BIOS settings to enable them. Also, when I ...
1 vote
1 answer
3k views

MacBook Pro Parallels (Kali) Linux Limited Screen Resolution

I installed Kali Linux 2.0 in a virtual machine running Parallels on my 15-inch MacBook Pro with Retina display. For some reason the max resolution is 1920x1200. I have Parallels graphics set to '...
0 votes
0 answers
19 views

User space swap

I have low physical memory 1GB in my VPS container based (LXC), therefore I can't change kernel parameter such as swap memory swappiness. Even though there is swap allocated from built-in VPS when I ...
4 votes
1 answer
360 views

Can I use SELinux to add an extra layer of protection against 0-day VM escape exploits in KVM/QEMU?

My host is Fedora, and I want to add an extra layer of protection against 0day KVM/QEMU exploits that execute code on the host. For example there have been CVEs where if we run a specially crafted ...
0 votes
0 answers
80 views

VirtualBox: error while trying to perform a drag and drop operation from guest to host

I'm getting the following error when I try to drag and drop a file from my Debian guest to the host: Drag and drop operation from guest to host failed Details: DnD: Error: Requesting pending data ...
-3 votes
1 answer
48 views

what is storage virtualization in contrast to? [closed]

i'm reading up on storage virtualization https://en.wikipedia.org/wiki/Storage_virtualization and i'm trying to understand what this is in contrast to, or a solution to, or why it exists at all? some ...
0 votes
0 answers
79 views

Stuck on "Finished casper-md5check Verify Live ISO checksums."

I tried to run a Linux Mint 21.3 Cinnamon Edition vm in Hyper-V, but I've had some problems. When I used the Gen 2 option, it always displayed >>Start PXE over IPv4. When I installed using Gen 1,...
47 votes
5 answers
99k views

virt-manager copy paste functionality to the vm

Anyone know how to get Virtual Manager to install copy-paste functionality to the Virtual Machine?
20 votes
2 answers
20k views

Why are my cloned linux VMs fighting for the same IP

I've cloned two vSphere VMs off of an Ubuntu 17.10 template. After boot, they both claim the same IP and fight for it (ssh connections break off as the IP switches between them). The hostnames and ...
0 votes
0 answers
54 views

/bin/bash accidentally moved to another location

I have an Azure VM and while I was moving some files from my present working directory with the command mv, I accidentally missed the . in front of my source and instead wrote mv /* /destination/path ...
0 votes
1 answer
2k views

VERR_FILE_NOT_FOUND while trying to add raw hard disk in VirtualBox

I have created a bootable usb and created a virtual box raw disk with the following command- sudo VBoxManage internalcommands createrawvmdk -filename popliveusb.vmdk -rawdisk /dev/sdd1 But when I was ...
0 votes
1 answer
17 views

Number of sftp connections allowed in a VM

I understand that more than one SFTP connection is generally allowed. I would like to ask if this is possible even in a VM (virtual machine). In other words, I would like to establish more than one ...
0 votes
1 answer
2k views

QEMU/KVM: USB3 passthrough to FreeBSD

I'm making my first steps in FreeBSD, so please excuse any possible "linuxism". My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
3 votes
4 answers
16k views

Deploy Linux into, and boot from, VHD

Since Microsoft Windows 7 came out, the Windows platform has supported a very awesome feature called Native VHD Boot. This allows you to install Windows into a VHDX file, rather than installing it ...
3 votes
2 answers
2k views

Any better alternative to chroot on an OpenVZ VPS?

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment. BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no. (I think that prevents ...
0 votes
1 answer
43 views

Can't shutdown Linux guest OS with `at` command

Here are three examples of what I did inside the terminal (the third one has sudo): at now + 5 minutes (interactively:) at> shutdown --poweroff now echo "sbin/shutdown -h now" | at 14:...
1 vote
1 answer
2k views

Problem running vmPlayer on Fedora 21

After install the program and execute vmPlayer request the kernel headers to recompile it (I guess), after that vmP install the virtual network device, at this point show an error. and the vmware-...
0 votes
0 answers
11 views

Fedora Virtualbox VM details UI when clicked not visible?

I am in Fedora and I have installed virtualbox latest, earlier it was showing the UI of a VM when I click on it but later on , I initiated File manager and now I can only see below components on the ...
8 votes
2 answers
8k views

virNetSocketReadWire:1801 : End of file while reading data: Input/output error

Every time I start/stop a KVM, the libvirtd 3.0.0-4 throws the following error in syslog: libvirtd[3145]: 2018-08-07 21:00:19.699+0000: 3145: \ error : qemuMonitorIO:710 : internal error: \ ...
0 votes
1 answer
72 views

Tryng to enable the passhtru of one Nvidia gpu to a Bhyve Linux vm on FreeBSD 14.0

For some years it worked,but now,maybe due to the recent changes added on the FreeBSD 13 and 14 code,it does not work anymore : I'm talking about the ability to passthru one Nvidia GpU from the host ...
0 votes
1 answer
1k views

Enabling drag-and-drop file transfer between host and guests in KVM_QEMU on Arch Linux

I am running Windows 7-10 guests on an Arch Linux host, and I have tried using Virtualbox, Vmware, and KVM_QEMU. I have found that the best performance is with KVM_QEMU, but I am unable to drag and ...
5 votes
1 answer
2k views

Virtualize in multiple TTY (VT*)

I want to get virtual machine in a TTY (VT*) in fullscreen like GDM3 can take a TTY (VT*) for the graphic part of linux I want DISPLAY (heard as the output of a graphic server, here the VMs) to be ...
0 votes
0 answers
10 views

oracle vm instance, no matches found

I am trying to launch chromium on Oracle-Linux-8.9-2024.01.26-0 it is a vm i got from oracle, yet I get the following error root/.cache/puppeteer/chrome/linux-121.0.6167.85/chrome-linux64/chrome: ...
0 votes
1 answer
5k views

virsh pool storage basics

How or where were these pools created? Where are configuration files? $ virsh pool-list --all Name State Autostart ------------------------------------------- default ...
2 votes
1 answer
174 views

External drive connection error: Could not auto-redirect usbstick (permission denied)(3)

I'm running opensuse leap 15.4 on PC, I have installed qemu to run windows 10 on it,the installation and configuration somehow went fine, but when i try to connect external device USB/HDD i get an ...
0 votes
0 answers
19 views

After installing my centOS 9 on my oracle VB. It works fine but once I power it off, I won’t be able to boot again. It just keep rotating endlessly

The oracle virtual box was installed on my windows 10 with a 4gb ram. When installing the centos9 I choose 2gm processor space and 20gb storage space.
0 votes
0 answers
99 views

Delete Network Interface MacOS Sonoma

Recently I was playing with UTM and VMware Fusion on my Mac to try to create some virtual machines on an apple new processors, I have a Macbook Air M2, and I uninstalled UTM and Fusion from my Mac ...
1 vote
3 answers
4k views

Should I dual-boot Ubuntu and windows or use a VM?

I am interested in dual booting Ubuntu on my windows 11 machine. I would use Ubuntu for programming and general use. Which should i use?
1 vote
2 answers
4k views

Creating a port mirror on the open vswitch bridge

I have been trying to configure port mirror on Virtual bridge created using open vswitch. I have created the following ports on Bridge demo_bridge using: sudo ovs-vsctl add-port demo_bridge victim0 ...
20 votes
1 answer
48k views

How to list domains in virsh?

virsh list returns an empty list but the gui virt-manager has 2 defined QEMU/KVM virtual machines. How come virsh list doesn't list anythng ?
0 votes
0 answers
21 views

Extended virtual harddisk in CentOS VM, not showng in df -h even after applying resize operation in GParted

I've extended the virtual drive of my CentOS VM (Windows Hyper-V manager) from 25GB to 40GB. Also used GParted to resize the existing /dev/sda2 to use the entire newly unallocated 15GB space (clicked ...
0 votes
1 answer
131 views

How to virtualize Win10 from Linux (into VirtualBox on Linux) and shrink it?

Basically, what I need could be similar to what most other people running Windows for work would want, I suppose, so let us get started on my requirements: Somehow copy a raw disk (e.g. /dev/sda) ...
0 votes
1 answer
146 views

How do you install VirtualBox and VMWare on Chromebook's Linux Virtual Machine (Debian/Bullseye)?

I want to install VMWare or VirtualBox on my HP Chromebook x360's Linux Virtual Environment (Debian 11 Bullseye). The problem is that I do not know how to install it and I feel like I am missing a few ...
1 vote
1 answer
39 views

Explaining why setting up a WiFi connection that interfaces with a virtual bridge in Linux is problematic [duplicate]

Just like you can bridge two wired ethernet interfaces, you can bridge between an ethernet interface and a wireless interface. However, most Access Points (APs) will reject frames that have a source ...
15 votes
1 answer
12k views

What's the purpose of kvm, libvirt and libvirt-qemu groups in Linux?

I wanted to play a little bit with KVM on my Debian, and I installed the needed tools. The three groups showed up in the /etc/group file: kvm , libvirt and libvirt-qemu . What's the purpose of each of ...
0 votes
2 answers
3k views

how to transfer files from Kali?

I am using Kali Linux on virtual machine and i want to transfer a file from it to my phone. maybe blue-tooth or USB anything but i don't know how to do that or maybe i have to move it to my host ...

1
2 3 4 5
34