Others - Terminal

Installation of Ubuntu on VirtualBox


  • Download VirtualBox
  • Download ISO File
    • Go to Ubuntu > Downloads > Ubuntu Desktop
  • Open VirtualBox > New
    • Enter Name = Ubuntu 22.04 (Or any other)
    • Enter Machine Folder, Type, Version
    • Click Next
  • Memory Size => Drag slider up to the end of green mark > Click Next > Create > Next > Next
    • File location and size => Drag slider up to 100 GB
    • Click Create
  • Select your VM > Settings > General > Advanced
    • Shared Clipboard & Drag n Drop = Bidirectional
  • Select Systems > Processor
    • Processor => Drag slider till end of green mark
  • Storage > Storage Devices > Controller: IDE > Select Empty
    • Attributes > Optical Drive > Choose a Disk file...
      • Select file location of ISO file
  • Click Ok
  • Select your VM > Start
    • Try or Install Ubuntu > Enter
    • Select your Language > Click Install Ubuntu
    • Select your Keyboard Layout > Click Continue
    • Select Normal Installation and Check both in Other options > Click Continue > Install Now
    • Choose your region > Click Continue
    • Enter Your name, Your computers name, Pick a username, Choose a Password > Click Continue
    • Restart Now > Enter
  • Login Window Opens
    • Log In
    • Open Terminal => Before installing VB Guest Edition
      • sudo apt update
      • sudo apt install build-essential dkms linux-headers-$(uname -r)
    • Select Devices > Insert Guest Additions CD image...
      • Open VBox_GAs_6.1.30
      • Right-click > Open in Terminal
        • ./autorun.sh
        • Press Enter
    • Restart VM
Share: