[SOLVED] From virtualbox .vhd to hd partition

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] From virtualbox .vhd to hd partition

Postby hman » May 28th, '12, 22:48

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 ?
Last edited by hman on May 29th, '12, 11:47, edited 1 time in total.
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56

[SOLVED] From virtualbox .vhd to hd partition

Postby hman » May 29th, '12, 11:46

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.
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest