Problem attaching real hd and os

This is for discussing general topics about how to use VirtualBox.
Post Reply
zivperry
Posts: 2
Joined: 10. Feb 2008, 21:50

Problem attaching real hd and os

Post by zivperry »

Hi,
I have a dual-boot pc, and i'm trying to load my xp from my linux.
i did the following steps:

1. create an vmdk file for my hard drive:

Code: Select all

sudo VBoxManage internalcommands createrawvmdk -filename /home/ziv/winxp.vmdk -rawdisk /dev/sda
2. create a new virtual machine using this vmdk file in the VB gui.

3. start the virtual machine. i got my grub loader and i choose the windows.
the windows always stuck during the loading.

4. tried to load the windows with safe mode and it always stuck on the same line:

Code: Select all

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\Mup.sys
any idea how to fix it?
thanks in advanced,
Ziv
RichardGatinho
Posts: 11
Joined: 10. Jan 2008, 02:29

Post by RichardGatinho »

There's virtually no way to transform a real OS in virtual OS.
This line says that Windows is trying to load Mup.sys driver.
zivperry
Posts: 2
Joined: 10. Feb 2008, 21:50

Post by zivperry »

RichardGatinho wrote:There's virtually no way to transform a real OS in virtual OS.
This line says that Windows is trying to load Mup.sys driver.
I understand the line, the problem with windows is that the kernel is change during the installation for your specific hardware (not really changed, but change the sets of the kernels modules).

My question is if there any way to change the hardware profile of the virtual machine (irq numbers, and so on...) to allow the windows start.

I know i can fix this problem by running the windows recovery console that comes with the windows installation - but then, i will not be able to start the windows normally.
RichardGatinho
Posts: 11
Joined: 10. Jan 2008, 02:29

Post by RichardGatinho »

The problem: VirtualBox don't have BIOS setup.
Example: If you want to change guest time bypassing the guest OS, you'll need to change the time offset using VBoxManage. This is a bit hard to calculate, you need to start by calculating the number of days from today to desired date.
Aliby
Posts: 24
Joined: 16. Jul 2007, 10:33
Location: Midrand, South Africa

Post by Aliby »

I am pretty certain it can be done ...
:?:
... there are simply some system tweaks that must be done to windows.
This could be done permanently (within Windows) but it may compromise the dual boot system especially ITO the 3D graphics acceleration. Probably the best would be to script some file renaming while the Windows partition is mounted, then to unmount and start VirtualBox. On closing VBox the file naming is just reversed to restore the original system.

Check the following link in the VirtualBox HowTo's http://www.virtualbox.org/wiki/Migrate_Windows

Then see this thread: http://forums.virtualbox.org/viewtopic.php?t=333

I run Linux most of the time, but sometimes it would be great if I can access Windows "Quickly" from Linux via VBox rather than rebooting. Besides the "seamless windows" option makes it really cool.
8)

Let me know how you progress as I am walking the same road as you right now.
:idea:
VirtualBox 1.5.6
Host: Windows XP
Guest: UbuntuStudio 7.10 / Windows XP
larsen
Posts: 32
Joined: 14. Oct 2010, 13:56
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Win, Debian

Re: Problem attaching real hd and os

Post by larsen »

I know this thread is really old, but I don´t like problems without a solution ;-)

So, have a look at this thread that helped me get past the mup.sys problem:
http://forums.virtualbox.org/viewtopic. ... 45#p140687
Post Reply