Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
software:virtualbox [2011/12/15 12:31]
cyril
software:virtualbox [2014/11/29 08:51]
cyril
Line 10: Line 10:
  
 === Create disk === === Create disk ===
-  * Create the MBR. Two ways, from your disk:<code>+  * Create the MBR. Two ways, from your disk, but the second one seems better:<code>
 dd if=/dev/sda of=disk.mbr bs=512 count=1 dd if=/dev/sda of=disk.mbr bs=512 count=1
 </code> or from scratch with ''install-mbr'':<code> </code> or from scratch with ''install-mbr'':<code>
Line 16: Line 16:
 </code> </code>
   * Create the virtual disk:<code>   * Create the virtual disk:<code>
-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 # if single partition for windows 
 +VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk /dev/sda -partitions 1,2 -relative -mbr disk.mbr # if boot + system partition for windows
 </code> </code>
  
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 "Enable IO APIC" in "System" tab+    * check "Enable IO APIC" in System/Motherboard tab and "Enable PAE/NX" in System/Processor tab
     * set you real mac address for the Network adapter     * set you real mac address for the Network adapter
   * Set the DMI BIOS information to avoid activation problems. Execute:<code>   * Set the DMI BIOS information to avoid activation problems. Execute:<code>
 sudo dmidecode -t0 # provides DmiBIOS* variables sudo dmidecode -t0 # provides DmiBIOS* variables
 sudo dmidecode -t1 # provides DmiSystem* variables sudo dmidecode -t1 # provides DmiSystem* variables
-</code>And update the values of the following script that you will then execute:<code>+</code>And update the values of the following script that you will then execute (if a value is listed as "Not specified", set it to "<EMPTY>"):<code>
 #! /bin/sh #! /bin/sh
 VM_NAME="Win7" # Name of your Virtual Machine VM_NAME="Win7" # Name of your Virtual Machine
Line 56: Line 57:
 Bootrec.exe /FixMbr Bootrec.exe /FixMbr
 </code> </code>
-  * If you get a BSOD "Stop: 0x0000007b" and the installation DVD fails to repair Windows, reboot natively under Windows, and merge the following registry file merge_ide.reg:<code>+  * You can also try different combinations of partitions you export with VBoxManage (sometimes it can require 1,2,3 which are diagnostic,recovery,windows) 
 +  * If you get a BSOD "Stop: 0x0000007b" and the installation DVD fails to repair this, reboot natively under Windows, and merge the following registry file merge_ide.reg (you may have to set the main disk as IDE to boot Windows and another useless disk as ATA so that it installs the drivers, and then switch the main disk to ATA):<code>
 Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
  
software/virtualbox.txt · Last modified: 2014/11/29 10:03 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0