Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:virtualbox [2011/12/15 12:31] cyril |
software:virtualbox [2014/11/29 10:03] (current) cyril |
||
---|---|---|---|
Line 10: | Line 10: | ||
=== Create disk === | === Create disk === | ||
- | * Create the MBR. Two ways, from your disk:< | + | * Create the MBR. Two ways, from your disk, but the second one seems better:< |
dd if=/dev/sda of=disk.mbr bs=512 count=1 | dd if=/dev/sda of=disk.mbr bs=512 count=1 | ||
</ | </ | ||
Line 16: | Line 16: | ||
</ | </ | ||
* Create the virtual disk:< | * Create the virtual disk:< | ||
- | VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk /dev/sda -partitions 1 -relative -mbr disk.mbr | + | VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk /dev/sda -partitions 1 -relative -mbr disk.mbr |
+ | VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk /dev/sda -partitions 1,2 -relative -mbr disk.mbr # if boot + system partition for windows | ||
</ | </ | ||
Line 22: | Line 23: | ||
* Create the virtual machine in VirtualBox the usual way, with the following settings: | * Create the virtual machine in VirtualBox the usual way, with the following settings: | ||
- | * check " | + | * check " |
- | * set you real mac address for the Network adapter | + | * set your real mac address for the Network adapter |
* Set the DMI BIOS information to avoid activation problems. Execute:< | * Set the DMI BIOS information to avoid activation problems. Execute:< | ||
sudo dmidecode -t0 # provides DmiBIOS* variables | sudo dmidecode -t0 # provides DmiBIOS* variables | ||
sudo dmidecode -t1 # provides DmiSystem* variables | sudo dmidecode -t1 # provides DmiSystem* variables | ||
- | </ | + | </ |
#! /bin/sh | #! /bin/sh | ||
VM_NAME=" | VM_NAME=" | ||
Line 56: | Line 57: | ||
Bootrec.exe /FixMbr | Bootrec.exe /FixMbr | ||
</ | </ | ||
- | * If you get a BSOD "Stop: 0x0000007b" | + | |
+ | | ||
Windows Registry Editor Version 5.00 | Windows Registry Editor Version 5.00 | ||
Line 245: | Line 247: | ||
I did not find the .cab file to extract, but the .sys drivers were already at the right place, so I just merged the .reg file after rebooting to the native Win7, and then it worked also in VirtualBox, even with SATA ! | I did not find the .cab file to extract, but the .sys drivers were already at the right place, so I just merged the .reg file after rebooting to the native Win7, and then it worked also in VirtualBox, even with SATA ! | ||
+ | Several years after I ran into more problems and found this complete tutorial: | ||
+ | |||
+ | [[https:// |