Skip to main content

Install Linux Inside Windows Using VirtualBox and WSL Ubuntu

There are several ways to install Linux. You can clean everything from your system and install Linux. You can dual boot Linux with Windows and it allows you to choose one of the operating systems at the boot time. You can also install Linux within Windows from Microsoft Store. But this only provides you the command line version of Linux.

If you want to use Linux without making any changes in your Windows system, you can go the virtual machine way. Basically, you install and use Linux like any regular Windows application. When you just want to try Linux for limited use, virtual machines provide a more comfortable option.

VirtualBox is a free and open source virtualization software from Oracle. It enables you to install other operating systems in virtual machines. It is advised that your systems should have at least 4GB RAM to get a decent performance from the virtual operating system.

Requirements
Good internet connection to download software and Linux ISO. You can also use some other computer with internet connection to download these files.
Windows system with at least 12 GB of free space.
Windows system with 4GB of recommended RAM. It can work with less RAM as well, but your system will start to lag while using Linux in the virtual machine.

Step 1: Download and install VirtualBox
Go to the website of Oracle VirtualBox and get the latest stable version from here:
https://www.virtualbox.org/

Step 2: Download Linux ISO
Next, you need to download the ISO file of the Linux distribution. You can get this image from the official website of the Linux distribution you are trying to use.
https://www.ubuntu.com/desktop

Step 3: Install Linux using VirtualBox
You have installed VirtualBox and you have downloaded the ISO for Linux. You are now set to install Linux in VirtualBox.

Start VirtualBox, and click on the New symbol. Give the virtual OS a relevant name.
Allocate RAM to the virtual OS. My system has 8GB of RAM and I decided to allocate 2GB of RAM to it. You can use more RAM if your system has enough extra RAM.

Create a virtual disk. This works as the hard disk of the virtual Linux system. This is where the virtual system will store its files.
The recommended size is 10 GB. However, I suggest giving it more space if possible. 15-20 GB is more ideal.

Once everything is in place, it’s time to boot that ISO and install Linux as a virtual operating system.
Once the installation finishes, restart the system.

WSL Ubuntu
Install a complete Ubuntu terminal in minutes on Windows 10 with Windows subsystem for Linux(WSL)
Ubuntu on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, ssh, git, apt and many more.

Try from here  https://ubuntu.com/wsl

Comments

Popular posts from this blog

Introduction to Data Structures

Visit My Data Structure Blog for Programs... It is important for every Computer Science student to understand the concept of Information and how it is organized or how it can be utilized. If we arrange some data in an appropriate sequence, then it forms a Structure and gives us a meaning. This meaning is called Information . A data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. Data may be organized in many different ways. The logical model of a particular organization of data in a computer is called data structure. The choice of the model based on two considerations. It should be reflect the data in the real world. It should be simple that one can effectively process the data when necessary. E.g. Array, linked list, stack, queue, tree, graph Data structure can be classified into two: Linear: A data structure is said to be linear if its elements form a sequence E.g. Array, linked list, stack, queue Non-Linear: A dat

Basic Linux Commands For Beginner's

Basic Linux Commands for Beginners Linux is an Operating System’s Kernel. You might have heard of UNIX. Well, Linux is a UNIX clone. But it was actually created by Linus Torvalds from Scratch. Linux is free and open-source, that means that you can simply change anything in Linux and redistribute it in your own name! There are several Linux Distributions, commonly called “distros”. A few of them are: Mint Ubuntu Linux Red Hat Enterprise Linux Debian Fedora Kali Linux is Mainly used in Servers. About 90% of the Internet is powered by Linux Servers. This is because Linux is fast, secure, and free! The main problem of using Windows Servers are their cost. This is solved by using Linux Servers. Forgot to mention, the OS that runs in about 80% of the Smartphones in the World, Android, is also made from the Linux Kernel. Yes, Linux is amazing! A simple example of its security is that most of the viruses in the world run on Windows, but not on Linux

KTU-FOSS LAB Solutions

Write shell scripts to show the following  ( you can write menu driven programs)  Currently logged user and his logname   ( logname, id -un, echo $USER)  Your current shell ( echo $SHELL)  Your home directory ( echo $HOME)  Your operating system type (echo $OSTYPE)  Your current path setting ( echo $PATH)  Your current working directory ( echo $PWD )  Show Currently logged  users ( w or who -H)      Show only the user name of logged users in the host ( users)      Details of last login ( last mec  ;where mec is the user id )  About your OS and version, release number, kernel version                                                 ( uname -a or  cat  /proc/version)  Show all available shells ( cat /etc/shells )  Show mouse settings (cat  /sys/class/input/mouse*/device/name )  Show computer CPU information       CPU details      ( cat /proc/cpuinfo | more )       Show information on  CPU architecture ( lscpu)       Number of Processo