Install and run a Windows Virtual Machine under Debian/Ubuntu

29/12/2020
Chưa phân loại
In this tutorial we’ll quickly setup a Windows XP virtual machine using VirtualBox under Debian.

The first step is to download and install Virtualbox by editing the repositories’ file and running “apt install virtualbox” as root.

First run

nano /etc/apt/sources.list

and edit the file by adding the line

"deb http://download.virtualbox.org/virtualbox/debian stretch contrib"

as shown in the following image

Then run

wget https://www.virtualbox.org/download/oracle_vbox_2016.asc

And

sudo apt-key add oracle_vbox_2016.asc

Now we can run

"apt update && install virtualbox-5.2"

After getting the error above I just ran “apt upgrade && install –help” and then I executed

sudo apt-get install virtualbox-5.2

Once our VirtualBox is installed lets get an ISO for the system we want to use, in this case Windows XP 32 bits, you will need to find the location for your self based on your situation.

Once your ISO is ready, move or copy it to the subdirectory /root/VirtualBox VMs/
In my case the VM was previously created under Windows XP-32, where “root” is the username executing the virtual machine.

Run Virtualbox for first time:

virtualbox

Click on NEW and fill the required information

In this case we’ll use a Windows XP environment, fill using the information fitting your settings, the field Name is free.


Select the amount for your virtual machine ram memory.

Assign an amount and space from your hard disk for your VM.

We’ll use a VirtualBox image based on an ISO we’ll download.

The last screen is for confirmation, confirm and finish creating the VM.
When starting the VM for first time it will ask for an optical device with the OS installator,

Click on the folder’s icon with the green arrow and select the Windows ISO you got as shown in the following image

The Windows installation process will start, in this tutorial I assume you know how to install Windows, since Windows XP installation is completely intuitive.

Press enter and select the first option Quick NTFS format

It will start formatting and copying system files

After installing initial files the installation process will ask for little information.

Press Next and select Device and Organization names, you can write whatever you want in the fields.

Next field will ask for an optional password and time zone, finish the steps letting the installator to continue. You will be asked about a WORKGROUP name, fill it freely.

After finishing the installation Windows will show the Welcome Screen, click on Next, select your security level and let the installator to setup your internet connection, try the “local network” or “ home network” options first.

Then it will ask for username and our Windows will start!

That’s how we get a clean Windows XP virtual machine running on Linux, you can replace the ISO for any other system and choose different OS type repeating this process to virtualize almost every existing OS.

Guest Additions:

“Guest Additions” improve the guest’s operativity by enabling functions like mouse-pointer integration or sharing files between the host and the guest, it will make your virtual machine easier to manage and ind increase it’s productivity.

On the main menu click on Devices and on the last option, “Insert Guest Additions CD image

Click on Next

Next again…optionally you can edit your destination folder.

Select all options you want and click on Install, then allow your system to reboot when asked as shown below.

At this point we have a flexible virtual machine to start working, it will require updates to solve drivers issues, the first recommendation is to run Windows Update and let it work including hardware updates.

I hope you found this tutorial easy and helpful, thank you for reading it.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Mua Proxy Nuôi Zalo Giá Rẻ Tại Onet.com.vn

Mua Proxy Nuôi Zalo Giá Rẻ Tại Onet.com.vn Nếu bạn đang nuôi nhiều tài khoản Zalo để phục vụ công...
14/11/2022

NGINX: Block Based on Geographical Location

Nginx is a high performance, lightweight, open source web server available to public for free of charge. It has tremendous...
29/12/2020

How to Install Cantata Music Player for Linux

Cantata Music Player is a feature-rich and user friendly client for Music Player Daemon (MPD). MPD is a background application...
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

mua Proxy riêng ở đâu, và nó đem lại lợi ích gì cho người sử dụng
22/11/2022

Hướng dẫn sử dụng Proxy Helper Fakeip khi thuê proxy
21/11/2022

PROXY NUÔI TÀI KHOẢN FACEBOOK – KINH NGHIỆM FAKE IP – THUÊ PROXY GIÁ RẺ
14/11/2022

Mua Proxy Nuôi Zalo Giá Rẻ Tại Onet.com.vn
14/11/2022

BẢNG GIÁ MUA PROXY VIỆT NAM và PROXY US Onet.com.vn
14/11/2022