Posts

Showing posts with the label virtualbox

Solving the Issue with Virtualbox Raw Host Hard Disk Access

Image
The solution to the boot issue provided by Lifehacker Recently I wanted to boot a physical Ubuntu installation in a Virtualbox machine. The target Ubuntu is in the partition 5 on the same disk where the host is (also an Ubuntu 20.04 OS) on partition 6. I followed the instruction provided by Virtualbox here  and this one from serverwatch.com . However when I tried to create the vmdk file with this command: VBoxManage internalcommands createrawvmdk -filename ubuntu.vmdk -rawdisk /dev/nvme0n1 -partitions 5 I couldn't go past the error VERR_ACCESS_DENIED. Even the solution posted here on superuser.com didn't help. After wasting some time with this issue I finally found the solution: the user should have the right to access the disk , so make sure your user account is included in the group disk (/etc/group). So the first hurdle passed.  Please note however in the end I didn't proceed with accessing the Ubuntu installation on my ssd, where my host OS also resides. I find it t...

Solving Display Issue with Kubuntu 20.04 in Virtualbox

Image
Kubuntu Virtualbox Settings I must not be the only one with this problem, so I decided to write down this solution to help others. After using Ubuntu 20.04 for almost two weeks and being very happy with it I could resist the temptation to test some Ubuntu-based distros in Virtualbox. Most of them work flawlessly with the exception of Kubuntu 20.04. Kubuntu would always boot with 800x600 resolution. And every time I changed the settings to a higher resolution Kubuntu would revert back to that low resolution display. I thought the issue would resolve by installing the Virtualbox Guest Additions, however the problem persisted. After trying different settings without success I changed the Graphic Controller in Kubuntu Virtualbox Settings to VBoxVGA ( see the picture above ). Of course as you can see in that picture Virtualbox fires a warning of Invalid settings detected . But this "invalid setting" solves the issue at least partially . Now Kubuntu can resize to diffe...