- 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.
Search This Blog
Showing posts with label virtualization. Show all posts
Showing posts with label virtualization. Show all posts
VirtualBox for Mac OS: Install Debian 10
uninstall chef-client
- On Ubuntu/Debian Linux:
dpkg --list | grep chef
sudo dpkg -P chef
- On RedHat/CentOS/Fedora Linux:
rpm -qa *chef*
sudo yum remove <chef-packages>
- On Mac OS X:
sudo rm -fr /opt/chef
sudo rm -f /usr/bin/chef-* /usr/bin/knife /usr/bin/ohai /usr/bin/shef
Citrix XenServer: failed to start Ubuntu VM after kernel upgrade
Recently I upgraded my Ubuntu VM to 12.04, which includes the new kernel. However the VM failed to reboot with following error:
To fix it,
Usingto parse /boot/grub/grub.cfg
To fix it,
- boot your vm using the following command:
xe-edit-bootloader -n your_vm_name -p 1
- edit /grub/grub.cfg, comment out or remove the whole submenu section.
aptitude remove linux-image-2.6.38-8-virtual
See also
How to Virtualize OS X Lion on Windows
How to Virtualize OS X Lion on Windows: A blog post show how to install Mac OS X in VMWare Workstation running on Windows 7.
Subscribe to:
Posts (Atom)