#StackBounty: #dual-boot #18.04 #virtualbox #live-usb LiLi virtualization fails

Bounty: 100

I downloaded the current 18.04.2 Desktop ISO, checksummed it, and ran LiLi from Windows 10 to generate a LiveUSB. In Step 4, I selected the Virtualization feature shown at the LiLi link (see ‘No reboot required’).

LiLi's Step 4 dialog box

I can boot from the LiveUSB and run Bionic AOK, but the virtualization feature fails when I go to the VirtualBox folder on the LiveUSB and launch

Virtualize_This_Key.exe  

I do have Local Admin rights on my Windows 10 Pro machines (tried on several, both RS4 and RS5).

I left a request for support on 2019-07-31 on the LiLi website; echo answereth not, no response.

Anyone use this feature? Any special tips to make it work on a supported Ubuntu? Or is this app pining for the fjords?


Get this bounty!!!

#StackBounty: #windows-10 #ubuntu #virtualbox #virtual-machine Virtual Box OS stuck with blank screen

Bounty: 50

I want to run Linux OS on my Windows machine as guest OS. To make it run, I have installed Oracle Virtual Box and Ubuntu ISO file. And I have configured it as follows:

Ubuntu version: ubuntu-18.04.2
Virtual Box version: VirtualBox-6.0.10

Allocated RAM : 4GB/8GB
Allocated HDD : 10GB

Settings:
Hyper-V : Disabled
3D Acceleration: Unchecked

Problem:
When I start the guest OS, it shows the screen as following and nothing happen, it stuck till you kill it forcefully!

enter image description here

I checked the logs and it goes as follows,

00:00:09.445290 AIOMgr: Async flushes not supported
00:00:09.445380 PcBios: SATA LUN#0 LCHS=1024/255/63
00:00:09.445416 APIC: fPostedIntrsEnabled=false fVirtApicRegsEnabled=false fSupportsTscDeadline=false
00:00:09.445429 TMR3UtcNow: nsNow=1 563 564 355 785 531 700 nsPrev=0 -> cNsDelta=1 563 564 355 785 531 700 (offLag=0 offVirtualSync=0 offVirtualSyncGivenUp=0, NowAgain=1 563 564 355 785 531 700)
00:00:09.445452 VMEmt: Halt method global1 (5)
00:00:09.445475 VMEmt: HaltedGlobal1 config: cNsSpinBlockThresholdCfg=50000
00:00:09.445483 Changing the VM state from 'CREATING' to 'CREATED'
00:00:09.447677 Changing the VM state from 'CREATED' to 'POWERING_ON'
00:00:09.447745 AIOMgr: Endpoints without assigned bandwidth groups:
00:00:09.447757 AIOMgr:     E:DivyangubuntuVMubuntuubuntu.vdi
00:00:09.447967 Changing the VM state from 'POWERING_ON' to 'RUNNING'
00:00:09.447998 Console: Machine state changed to 'Running'
00:00:09.457150 VMMDev: Guest Log: BIOS: VirtualBox 6.0.10
00:00:09.457529 PCI: Setting up resources and interrupts
00:00:09.477694 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:09.527703 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:09.545641 VMMDev: Guest Log: CPUID EDX: 0x178bfbff
00:00:09.546833 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:09.546961 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:09.608509 AHCI#0: Reset the HBA
00:00:09.608539 VD#0: Cancelling all active requests
00:00:09.609682 AHCI#0: Port 0 reset
00:00:09.609821 VD#0: Cancelling all active requests
00:00:09.615063 VMMDev: Guest Log: BIOS: AHCI 0-P#0: PCHS=16383/16/63 LCHS=1024/255/63 0x0000000001400000 sectors
00:00:09.633141 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:09.635158 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
00:00:09.949270 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:09.949321 VMMDev: SetVideoModeHint: Got a video mode hint (800x600x32)@(0x0),(1;0) at 0
00:00:09.959741 GUI: 2D video acceleration is disabled
00:00:09.959765 GUI: HID LEDs sync is enabled
00:00:10.001578 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:12.105706 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=0 cbLine=0x280 flags=0x0 origin=0,0
00:00:12.127552 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:12.179199 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:12.181798 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0231
00:00:12.183508 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:12.185912 VMMDev: Guest Log: BIOS: Boot : bseqnr=2, bootseq=0023
00:00:12.189866 VMMDev: Guest Log: BIOS: Booting from CD-ROM...
00:00:12.439376 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=16 cbLine=0x500 flags=0x0 origin=0,0
00:07:32.244300 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.368976 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.488736 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.594988 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.682085 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.742048 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.834937 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807 

Not sure if missing some configuration or machine has not enough resources to load this external OS.

System Configuration:

OS: Win10 pro.
Processor: i3-7020U@2.30GHz
RAM: 8GB


Get this bounty!!!

#StackBounty: #windows-10 #virtualbox #shared-folders #nod32 #eset ESET NOD32 does not scan files in shared folder Virtual Box guest

Bounty: 50

I have installed ESET NOD32 to a Windows 10 VirtualBox guest machine. The update is complete and its latest version (12.1.34.0) is running. I am able to manually scan the local Windows drive (C:) without problems. But, I cannot scan a drive, say H:, that is mapped to my host’s (Ubuntu 19.04) home folder (/home/my_user) which is defined as a “shared folder” in VirtualBox: The scan completes immediately with 0 scanned objects. Here is the scan log:

Log
Scan Log
Version of detection engine: 19645 (20190707)
Date: 07/07/2019  Time: 1:42:37 PM
Scanned disks, folders and files: H:
Number of scanned objects: 0
Number of detections: 0
Time of completion: 1:42:37 PM  Total scanning time: 0 sec (00:00:00)

I have tried other shared folders (smaller and larger) with read-only permissions or full permissions. I even tried to scan directly a sub-folder of a mapped shared folder (like: H:Documents) and I got the same result:

Log
Scan Log
Version of detection engine: 19673 (20190712)
Date: 12/07/2019  Time: 11:00:41 AM
Scanned disks, folders and files: H:Documents
Number of scanned objects: 0
Number of detections: 0
Time of completion: 11:00:41 AM  Total scanning time: 0 sec (00:00:00)

The scan always completes with zero scanned objects, even though there are plenty of ordinary files in the shared folder.

I assume that these drives should be treated as Network drives by NOD32, which is an enabled option in NOD32 Setup.

Please note that, other applications in the guest (Windows 10) machine can access the files and sub-folders on the drive(s) mapped to the shared folder(s) and this is not a permission problem.


Get this bounty!!!

#StackBounty: #virtualbox Installing Ubuntu in VM – stuck on 'Who are you?

Bounty: 100

I am installing Ubuntu on my virtual drive and when I get to the ‘Who Are you?’ section of the process I am unable to type any text into the boxes.The cursor clicks into each box such as username and password but won’t let me type anything therefor I can’t proceed and click continue.

I came across similar questions about the who are you? but not about being unable to even type the text in.

Any help would be greatly appreciated.


Get this bounty!!!

#StackBounty: #virtualbox Virtual box installation

Bounty: 50

I wanted to install virtual box software so i could use Linux operating system on my Win7 (I cannot use Linux as my default OS on my disc because it does not support some programs that i use on win7).

However, after i downloaded virtual box, i faced some issues when i was trying to install it on my computer. Here is what message i got after i started installation the regular way:

enter image description here

Basically it says that the windows installer service could not be accessed, but my installer works perfectly fine for every other program.

Since i had no idea what to do next, i googled to see what can i do so i found tutorial that explains how to create a installation log file, which says that i need to use command prompt and enter the line that represents location of my installation exe file there followed by h, which would be first step towards the solution

this is link to the page that explains this

However, when i insert the given line in my command prompt, all i get is the following message:

enter image description here

I have no idea what “Parameter parsing error: VINF_GETOPT_NOT_OPTION” could possibly mean.

This message only appears when i try to run Virtual box installer, when i try same thing with another installer, it immediately starts the installation.

I’ ve never had installed this before on my computer and this is the first time i tried to install this.What is the problem? Any help appreciated!

NOTE: I have a 2.26GHz CPU, 4GB ram and Win7 OS

EDIT:

I’ve tried to fix this by following the tutorial provided in the comment section but Windows installer was already checked in my System Configuration Utility, so i could not do anything.


Get this bounty!!!

#StackBounty: #ssh #windows #virtualbox ssh_exchange_identification: read: Connection aborted on VirtualBox

Bounty: 100

I have an Ubuntu 18 Guest on Virtual Box 6 running over windows 10. I need to ssh into the ubuntu machine. I’ve set a nat rule from my host 3022 port to port 22 on the guest. Configuration as follows:
enter image description here

But whenever I try to ssh into the machine I’m getting the following error:

ssh -l vfbsilva localhost  -p 3022
ssh_exchange_identification: read: Connection aborted

I`m using the https://cmder.net/ terminal emulator, might this be the problem?


Get this bounty!!!

#StackBounty: #networking #virtualbox #ssh #connection #vagrant connect to host localhost port 22: Connection refused

Bounty: 50

I created a Ubuntu Vagrant box and ssh’d into it.

Now, created a ssh key and trying to ssh to my localhost but I get the following error.

vagrant@vagrant-ubuntu-trusty-64:~$ ssh -vvvv localhost 
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused

When I check the list of ports opened as follows:

vagrant@vagrant-ubuntu-trusty-64:~$ sudo netstat -tulpn|grep 22
tcp        0      0 10.0.2.15:22            0.0.0.0:*               
LISTEN      11598/sshd

I see the ip address as 10.0.2.15:22. Also, my sshd service is running as well.

vagrant@vagrant-ubuntu-trusty-64:~$ ps aux|grep ssh
root     11430  0.0  0.7  68084  3688 ?        Ss   17:41   0:00 sshd: vagrant [priv]
vagrant  11432  0.0  0.3  68216  1908 ?        S    17:41   0:00 sshd: vagrant@pts/0 
root     11598  0.0  0.6  61388  3060 ?        Ss   17:44   0:00 /usr/sbin/sshd -D


Get this bounty!!!

#StackBounty: #virtualbox #virtual-machine #routing #vpn How to route traffic through VPN only accessible within VM (without a bridged …

Bounty: 50

I have an interesting situation where I have a corporate VPN that can only connect through a specific (outdated) version of Ubuntu (and/or Windows) using a vendor-supplied client that creates a VPN interface on tun0 upon successful authentication. I use a different distribution on my personal Linux machine, on which the VPN client will not run because of library issues.

As a workaround, I have more-or-less figured out how to configure the Ubuntu VM (on VirtualBox) to work as a router when the VM is configured in bridge mode. Unfortunately, this works on some networks (like my home one) because I can get another IP no problem for my bridged VM, but on many public networks, this does not work.

I believe I should be able to do this with two network adapters on the VM, one with NAT, and one as a Host-Only connection, but I’m not sure how to set up the routing so that I can send traffic on my host through the VPN tunnel.

Here’s the setup so far:

[host]$ VBoxManage list hostonlyifs 

Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.56.1
NetworkMask:     255.255.255.0
IPV6Address:     fe80::800:27ff:fe00:0
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

The guest interfaces (after connecting to the vpn – enp0s3 is the NAT adapter, enp0s8 is the host-only adapter):

[guest]$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 08:00:27:b2:d9:c2 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic noprefixroute enp0s3
       valid_lft 83176sec preferred_lft 83176sec
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 08:00:27:3c:81:82 brd ff:ff:ff:ff:ff:ff
    inet 192.168.56.101/24 brd 192.168.56.255 scope global dynamic noprefixroute enp0s8
4: tun0: <POINTOPOINT,UP,LOWER_UP> mtu 1384 qdisc fq_codel state UNKNOWN group default qlen 500
    link/none 
    inet XXX.XXX.XXX.XXX peer 1.1.1.1/32 scope global tun0

On the guest, I enable translation between the host-only adapter and the VPN tunnel with the following commands:

sudo sysctl net.ipv4.conf.all.forwarding=1
sudo sysctl net.ipv6.conf.all.forwarding=1
sudo iptables -A FORWARD -i enp0s8 -o tun0 -j ACCEPT
sudo iptables -A FORWARD -i tun0 -o enp0s8 -j ACCEPT
sudo iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

On the host, I can replace the default route with 192.168.56.1 (the host-only VM adapter), but then obviously no data can get out at all. Since the VM is not getting it’s own access to the internet, I need to have some traffic coming in/out to the internet through the host, but then I would like to force as much as possible of that to go through the VM’s VPN connection. It feels like I’m close, and this should be possible, but I’m not sure what the missing piece is.

On a side note, I think I could get this to work for certain applications by perhaps doing an SSH SOCKS proxy to the VM, perhaps? I’d like to route all traffic through the VPN, if possible.


Get this bounty!!!