Solving the Issue with Virtualbox Raw Host Hard Disk Access
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...