command line - VBoxManage: error: Cannot read the partition information from '/dev/disk0'

05
2014-04
  • DonyorM

    I'm trying to make a partition .vmdk file for Virtual Box. Basically I want to boot my bootcamp partition box up in Virtual Box. But I get the following error when I try to make the .vmdk file

    VBoxManage: error: Cannot read the partition information from '/dev/disk0' VBoxManage: error: The raw disk vmdk file was not created

    Here's the exact sequence of commands I typed in terminal

    sudo chmod 0777 /dev/disk0

    sudo chmod 0777 /dev/disk0s4

    sudo VBoxManage internalcommands createrawvmdk -filename WinXP.vmdk -rawdisk /dev/disk0 -partitions 4

    VBoxManage: error: Cannot read the partition information from '/dev/disk0' VBoxManage: error: The raw disk vmdk file was not created

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    partitioning - Grub Setup(hd0) Error Cannot mount selected partition
  • MA1

    I have created a NTFS Partition(/dev/sda3) and copy the grub files in it in the following path: /dev/sda3/boot/grub/

    then tried to install the grub by using following commands:

    grub> root (hd0,2)

     Filesystem unknown, partition type 0x7
    

    grub> setup (hd0)

     Error : cannot mount selected partition
    

    The partition is present and i created it with gparted.

    i also tried the following command:

    find (hd0,2)/boot/grub/stage1

    Error 15: File not found

    All the files were there as copied them. So, where is the problem and what i am doing wrong?


  • Related Answers
  • MA1

    The problem is due to no NTFS support in GRUB.