I'm trying to use VMbox to point to the partition where Win is located so that I can access Win in linux without creating a new image.
I created a vmdk:
it does not work. Here is the result of fdisk -l:VBoxManage internalcommands createrawvmdk -filename /home/user/win10.vmdk -rawdisk /dev/nvme0n1
Ubuntu is on p5. and Win is on p3Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: xxxxx Device Start End Sectors Size Type /dev/nvme0n1p1 2048 534527 532480 260M EFI System /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved /dev/nvme0n1p3 567296 205367295 204800000 97.7G Microsoft basic data /dev/nvme0n1p4 205367296 246327295 40960000 19.5G Microsoft basic data /dev/nvme0n1p5 246327296 451127295 204800000 97.7G Microsoft basic data /dev/nvme0n1p6 451127296 998166527 547039232 260.9G Microsoft basic data /dev/nvme0n1p7 998166528 1000214527 2048000 1000M Windows recovery environmen
I used a partition version of the command:
also tried these partitions: -partitions 1VBoxManage internalcommands createrawvmdk -filename /home/user/win10.vmdk -rawdisk /dev/sda -partitions 1,2,3,7
-partitions 1,3
-partitions 1,2,3
-partitions 1,2,3,6,7
In all cases after running the virtual machine I get the massage :
Any idea how I can fix it?"FATAL: no bootable medium found! System halted!"