- Download and install VirtualBox for Mac OS. It's available from http://download.virtualbox.org/virtualbox/
- Download Debian 10 Small CD Installation ISO: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
- Start VirtualBox and install Debian 10.
- Download and install VirtualBox Guest Additions: http://download.virtualbox.org/virtualbox/6.0.12/VBoxGuestAdditions_6.0.12.iso
- Attach the VBoxGuestAdditions_6.0.12.iso to CDROM of the virtual machine
- Install required packages:
sudo apt update -y && apt upgrade
sudo apt install dkms linux-headers-$(uname -r) build-essential
- Install VirtualBox Guest Additions:
sudo sh /media/cdrom0/VBoxLinuxAdditions.run
- After installing VirtualBox Guest Additions, it's possible to change the screen resolution of the guest vm. However, the font size is too small in the guest VM Window. You can change the Display Scale Factor:
- Select the VM instance in VirtualBox, open "Settings" -> "Display", set "Scale Factor" to 150%
- Set up "Shared Folders"
- After set up shared folders, you need to run the command below in the VM:
sudo adduser $USER vboxsf
and restart the VM.
No comments:
Post a Comment