How to run Windows 7 in Netrunner OS by using VirtualBox.
My laptop is set up as a dual-boot machine where I can choose between Windows 7 and Netrunner.
But I have long been tired of my Windows installation, and wanted to get rid of it. But there is some software, which I need Windows for.
Therefore I wanted to try to set Windows up in a Virtual machine inside my Linux.
Here is how I did it.
First I have to install Oracle VM VirtualBox. This software I could find in Netrunner software manager called Octopi.
When I had installed this, the real challenge started.
I chose to run Oracle VM VirtualBox, and found a tutorial on the net of how to make Windows 7 run.
I pressed
New,
Version.
Next I gave it some RAMNext I choose Make a virtual hard drive nowNext I choose the VDI option (VirtualBox disk print)Next I choose Dynamics diskNext I gave 40GB Harddisk spaceAnd then make Now the machine was made, but I chould not get to work.
So first I have to go to settings and change the boot order under the tab System, and the change to where the Windows ISO are located.That turned out to be a problem.
Because I chould not find out to make my Windows into an ISO-file..
But on the internet I found this page where I could download a file. More here.
By try and error I found, that I had to download the precise same version that my Windows license was fore.
In my case the Windows 7 Home Premium – version.
And yes, I have a legal license. If you do not, you could be into some legal problems if trying to install Windows.
But still I could not make the installation work.
Kept getting errors like this;
Could not open the session, the session has terminated unexpectedly during startup with exit code 1 (0x1)
Rerut kode: NS_ERROR_FAILURE (0x80004005)
Komponent: Machine
Kort: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
And then
Kernel driver not installed (rc=-1908)
Please reininstall the kernel module by executing
pacman -s virtualbox-host-modules
But I found out that I first had to go to my PC’s BIOS and enable Virtualization Technology, and save the change in the BIOS.
And then I still missed some things.
In the Konsole (Command line) I have to install some more.
First
sudo pacman -S virtualbox
and
uname -r
This shows 3.14.21-1-MANJARO
Then take the first 3 numbers and enter
sudo pacman -S linux314-virtualbox-host-modules
And then run
sudo modprobe vboxdrv
And then I was able to run the Windows install, and now I have a Windows 7 running inside my Linux.