---
title: "Discussion on \"Automating Linux Installation using Vagrant and VirtualBox\" | Hashnode"
description: "Discussion on \"Automating Linux Installation using Vagrant and VirtualBox\". In this tutorial I will explain in detail how we can setup the environment to deploy one or more Linux guest operating system virtually.\nPrerequisites\n\nVirtualBox should be installed\nVagrant should be installed\n\nMy Environment\nHost Operating System -..."
url: "https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Automating Linux Installation using Vagrant and VirtualBox](https://blog.learncodeonline.in/automating-linux-installation-using-vagrant-and-virtualbox?utm_source=hashnode&utm_medium=feed)

In this tutorial I will explain in detail how we can setup the environment to deploy one or more Linux guest operating system virtually. Prerequisites VirtualBox should be installed Vagrant should be installed My Environment Host Operating System -...

Mar 19, 2021 · 9 min read · blog.learncodeonline.in  
Updated Jun 6, 2021  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#linux-basics](https://hashnode.com/tag/linux-basics)
-   [#linux-for-beginners](https://hashnode.com/tag/linux-for-beginners)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cloud](https://hashnode.com/tag/cloud)

## Written by

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

@rakeshrhcss · India

  
[View profile](https://hashnode.com/@rakeshrhcss)

DevOps with Rakesh!

DevOps Professional | Technical writer

## Responses 6

Markdown supported · ⌘↵ to post

[Charan Kodela](https://hashnode.com/@charan625)

[Mar 15, 2023](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/6411db0874823780b17fed78)

what's the username and password for ubuntu 18.04.6 LTS. It didn't ask me for root username and password while installing.

[Venkatesh Konar](https://hashnode.com/@vk664)

[Nov 21, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/6199e2da5bb9cc256fc6a2fb)

Hi, Rakesh first the blog is too good and the stepwise guide is simple to understand. my question is that whether it is mandatory to use vagrant to use Linux in a virtual box? also there are many easy ways to use Linux image in a Virtual box and use the Linux environment . Can you explain a little further?

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

[May 5, 2022](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/6199e2da5bb9cc256fc6a2fb#reply-6273645d19a4772a6c29b974)

Not mandatory at all! Vagrant makes your life easy by setting up multiple VMs at the same time. Vagrant gives you a single config file to set these up, enabling you to launch all of them with one command.

You can have Multi-VM Networks setup with ease.

It helps you keeping the dev and prod environments as close to each other as possible. In an ideal world, you would provision the production environment with THE SAME scripts used to provision the Vagrant VM, to avoid deployment time surprises.

Sorry for the delayed response.

[Adebola Andrew Modongho](https://hashnode.com/@Drew-mod)

[Aug 5, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/610bc112d3d9724fd42361d0)

I was told that using virtual box on my system will make it slow during android development with android studio

[Rudolf Pereira](https://hashnode.com/@RudeWolf)

[Jun 17, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60cbb76d554b0d31c6051f43)

Hi Rakesh, thank you for the course. Can you tell me where are you running the commands from? is that Git Bash for windows or another linux machine?

[Rudolf Pereira](https://hashnode.com/@RudeWolf)

[Jun 17, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60cbb76d554b0d31c6051f43#reply-60cbba8237952431a170f734)

ok i got this - [youtube.com/watch](https://www.youtube.com/watch?v=sQY0g7s2hac&t=9s)

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

[May 5, 2022](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60cbb76d554b0d31c6051f43#reply-6273621719a4772a6c29b950)

you got it right! Its Git Bash. Sorry for the delayed response.

[Abhishek](https://hashnode.com/@Abhi14)

[May 19, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60a52c8d5c1fcb4077365850)

I had got an issue with timeout in the virtual machine while executing vagrant.exe up. Figuring out how to increase the timeout period.

[shivam kumar](https://hashnode.com/@shivam2003)

[May 19, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60a4a9d35c1fcb4077364455)

Feature name Microsoft-Hyper-V-Hypervisor is unknown . This is the message I got . So I have to firstly download hyper-v and then disable it ? . is it means I didnt require to disable Hyper-V(as it not available,I also cheak in Turn Windows features on or off section) ? Can I go directly installing virtual box?

[Rudolf Pereira](https://hashnode.com/@RudeWolf)

[Jun 17, 2021](https://hashnode.com/posts/automating-linux-installation-using-vagrant-and-virtualbox/60545f1b5718e51c51dea7dc/comment/60a4a9d35c1fcb4077364455#reply-60cbb7c2554b0d31c6051f50)

if you ran it on PowerShell & got that message I think you can directly proceed with virtual box installation.
