I am using VB on a linux host and have a DOS guest. I used User Manual instructions to create a vmdk file for one of my physical partitions by following command:
Code: Select all
VBoxManage internalcommands createrawvmdk -filename /media/user/DOS/sda8-rel.vmdk -rawdisk /dev/sda -partitions 8 -relative
I could easyly add the created vmdk file (sda8-rel.vmdk) to my virtual machine as IDE Primary Slave disk. But when I start my guest OS (DOS) it is not detected as 1GB disk and there is no D: drive:
Code: Select all
C:\>d:
Invalid drive specification
Code: Select all
Current fixed disk drive: 2
Partition Status Type Volume Label Mbytes System Usage
1 A Non-DOS 487 6%
2 Non-DOS 2983 1 100%
3 Non-DOS 781 5 97%
4 Ext DOS 496 6 62%
Total disk space is 8033 MBytes (1 MByte = 1048576 bytes)
So it seems that if I could replace MBR (or Partition Table) for my vmdk file, the problem will be solved! Is it possible and how?