New answers tagged

0

From the man page of the hostname command: Hostname is used to display the system's DNS name, and to display or set its hostname or NIS domain name. From the man page of the ip command: ip - show / manipulate routing, network devices, interfaces and tunnels When you run the hostname -i command it shows you the IP associated with the system name and not ...


0

got the same problem as you (very similar), inspired by this source would be: sudo kvm -M q35 -m 2G -hda Win7.vhd and going a little bit offtopic, in my case, it was a real HD that I inserted it in my linux through a SATA-usb converter and that got detected as /dev/sdc, so this worked for me: sudo kvm -M q35 -m 2G -hda /dev/sdc


1

I found a solution: mount -o ro /images/ubuntu-20.04-live-server-amd64.iso /mnt cd /mnt virt-install \ --name myguest\ --memory 4096 \ --disk /vms/myguest.disk,size=40 \ --cdrom /images/ubuntu-20.04-live-server-amd64.iso \ --nographics \ --os-type linux \ --boot kernel=casper/vmlinuz,initrd=casper/initrd,kernel_args="console=...


0

Maybe for future readers, about the file sharing part, you can also see it the other way round. Create a share on the Windows VM and mount the share on your Linux host. I'm using a bridged network connection, I'm not sure if it works with NAT. This is easier to setup (no need to setup a samba server on the host), but needs the folder to be mounted after ...


0

I had same problem exactly after a reboot and spending hours to debug none of above answers could solve my apaches startup error.. There was no error description in logs.. Port 80 and 443 was not in use.. No duplicate Listen directives.. and totally not any clues to show me why apache is not working as expected after reboot! I even tried running apaches ...


0

In my case the ISO image was on an mounted storage, so the solution was: sudo nano /etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper added the entries for iso: /media/DATA/Downloads/Distros/** r, /{media,mnt,opt,srv}/** r That's it. The error is gone. Reference: LibvirtApparmor - Ubuntu Wiki


0

In my case the ISO image was on an mounted storage, so the solution was sudo nano /etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper The you may add the entries: /media/DATA/Downloads/Distros/** r, /{media,mnt,opt,srv}/** r Documentation


0

I have a sony vaio fit flip 13 (SVF13N), currently running ubuntu 20.04, and have had this "keyboard broken on resume from suspend" issue on and off for about the last 4 years, its infuriating. Anyway, it seemed to disappear on ubuntu 19.10, but after upgrading to 20 it was back, also introducing the issue that frequently when putting the machine to sleep ...


0

You can do it, but be aware: The Pi is usually not powerful enough to run heavy VM Guests well -- you are likely to encounter some performance problems (overheating, lagging). Especially desktops. Monitor your temperature sensors. Running a VM can heat up your Pi quickly - a proper cooling system is highly recommended to prevent unexpected thermal ...


0

It's really strange, you need to use the iso file for one proposal and qcow2 for another one: iso for cdrom images qcow2 for harddrive images Why do you want to convert it?


1

/dev/nvme0n1p1 780 M EFI System is required to boot in an (U)EFI system, whether Windows or Linux. You must have it. /dev/nvme0n1p2 5 G Microsoft reserved is a Windows Recovery partition. Once p4 is virtualized, you can eliminate it. /dev/nvme0n1p3 415 G Linux filesystem That's Ubuntu OS and Ubuntu data. /dev/nvme0n1p4 56.2G Microsoft basic data This ...


0

First, we have to define what you mean by "access" to a machine (either virtual or physical). When using putty, I assume you used SSH or simple telnet protocols, and the virtual machine was configured to listen for such requests. When using a web browser, if not defined, it will automatically try to connect using the HTTP or HTTPS protocols, and that means ...


0

I ran into the same issue. After digging around I found users with a similar problem on the iXSystems forums: https://www.ixsystems.com/community/threads/ubuntu-virtual-machine-no-longer-works.83737/ The fix recommended there was to shut off the VM, then edit the disk device, and switch it from AHCI mode to VirtIO. After following those steps the I/O errors ...


0

The addition of ip addr was already useful, we see none of the interfaces is up or configured. If the following doesn't help please consider also adding the output of networkctl so you can check which are actually managed. As it seems the system most likely has a network config not matching the adapters you have on the bare metal machine. Read netplan.io ...


0

I think, it's a bug (or, maybe, feature) in Virtualbox 6.1 version. You could, try installing Virtualbox 6.0 version and check if your ubuntu VM boots faster. Enabling Use Host I/O cache didn't help in my case also. But, as Pilot6 said, it's probably not Ubuntu's issue, but Virtualbox's.


1

The message is OK. But poor performance can be fixed. Shutdown the machine and check "Use Host I/O cache" under Storage -> Controller: SATA settings This question is really unrelated to Ubuntu. This is a wrong VB default setting.


1

I fixed it. Virtualbox was actually running in the background, but it wasn't showing in the system monitor and that's why I wasn't able to see it. I found the process with the command sudo ps -a which outputted this: PID TTY TIME CMD 123500 tty2 00:00:19 Xorg 123531 tty2 00:00:00 gnome-session-b 124722 pts/1 00:00:01 frontend 124731 ...


1

This issue is commonly related to time synchonisation. run date -u in both your host and your guest and compare the results. If the date and time in the guest is significantly different, you can run the command hwclock --set --date="2020-05-11 12:37:25" --utc but being careful to change my date and time above to the one given by your host system.


1

the --location makes virt-install to do some assumptions on the path of the kernel/initrd under these URLs. Failing to find these is the error you hit. The easiest way out that I'd like to re-iterate is that for VMs using cloud images is so much faster and easier than ISOs. I see that you use some kickstart files, that (and more) customization would in this ...


0

From your commands, I am assuming you are using any of Debian based distro Uninstall the VirtualBox (6.1) and delete all of the virtual machines & it's settings sudo apt-get remove --purge virtualbox-6.1 sudo rm ~/"VirtualBox VMs" -Rf sudo rm ~/.config/VirtualBox/ -Rf If you have a plan to install VirtualBox in the later time, don't delete the ...


0

You configuration for the VM must be a /32 see chapter virtual machine from : https://docs.ovh.com/gb/en/dedicated/network-bridging/ So you create a VM you need to a PUBLIC IP , so in S.Y.S. a fail-over IP and you need to create a virtual MAC for this IP . And after you need to update your VM with the virtual MAC . https://docs.ovh.com/gb/en/dedicated/...


2

Update: I got it working. (On the same day, but forgot to circle back here and report back). Note: read the answer above first The setup is not exactly smooth and rather plagued by errors - especially when compared with virtualbox, which just works out of the box, as it were. Anyway, to avoid repeating myself, I'm picking up from where I was when I kept ...


1

gnome-boxes uses qemu:///session which has some benefits (own instance per user, per-user data, ...) but also drawbacks compared to the usual Ubuntu default of qemu:///system - in particular it is rather low on permissions since it runs in user context. Therefore to do any sophisticated network (and some other things) you need helpers and setup changes. For ...


Top 50 recent answers are included