I am trying to make a VM Image of my nethserver installation for Backup Purposes…
I did a dd if=/dev/sda of=/mnt/sda to create an image
and then
VBoxManage convertfromraw
to create a vhd file.
The problem is, when I use that in a Virtualbox machine it boots, but halts in an emergency console.
The problem is, that sda1 is sr0. So Virtualbox sees the harddisk as a cd-rom…
Looked on the web but can’t find anything.
I wonder how is Linux determining if a volume is a cd-rom or a hard disk???
Is there another way to convert a physical installation to a vm?
I need it because i am on vacation and if the server crashes I have a second computer on which i want to start the image as an emergency backup…