Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How do I use VirtualBox on Windows 8.1


  • Please log in to reply
13 replies to this topic

#1 RobertWfr

RobertWfr

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 29 January 2015 - 06:21 AM

hi,
can someone please refer me to instructions on using VirtualBox (Oracle) with Win 8.1.

I would like to use it to install a Windows 8.1, which is also my current operating system. This way i hope to keep my OS clean and in top condition for important stuff.

I appreciate any info you may have for me.

Thanks,
Robert Wfr

Edited by Al1000, 04 February 2017 - 06:06 PM.
Moved from Windows 8


BC AdBot (Login to Remove)

 


#2 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 29 January 2015 - 08:47 AM

Hi Robert :)

You know that there's a lot of tutorials and guides on Google that explains you how to download and install VirtualBox, and how to create a VM under it. Here's two, one of which is straight from VirtualBox website:

http://www.makeuseof.com/tag/how-to-use-virtualbox/
http://www.virtualbox.org/manual/ch01.html

If you want, I also wrote my own guide on how to create a VM under VirtualBox. If you would like to take a look at it, let me know and I'll copy/paste it here for you.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#3 RobertWfr

RobertWfr
  • Topic Starter

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 30 January 2015 - 06:41 AM

Hi Aura,

 

Thanks for the info.

Yes, I would be interested to read your guide to create a VM.

 

I have made a Virtual Hard Disk of my C drive and want to load it as a VM. As I will use the OS that I have (Windows 8.1 Single Language), Do I need to have a separate license or can I use my existing product ID ?

 

Thanks,

Robert



#4 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 30 January 2015 - 06:46 AM

Here goes :) And you can use the Windows 8.1 Single Language you have, you don't really need to activate Windows inside a VM. I never activated mine since I use them only for short period of time and a black background doesn't bother me.
Requirements
  • VirtualBox by Oracle;
  • The installation .iso of the OS or distro you want to create a VM of;
  • Virtualization Technology enabled in the BIOS (otherwise you'll get constant error while trying to load your VM). Every BIOS have a different option to enable this technology, I can help you find out how to enable yours if you need. Just post here or send me a PM;
Creating a Virtual Machine

Start by launching VirtualBox and you should see this window (as you can see, I already have two VMs, both are Windows 7 SP1 x64 which means 64-bits VMs, and you can see the specifications of the highlighted one)

l6JpoYS.png

For the people who have many HDDs or who have a setup composed of one SSD and one HDD, you might want to store your VMs on your HDD and not on your SSD so you won't take useless space. To do that, click on "File" in the top-left corner and select "Preferences"

vhElhlg.png

Under the "General" tab, you'll have the option to change the "Default Machine Folder". Just click on the small arrow, select the "Other" option and browse to the folder where you would like to save your VMs.

KpV2ypv.png

In the VirtualBox Settings window, you can also change many settings like the Input shortcuts for VirtualBox (when running a VM), the language of the program, the display, network settings for the VMs (even you can modify the network settings for each VM seperatly), add a proxy if you want your VMs to run on a proxy, etc.

Let's start by clicking on the "New" icon. A window will appear asking you for the name of your VM, it's type :
  • Microsoft Windows
  • Linux
  • Solaris
  • BSD
  • IBM OS/2
  • Mac OS X
  • Other
And the version of the VM. Each type have it's own versions like :
  • Microsoft Windows : Windows XP, Windows Vista, Windows 7, etc.
  • Linux : Ubuntu, Lubuntu, Kubuntu, Debian, Arch Linux, Gentoo, etc.
  • BSD : FreeBSD, OpenBSD, NetBSD.
  • Mac OS X : Snow Leopard, Lion, Mavericks, etc.
Also, if you have a 64-bits CPU and system (like a 64-bits version of Windows), you'll have the option to create 64-bits version of all the OS and distros that are listed and have a 64-bits version, like in the screenshots below. In my tutorial, I'll be creating a VM that I'll call "Ubuntu - Test" and it will be running a 64-bits version of the GNU/Linux distro Ubuntu.

BMuBPpT.png

After we click on "Next", we got taken to the next step, where we're asked to chose the amount of RAM we will be allocated to the VM. I'll allocate 2GBs of RAM to my Ubuntu VM.

1024MBs = 1GB

Yc2C0jT.png

Once it's done, click on "Next" to get taken to the next step, where we will decide of our VM hard disk drive options. We have three options, to not add an HDD (which mean, we'll be running the OS or distro on the "live", like Backtrack and Kali Linux), create a VM hard drive or to use an existing virtual hard drive file (that you already created). In my tutorial, we'll select the second option and "Create a vritual hard drive now", then click on "Create".

UB3rrJw.png

A new window will then appear asking what type of hard drive file we want to create. We'll want to create the first one (default) which is a VDI (VirtualBox Disk Image). If you want to read more about the different type of hard drive file type listed, you can go read the Chapter 5.2 of VirtualBox's documentation. Let's pursue by clicking on "Next" (by the way, if we click on "Hide Description", it will show in the current window the next two other configuration options to speed up the creation process).

VwC3aAR.png

On the next window, it will ask us if we want to create a Dynamically Allocated hard drive file, or a Fixed Size hard drive. The difference is that the Dynamically Allocated hard drive file will only take size on your physical HDD as it gets filled (if you create a 50GBs HDD but only fill it with 10GBs of stuff, only 10GBs will be taken on your physical HDD) and the Fixed Size hard drive file will take the full space you give it on your physical HDD. I suggest you to leave the first option "Dynically allocated" checked and click on "Next".

L2al7zf.png

Now we have to chose where do we want to store that hard disk file and what size we will allocate it. By default, the file will be stored in the default folder created by VirtualBox (or the folder you decided to store your VMs in if you changed the default directory at the beginning of this tutorial), so I would suggest you to leave it be. For the size, it's totally up to you. Just be sure to allow more space then what the OS or distro you're going to install on your VM takes (Ubuntu takes less then 8GBs when installed, but because I'll be installing stuff on it, I'll allocate it 30GBs). Once your done, just click on "Create" and your VM hard drive file along with your VM will be created !

FnZt8qi.png
UK9cKFw.png

Preparing the Virtual Machine for the first boot

Good job, you've now created your first VM ! But don't think we're done yet ! You just created the "container" for the OS or distro you want to install in it, right now, your VM is empty and there's nothing installed on it. That's why you need your OS or distro installation .iso in order to make your VM boot on it one time to launch the installation process of that OS or distro.

Now we have two options, because a VM by default will always boot on the CD-DVD ROM, we can either boot our VM and select the CD-DVD to insert in (the OS or distro installation .iso) or manually set the CD-DVD (.iso) from which the VM will boot from. I'll show you both options.

For the first option, simply start your VM and a window will pop up asking you to select a start up disk file or a start up optical drive. Click on the little folder icon, browse to your OS or distro installation .iso and select it. You'll then boot on it and start the installation process.

oba1CRz.png

For the second option select your VM and click on the "Settings" button. On the window that will appear, go to the Storage tab, like in the screenshot below.

P7y0bdD.png

Now this where it gets a bit tricky, so I'll try to explain the following steps as clearly as possible :
  • Click on the "Controller: IDE". Two little icons should then appear on it's right, but they're not important;
  • Now at the bottom of the zone you're in, click on the forth icon on the right (a little square with a red minus sign in it) in order to remove the "Controller: IDE" option;
  • Click on the "Controller: SATA" and this time, click on the first little icon that appears on it's right when you select it (the CD with a little green plus sign)
  • A window will pop up giving you three options : Leave empty, Choose disk and Cancel. Click on Choose disk and go select your OS or distro installation .iso to add it to the VM CD/DVD ROM;
After that, just to keep things clear, go to the "System" tab of your VM, uncheck "Floppy" in the Boot Order and move the CD/DVD in the first spot and Hard Disk as second, like showed below (in this screenshot, I selected my Ubuntu 64-bits installation .iso)

avqybvL.png

Once it's done, click on "OK" and boot your VM. You'll know boot on your CD-DVD ROM and start your OS or distro installation .iso. Don't forget after you finished installing your OS or distro to go back in the System settings of your VM and to change the Boot Order to put Hard Disk in the first place, otherwise everytime you boot your VM, you'll boot on your CD-DVD ROM and therefore on the installation .iso.

The End

Et voilà ! You've now created your first Virtual Machine with VirtualBox ! All you have to do now is boot (start) it, wait for the installation process of your OS/system to launch, install it and you can now use your VM (you won't have to go through that process if you choose to use your OS or distro in "live" mode).

If you have any questions about that tutorial or you would like me to change something, add something or add more detail to a point in my tutorial or even if you have a problem when trying to create your Virtual Machine, feel free to post in this thread or send me a PM. Thank you !

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#5 RobertWfr

RobertWfr
  • Topic Starter

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 30 January 2015 - 12:54 PM

Hi Aura,

Thanks again for all the reading material.

I have printed it all to file and will read through everything before actually doing it.

I have this knack of messing up my laptop quite often that I should have reached the level of computer expert by now :)

Will give it a go over the weekend and let you know how it goes.

 

Cheers,

Robert



#6 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 30 January 2015 - 01:05 PM

No problem Robert :) If you have any questions when creating the VM, let me know.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#7 RobertWfr

RobertWfr
  • Topic Starter

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 31 January 2015 - 02:12 PM

Hi Aura,

I also have an iso file for Windows Technical Preview x64 (Windows 10).

Can I safely load it on to VirtualBox as another OS ?

 

Cheers,

Robert



#8 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 31 January 2015 - 02:20 PM

You can safely use Windows 10 inside a VM, this is what I'm doing. However, I don't think that the VirtualBox Guest Addition Tools works with Windows 10 Technical Preview. They didn't work with my Windows 10 VM, but I was running an early build and VirtualBox 4.3.12, now I'm running 4.3.20 and in the process of installing the latest Windows 10 build so maybe it works now.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#9 Robert House

Robert House

  • Members
  • 20 posts
  • OFFLINE
  •  
  • Local time:05:22 AM

Posted 01 February 2015 - 12:14 PM

Hi, I just wanted to say thank-you for that excellent tutorial. It's very helpful to me too!  :clapping:  Take care, Rob



#10 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 01 February 2015 - 12:24 PM

No problem Robert glad that you like it :)

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#11 RobertWfr

RobertWfr
  • Topic Starter

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 02 February 2015 - 01:26 PM

Hi Aura,

 

Just a quick update on my current state.

Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa....

 

I guess I am obviously doing something wrong, probably a very basic thing.

I installed VirtualBox after checking that the bios had virtual machines enabled.

To make it short, my system started to become unstable so I uninstalled.

Now the story gets even better; many years ago I used Spybot and was very happy with it. So thinking I might be infected I installed Spybot again (I actually bought it a few months ago, had problems :))  and took it out). Now put back without Live Protection I thought all would be well. I did the usual updates and immunized everything and then ran a system scan. The scan seemed to repeat itself a couple of times but thought nothing of it as there is a notice saying that a first run would take some time but I pulled the plug when it displayed the estimated remaining scan time as 368 hours.

Anyway now my system is acting like its high on something.

Trying to fix with system restore, scan file (scf) etc. but may have to do a system refresh. This sounds great that you keep your files etc but downloaded programs are gone. Having to download Visual Studio Express and all the .Net frameworks does not appeal  to me, I get internet via 3G networks (SIM cards) and it is slow and expensive. It will literally take me days of frustration with lost connections and time outs by the Int. Service provider. Is there some way I can refresh/restore my system and keep my downloaded apps ?

I am sending this mail from my old Sony Vaio laptop which has a story to tell as well but will keep it for another time.  it's 1:30am here so need to get some sleep.

Any tips would be most welcome.

 

Cheers,

Robert



#12 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 02 February 2015 - 01:29 PM

Can you tell me where you downloaded and installed VirtualBox from? Did you accept to install the network drivers when it prompted you it during the install?

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#13 RobertWfr

RobertWfr
  • Topic Starter

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:07:22 PM

Posted 09 February 2015 - 11:13 AM

Hi Aura,

Sorry for the delay in replying.

I have been off line for a few days trying to get everything working properly but finally had to refresh my laptop. So have been reinstalling some programs and am still in the process of updating.

I downloaded VirtualBox from the Oracle site. I don't specifically remember being prompted about the network drivers but if prompted I think I would have installed them.

At this time I have not reinstalled VirtualBox as I am still trying to get Visual Studio Express to work properly with my previous projects. It keeps telling me that there is a problem with the hierarchy and the IDE does not display my Forms. When I get this sorted I will then get on to VirtualBox again.

Cheers,

Robert



#14 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 09 February 2015 - 11:14 AM

Alright that's good Robert, keep me updated :)

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users