fatal: could not read from the boot medium
Posted: 24. Jan 2017, 19:49
I'm running virtualbox 5.1 on a centos 7 server host machine (command line only) and I'm trying to convert a(nother) physical machine (running freepbx13) into a virtualbox guest machine. I took the hard drive out of the physical freepbx13 machine and I have it mounted in the centos 7 machine as a second drive (/dev/sdb). It's working fine and is fully accessible by the centos 7 host system.
I ran the following commands to create the vm:
and then started the vm. The guest appears to start up ok but in the guest console I get "fatal: could not read from the boot medium". After searching on google I tried
I also tried:
I deleted the vm and recreated it using just
but that didn't work either, I still get the 'Fatal:' error in the guest console. Can anyone point out what's wrong? thanks for any help.
I ran the following commands to create the vm:
Code: Select all
VBoxManage createvm --name "freepbx13" --register
VBoxManage modifyvm "freepbx13" --nic1 bridged --bridgeadapter1 enp6s4f0
vboxmanage modifyvm freepbx13 --usb on
VBoxManage storagectl "freepbx13" --name "IDE Controller" --add ide
VBoxManage modifyvm "freepbx13" --vrde on
VBoxManage modifyvm "freepbx13" --vrdeport 3390
VBoxManage internalcommands createrawvmdk -filename /root/VirtualBox\ VMs/freepbx13/freepbx13.vmdk -rawdisk /dev/sdbCode: Select all
# chown /dev/disk0* (but I got)...
chown: missing operand after ‘/dev/disk0*’Code: Select all
# chown /dev/sdb*
chown: invalid user: ‘/dev/sdb’Code: Select all
VBoxManage createvm --name "freepbx13" --register
VBoxManage modifyvm "freepbx13" --vrde on
VBoxManage modifyvm "freepbx13" --vrdeport 3390
VBoxManage internalcommands createrawvmdk -filename /root/VirtualBox\ VMs/freepbx13/freepbx13.vmdk -rawdisk /dev/sdb