Virtio drivers for VirtualBox

Virtio drivers for VirtualBox question

https://www.virtualbox.org/ticket/14548

User need to manually install VirtIO drivers on Windows guests using drivers from Linux-KVM.org driver download page or prebuilt driver ISO from Fedora Project in order to use VirtIO networking on Windows guests. Embedding this drivers into Guest Additions installer for Windows could be quiet useful.

Direct downloads are available for the .iso, .vfd, and qemu-ga installers.

Stable virtio-win iso: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

 

Install virtio drivers

https://forum.qnap.com/viewtopic.php?t=130522

VirtIO Installation:
Installing the VirtIO drivers takes a little bit of effort, but is worth the work.

Your VM should be Powered OFF prior to these next steps.

Updating your VM Configuration

In VS console, select Virtual Machines / <Your VM>

Click Settings and make the following changes

(For Test VM users) General: Changes OS Type to Windows / Windows 7. Click APPLY
Network: Change Model to VirtIO. Click APPLY
Storage: Click Add Device in Upper Right corner.
Interface: VirtIO
Cache Mode: WriteBack
Size: 1GB
CD / DVD: Click the CD icon to the right of Image Path and point to the location where you saved the VirtIO ISO file (from Pre-Requisites). Click APPLY
Video: Change Type to QXL. Click APPLY
Power On your VM

 

Install VirtIO drivers in Windows

After your VM is powered on, we will need to install the VirtIO drivers that are located on the ISO setup as a CD-ROM.

Click on Start
Right-Click on Computer > Manage
Click on Device Manager
Expand Other Devices(you should see several Yellow item)
Right-Click on Ethernet Controller
Update Driver Software
Browse my computer for driver software
Change location to you D:\ (your CD-ROM) and make sure Include subfolders is CHECKED
Click NEXT

You will get a popup box after a couple seconds for installing the Ethernet driver.
CHECK Always trust software from “Red Hat, Inc.”
Click INSTALL
Click CLOSE

Repeat the same process for the remaining items under Other devices[/]
PCI Device [i](VirtIO Balloon Driver)
SCSI Device (RedHat VirtIO SCSI Controller)
Close Device Manager
Shutdown Windows

Advertisements
Posted in Uncategorized | Tagged , , | Leave a comment

Optimised defaults for VirtualBox VMs

Verbatim copy from https://github.com/hashicorp/vagrant/issues/2864

It seems Vagrant still uses defaut VBoxManage settings but most of them are no longer proper. I spent several hours to play around ssh connections, network and chipset settings so let me share some useful details:

  • Networking adapter “Intel PRO/1000 MT” server is about twice faster than desktop
  • Networking adapter virtio-net provides much faster networking, it’s an extraction from KVM project
  • Chipset ICH9 is an important to set up (details: http://blog.jdpfu.com/2012/09/14/solution-for-slow-ubuntu-in-virtualbox)
  • CentOS setup from ISO has predefined iptables rules, should clean up (service iptables stop && /sbin/chkconfig iptables off)
  • Host system should have optimised TCP/IP stack and saved into /etc/sysctl.conf:
  net.core.wmem_max = 256960
  net.core.rmem_max = 256960
  net.core.wmem_default = 256960
  net.core.rmem_default = 256960
  net.ipv4.tcp_wmem = 4096  87380 16777216
  net.ipv4.tcp_rmem = 4096  87380 16777216

All tests were run on CentOS 5.6 with VirtualBox guest add on installed.

Let me share an exerpt from 6.1.Virtual networking hardware (https://www.virtualbox.org/manual/ch06.html):

The "Paravirtualized network adapter (virtio-net)" is special. 
If you select this, then VirtualBox does not virtualize common 
networking hardware (that is supported by common guest operating 
systems out of the box). Instead, VirtualBox then expects a special 
software interface for virtualized environments to be provided 
by the guest, thus avoiding the complexity of emulating networking 
hardware and improving network performance. Starting with version 3.1, 
VirtualBox provides support for the industry-standard "virtio" 
networking drivers, which are part of the open-source KVM project.

 

Posted in tools | Tagged , , | Leave a comment

How to restart the Oracle VirtualBox DHCP Server

pushd C:\Program Files\Oracle\VirtualBox

VBoxManage dhcpserver modify --netname "VirtualBox Host-Only Network" --disable
VBoxManage.exe: error: DHCP server does not exist

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe natnetwork list
NAT Networks:

Name: NatNetwork
Network: 10.0.2.0/24
Gateway: 10.0.2.1
IPv6: Yes
IPv6 Prefix: f
Enabled: Yes



Name: NatNetwork1
Network: 192.168.0.0/24
Gateway: 192.168.0.1
IPv6: Yes
IPv6 Prefix: f
Enabled: No

2 networks found

VBoxManage dhcpserver modify --netname NatNetwork --disable

VBoxManage dhcpserver modify --netname NatNetwork --enable
Posted in tools | Tagged , | Leave a comment

How to repair damaged photo image file?

Bad Peggy is an open source piece of software that scans through a folder or directory of images to check for any damaged JPEGs. If it should find any loss in integrity or corruption in a file, it will display information on why the file is corrupt and it will allow the user to fix it using a set of tools that the application provides.

https://www.coderslagoon.com/#/product/badpeggy

Posted in tools | Tagged , , | Leave a comment

How to recover deleted files on micro SD card?

Puran File Recovery is a free file recovery program.

https://www.lifewire.com/puran-file-recovery-review-2622882

Posted in tools | Tagged , , , | Leave a comment

System Rescue Boot Disc

https://www.raymond.cc/blog/5-system-rescue-boot-disc-based-on-windows-pe/

http://www.online-tech-tips.com/computer-tips/backup-your-computer-by-making-an-image-of-your-hard-drive/

Posted in tools | Tagged , , , , , | Leave a comment

Windows 10 Editions and Cortana

https://www.microsoft.com/en-gb/windowsforbusiness/compare

https://www.itechtics.com/difference-between-windows-10-pro-vl-n-editions/

https://en.wikipedia.org/wiki/Windows_10_editions

https://support.microsoft.com/en-gb/help/17214/windows-10-what-is

 

Posted in windows | Tagged , , | Leave a comment