Page 1 of 1

[SOLVED] From virtualbox .vhd to hd partition

PostPosted: May 28th, '12, 22:48
by hman
Hi all,
i customized Mageia 2 in a virtual machine so after used tested command
Code: Select all
$ VBoxManage internalcommands converttoraw file.vhd file.raw

to obtain image to write on destination hd.
After i used Mageia live on destination machine to start os in ram and then used
Code: Select all
# dd if=file.raw of=/dev/sda bs=4096

to write raw file on hd of destination machine.

After reboot i have a problem, during boot Mageia stops after:
Code: Select all
Started Legacy USB proc file system ... [  OK  ]


With Mageia 1 i used same steps and i didn't have problems. Could be damage file problem ?

[SOLVED] From virtualbox .vhd to hd partition

PostPosted: May 29th, '12, 11:46
by hman
Solved :)
problem was video driver, on destination machine there is an NVidia board so :
1. installed in virtual machine NVidia driver
2. modified /etc/X11/xorg.conf file and set to use driver nvidia
3. recreated raw file using
Code: Select all
VBoxManage clonehd file.vhd file.raw --format RAW

4. rewrite raw image on destination hd using same dd command

A question:
i saw that fedora use dynamic xorg configuration, have we a similar method ?
es: using many xorg.conf file, at first good video driver that work fine, process stopped and use this.