![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Virtualization For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Mar 2007
Location: Georgia, USA
Beans: 303
Ubuntu Studio 9.04 Jaunty Jackalope
|
..::Updates::..![]() VBoxForums Version Introduction I made this tutorial because I have been searching for an open source virtualization solution. I've tried VMware, but didn't like the GUI (it felt too slow) and the fact that it was closed source. Virtualbox was more appealing because it is open source and because it doesn't currently require a hack to get running in Hardy. After tons of research, I've found that the solution couldn't be simpler. Please read or skim the tutorial before attempting it. Note: This tutorial was tested to work with VBox 1.6 and may not work for users w/ SATA drives. Step 1: Create a grub boot cd Creating a grub cd will let you boot straight into your target Windows partition. Following method adapted from grub manual. Code:
cd ; mkdir -p iso/boot/grub ; cp /usr/lib/grub/*-pc/stage2_eltorito /boot/grub/menu.lst iso/boot/grub Code:
cd ; mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso When creating such a disk, it's preferable to only specify your Windows partition. This is a safety precaution that will prevent a data corruption problem that results from booting into the currently running OS. As a preliminary step, you must add yourself to the disk and vboxusers groups, Code:
sudo usermod -G disk,vboxusers -a `whoami` Code:
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WinHD.vmdk -rawdisk /dev/sda -partitions 2 -relative -register
Step 6: Bypass Windows Activation [Experimental]
*** Warning! *** Note: This problem may not exist for later versions of VBox (post-1.6).About Guest Additions! Installing Guest Additions may cause the Windows installation in an existing partition to be unbootable (natively) - you might only be able to boot it from VirtualBox from there on out. This is a result of VirtualBox changing a significant amount of hardware in your configuration in order to have a user friendly virtual machine. If you already have installed Guest additions, you can try to remove it from within VirtualBox, and rebooting natively to XP. ToDo:
![]() VBox-migr, squidoo-virt, mazimi-virt, mazimi-bypass, mesbalivernes-virt, Dutch Translation Comments and suggestions welcome! Last edited by Sand Lee; April 13th, 2009 at 02:07 AM.. Reason: Tutorial Revamp, Boot Fix, Step 6 |
|
|
|
| Bookmarks |
| Tags |
| existing partition, physical, virtualbox, virtualize, windows |
| Thread Tools | |
| Display Modes | |
|
|