Jump to content











Photo
- - - - -

[HELP] Win XP on USB with Virtual Box

win xp usb virtual box linux

  • Please log in to reply
8 replies to this topic

#1 Akikako

Akikako
  • Members
  • 3 posts
  •  
    Italy

Posted 01 February 2014 - 02:30 PM

Hi, I'm on Linux, but I need a Win system, so I trying to make a bootable VHD with Win XP on a external usb-drive with no success...

 

Here my process:

 

1- I started a virtual machine with Win XP on Virtual Box, this VM has 3 partition: A is that for Win XP system, B for the setup of the VHD and C for the VHD and the ISO of Win XP Setup disk.

2- I run VHD_XP_Create and i set as boot drive B and as system drive C;

3- I reboot the VM and I did all the process for the setup of Win XP on the WHD and it worked with no error;

4- When the setup is finished, I copied the VHD on the USB drive and run USB_XP_Fix on the VHD copied and i set the boot drive as the USB drive, no error here.

5- I reboot my real pc and I boot on USB.

6- I load the VHD, but all I have is a black screen;

 

I repeat the process a lot of times, but I have always the same result: a black screen.

 

 

 



#2 wimb

wimb

    Platinum Member

  • Developer
  • 2970 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 01 February 2014 - 02:59 PM

Is your USB-Stick already made bootable e.g. with Grub4dos Boot Menu or Boot Manager Menu ?

 

If the USB-Stick is already bootable with one of these menu's,

then you can use UEFI_MULTI.exe to make the USB-Stick bootable with your VHD copied already to USB.

UEFI_MULTI will make the necessary entries for the boot menu's

http://reboot.pro/to...boot-usb-drive/

 

Otherwise you must first use UFD_FORMAT.exe to make USB-Stick bootable with Grub4dos Menu 

and then copy your VHD again to USB and use UEFI_MULTI to make the boot menu entries.

 

http://reboot.pro/to...140-ufd-format/

http://reboot.pro/to...ble-usb-drives/

 

UEFI_MULTI.exe and UFD_FORMAT.exe are programs that run in Windows OS.

Making Boot Manager menu requires Windows 7/8/7PE as OS. Grub4dos Menu is added also.

In other cases only Grub4dos Boot Menu is made.

 

:cheers:



#3 Akikako

Akikako
  • Members
  • 3 posts
  •  
    Italy

Posted 01 February 2014 - 03:39 PM

I think I have grun4dos

30ay.jpg

After this I select the third row and I get this black screen

3m4c.jpg

No cursor, nothing...



#4 wimb

wimb

    Platinum Member

  • Developer
  • 2970 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 02 February 2014 - 07:26 AM

OK, so your stick is booting with Grub4dos menu.
What happens if you select the fourth option that will load the VHD into RAMDISK and then boot from RAMDISK ?
 
You have installed XP in VHD using a virtual machine (which is not advisable).
In that case the drivers to boot XP from real machine might be missing or not yet installed.
How did you prepare your XP Setup Source ?
 
In any case Chipset and MassStorage DriverPacks must be integrated into your XP Setup CD ISO file,
so that the drivers for all real hardware can be used.
 
Section 2. How to prepare XP Setup Source ? - Prepare XP Setup ISO file with integrated UpdatePack and DriverPacks
 

Use DPsBase.exe to Integrate DriverPacks Chipset + Processor + MassStorage + LAN + WLAN DriverPacks
which will then be located in OEM Folder in your XPSOURCE folder.
(settings Disc - Method 2 - GuiRunOnce - Enable KTD for the DriverPacks I will Select)
 

 

 

If you want to boot the XP VHD as FILEDISK then it is much better to use portable USB- harddisk instead of USB-Stick,
since the speed and performance of running XP on USB-Stick is rather poor.


#5 Akikako

Akikako
  • Members
  • 3 posts
  •  
    Italy

Posted 02 February 2014 - 07:26 PM

When i choose RamDisk, it happen the same thing: black screen.

 

I use a prepared ISO with DriverPacks.

 

I use a usb hard disk.

 

One another thing: when I launch in Safe Mode, the load stops at System32\Drivers\Mup.sys.



#6 wimb

wimb

    Platinum Member

  • Developer
  • 2970 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 02 February 2014 - 08:29 PM

Google gives a lot of info on mup.sys

 

Most likely there is a problem with some USB-hardware e.g. mouse or keyboard or ....

 

Solution: remove most USB-hardware if possible.

Remove USB-keyboard after making selection in Grub4dos menu.

 

Attach mouse and keyboard after booting when XP Desktop is present.

 

It takes some minues before all hardware is silently installed (see device manager)



#7 wimb

wimb

    Platinum Member

  • Developer
  • 2970 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 February 2014 - 08:25 AM

I followed your procedure and used Virtual Box.

 

I can say that the transfer from Virtual Box hardware to real hardware is really troublesome.

I can boot now to Desktop, but my PS2/USB mouse working in Virtual Box is not working on real hardware.

Also a BSOD occurred and then after reboot

I connected another USB mouse and then I can see that most hardware is installed, but not all (HDD Audio conflict).

 

So my conclusion is that this is not the way to go :)

Virtual Box is is introducing to many conflicts with real hardware.

 

It is strongly advised to use real hardware for Install of XP in VHD.

 

:cheers:



#8 steve6375

steve6375

    Platinum Member

  • Developer
  • 7311 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 03 February 2014 - 08:55 AM

If you run sysprep under the VM and then booted on a real system, would that fix the hardware detection (or would it break it?).



#9 wimb

wimb

    Platinum Member

  • Developer
  • 2970 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 February 2014 - 11:39 AM

If you run sysprep under the VM and then booted on a real system, would that fix the hardware detection (or would it break it?).

 

Sure it can be tried to use sysprep, but in fact USB_XP_Fix.exe includes most of what is done by sysprep.

 

What I mean is that CriticalDeviceDatabase registry entries and Services are added for all drivers of MassStorage DriverPack.

 

The present problem is not in recognition of MassStorage.

For real hardware there are a lot of conflicts in HD Audio and USB introduced by Virtual Box.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users