Creating a VM using VirtualBox

image.png

image.png

Tick the checkbox with Skip Unattended installation. (Otherwise the terminal cannot be opened: This is an error with ubuntu 22.04 or virtualbox version.)

image.png

After clicking next you can select the Memory and no. of processors. Then install and create the virtual machine.

For further information refer this video: https://www.youtube.com/watch?v=nvdnQX9UkMY

Optional: Install guest additions (If skip unattended installation)

Guests Additions helps user to do tasks such as copy and paste from host-guest/ guest-host, resize the window size. It helps a lot when copying and transferring between guest and host. This gets installed automatically in the unattended installation. Since, it is skipped we have to install guest additions manually. 

$ sudo apt update
$ sudo apt install -y build-essential linux-headers-$(uname -r)

image.png

image.png

$ ./autorun.sh

After finish executing, restart the VM. Guests Additions will now be working!


Revision #8
Created 18 September 2024 02:58:44
Updated 20 September 2024 11:46:24