Page 1 of 1

problem booting from existing partition under ubuntu

Posted: 12. Feb 2009, 18:49
by Abdul Rahman
Hi
i am using ubuntu 8.1 and i am trying to boot my windows vista from /dev/sda1

if i try following command

#>VBoxManage internalcommands createrawvmdk -filename ./WinXP.vmdk -rawdisk /dev/sda
and than i add this to my virtual machiene

doing this i can boot my existing windows but its extremely dangerous as in the virtual machine, i have access to all my partitions and i could inadvertently boot the host OS as a guest OS
to solve this i use a different approach

1st i create a Master Boot Record manager in a file by doing this

#> sudo apt-get install
#> install-mbr --force myBootRecord.mbr

2nd i Call VBoxManager
#>VBoxManage internalcommands createrawvmdk -filename /home/myusername/.VirtualBox/WinVista.vmdk -rawdisk /dev/sda -partitions 1 -mbr /home/myusername/.VirtualBox/myBootRecord.mbr -relative -register

i have tried this approach earlier with winxp and i was successful but now when i try to boot my virtual machine (vista) i get following message


"
Windows boot manager

windows failed to start. a recent software or hardware change might be the cause. to fix the problem:
1. insert your windows installation disk and restart your computer
2. choose your language settings and click next
3. click "repair your computer."

if you do not have this disk, contact your system administrator or computer manufecturer for assistance

file: \windows\system32\winload.exe

status: 0xc000000e

info: the selected entry could not be loaded because the application is missing or corrupt
"
my winload.exe file is working when i use the first approach or when i boot vista directly, in addition i have also run murgeIDE in my vista but still unable to solve the problem

Please help

Posted: 19. Feb 2009, 00:48
by Sasquatch
Please see the Sticky post in the Windows Guests forum for more info on how to get this working. The reason you get a BSOD is because of the major hardware changes. VB does not provide your Host hardware.