Jump to content











Photo
- - - - -

VHD_XP_Compact - Make Mini XP -

usb xp vhd

  • Please log in to reply
11 replies to this topic

#1 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 25 June 2013 - 07:57 AM

Posted Image

File Name: VHD_XP_Compact - Make Mini XP -
File Submitter: wimb
File Submitted: 25 Jun 2013
File Updated: 26 Aug 2014
File Category: Tools

VHD_XP_Compact - Program to make Mini XP

Download and Run VHD_XPC.exe and Extract to simple path

In Win 7/8 OS Set User Account Control Off and Reboot.
Use imdiskinst.exe to Install ImDisk driver (if not present already).
Imdisk is used to mount VHD Image files in a virtual drive.

VHD_XP_Compact.exe - Make Portable XP in 1.2 GB VHD Or Mini XP in 0.6 GB VHD booting from Grub4dos Menu on USB or HDD

Source is Windows XP x86 fresh installed in 2 GB VHD Or Install XP on primary active partition of internal harddisk.
Target Boot Drive can be FAT32 or NTFS USB-drive used only for Boot files so that booting of internal harrddisk is NOT changed.
Target System Drive must be NTFS and is the drive where the XP- VHD file is created and this can be your internal harddisk drive.

Possible Scenario's
- Boot with Grub4dos Menu on NTFS or FAT32 USB-Stick with XP- VHD located on NTFS Drive of Internal Harddisk
- Boot with Portable USB-harddisk and launch XP- VHD located on NTFS System Drive of USB-Harddisk

Booting VHD files from Grub4dos Menu as FILEDISK or as RAMDISK requires to Install in Source VHD either FiraDisk Or WinVBlock driver.
Additinally Installed Programs and Drivers and Settings are remembered in FILEDISK just like in normal Windows OS.
Loading the VHD into RAMDISK is much faster when the VHD file is located on the internal NTFS harddisk drive.

When WINDOWS\DriverPacks store with subfolder M (MassStorage) for support of SCSI- en RAID-controllers is found in XP Source VHD,
then option MassStor will add CriticalDeviceDatabase registry and Services to allow booting on all hardware.

Install USB 3.0 Drivers for XP from folder Windows\DriverPacks\C\U as integrated by DPs_BASE.exe by using KTD option.
Add Service and CriticalDeviceDatabase Registry Values
and according to KTD we Set DevicePath in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Let Portable version boot on different hardware to make it Universal by Install of all Drivers except the hardware specific large Video driver.
Use Universal Portable XP- VHD as Source to make Mini XP VHD that can boot in any case on all experienced hardware.
Mini XP has smallest Size of about 200 MB by removing driver.cab and Windows Media Player and by further reduction of system32 folder.
Mini XP VHD located on internal harddisk is very useful to Boot fast from RAMDISK on known hardware.

Build-in Defraggler is useful (really needed) to Defrag files within the XP- VHD, but post processing is also possible after mounting the XP- VHD.
NTFS Compression results in high fragmentation e.g. 85% so that it is advised to use Defrag VHD option.

VHD entry in Grub4dos Menu on Boot Drive is made when WinVBlock Or FiraDisk driver is found in XPSRC Source VHD.
VHD filename XP32USP1.vhd contains Architecture 64/32 + Distribution Language + Version P/M/C + Number 1-9

Program UEFI_MULTI can be used in Win 7/8/7PE OS to make other HDD or USB drives bootable with the created XP- VHD.
http://reboot.pro/to...182-uefi-multi/ Or http://www.911cd.net...showtopic=25269

BOOT_IMG.exe makes Grub4dos Boot Menu on Target Boot Drive for VHD on NTFS Target System Drive (FileCopy of VHD occurs if not yet present)

================================================================================

Windows XP Source VHD preparation - Install XP in 2 GB VHD

VHD_XP_Create.exe - Make 2 GB XPSRC VHD file and make Grub4dos Boot Menu on HDD or USB
for Install of XP in VHD by using XP Setup ISO file and WinVBlock driver
http://reboot.pro/to...7-vhd-xp-setup/ Or http://www.911cd.net...showtopic=25345

More Info on How to prepare XP Setup ISO file with Integrated DriverPacks is given in Section 2 of
http://reboot.pro/to...-and-windows-7/ Or http://www.911cd.net...showtopic=23553

================================================================================

Credits and Thanks to:
JFX for making WinNTSetup3 to Install Windows 2k/XP/2003/Vista/7/8 x86/x64 - http://www.msfn.org/...612-winntsetup-
ChrisR for making Win8.1SE - http://www.msfn.org/...170546-win81se/
chenall, tinybit and Bean for making Grub4dos - http://code.google.c.../downloads/list
karyonix for making FiraDisk driver- http://reboot.pro/to...k-latest-00130/
Sha0 for making WinVBlock driver - http://reboot.pro/to...8168-winvblock/
Olof Lagerkvist for ImDisk virtual disk driver - http://www.ltr-data....ode.html#ImDisk and http://reboot.pro/in...hp?showforum=59
Uwe Sieber for making ListUsbDrives - http://www.uwe-sieber.de/english.html
Dariusz Stanislawek for the DS File Ops Kit (DSFOK) - http://members.ozema...eezip/freeware/
Microsoft for VhdTool (free to install, use, copy and distribute) - http://archive.msdn....oft.com/vhdtool
Piriform for making Defraggler - http://www.piriform....fraggler/builds
marv for making UsbBootWatcher - https://github.com/v...sb-boot-watcher and http://www.911cd.net...showtopic=22473
Pauly for making Bootice - http://bbs.ipauly.co...06e07ab6f3b01cb

More Info on booting XP- VHD from grub4dos menu by using FiraDisk Or WinVBlock driver:
http://reboot.pro/to...-and-windows-7/ Or http://www.911cd.net...showtopic=23553

================================================================================

Grub4dos Menu to Boot XP32USP1.vhd as FILEDISK or as RAMDISK by using WinVBlock driver

VHD filename XP32USP1.vhd contains Architecture 64/32 + Distribution Language + Version P/M/C + Number 1-9

title Portable XP32USP1.vhd - WinVBlock FILEDISK - 1.2 GB
# Sector-mapped disk
find --set-root --ignore-floppies /XP32USP1.vhd
map /XP32USP1.vhd (hd0)
map --hook
root (hd0,0)
chainloader /ntldr

title Portable XP32USP1.vhd - WinVBlock RAMDISK - 1.2 GB
# Sector-mapped disk
find --set-root --ignore-floppies /XP32USP1.vhd
map --mem /XP32USP1.vhd (hd0)
map --hook
root (hd0,0)
chainloader /ntldr

================================================================================

Click here to download this file
  • ReTokener likes this

#2 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 25 June 2013 - 08:02 AM

VHD_XP_Compact ==> Portable XP VHD ==> and on AMD ====> Mini XP VHD in RAMDISK on Intel i5

 

VHD_XPC.png =====> XP_PI_VHD.png =====> XP_PA_VHD.png =====> MiniXP_RAM.png

 

:cheers:



#3 Blackcrack

Blackcrack

    Frequent Member

  • Advanced user
  • 309 posts
  •  
    Germany

Posted 27 June 2013 - 06:20 AM

Hey, why not an Programm, who make it at all in one..

 

An Programm who install on USB an Grub+UEFI Supporting + Create a VHD + Slipstream a WinXP

on this VHD + add like Driver Copier or something, the drivers "WinVBlock driver"

directly as autoinstall in the right Folders in the XP.

 

Maybe a addon on the USB-GRUB-uefi-VHD-XP-installer an spezialy fiture + install/copy directly Users Drivers

into the XP-inf/system32/Drivers and System32 folder to/for Autoinstall the Networkdrivers, Sounddrivers and Graficdrivers and other inf-drivers like intels portdrivers and others.. for Multiple systems running ;)

 

This may maybe a Suggestion for a NeW P50j3ct : Win-VHD-Grub(UEFIsupport)-USB-Installer-Project

 

best regards

Blacky


Edited by Blackcrack, 27 June 2013 - 06:22 AM.


#4 Zoso

Zoso

    Silver Member

  • Advanced user
  • 610 posts
  •  
    Isle of Man

Posted 27 June 2013 - 08:13 PM

Hi wimb, I am glad to see your new work and available on reboot now!


/> />Hey, why not an Programm, who make it at all in one..

I second this. I have been looking at all of your programs for a long time now. I have tried parts of them in the past with not much success (difficulty understanding the procedures required) I mention this so that it might help to improve. it seems that all of your programs could be in one?

anyway, I am about to try following your instructions again except this time for w7 universal VHD. I have not tried it before and I will stick to your instructions exactly which I also was not doing with XP because I didnt want to start from scratch fresh install.

I find your instructions not very clear sometimes so if you want I can provide some feedback as I go along this time? things like space requirements and such. Ive just started with 15gb partiton.... nevermind, off-topic.. I will try to find the correct thread again.

thanks for sharing more neat tools!

#5 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 28 June 2013 - 08:29 AM

@Blackcrack

@Zoso

 

XP- VHD cannot boot in UEFI-mode.

 

XP- VHD can boot in BIOS-mode by using Grub4dos Menu and WinVBlock or FiraDisk driver,

and such menu's for Multi-Boot USB-harddisk are already created by VHD_XP_Compact.exe

 

So the Integration that you propose is already realised .....

 

For Install of XP in Source VHD you have anyway to leave the program,

so it is no option to integrate that part in VHD_XP_Compact.exe

and that task is perfectly supported already by VHD_XP_Create.exe

 

VHD_XP_Setup - Install XP in VHD using XP Setup ISO file and WinVBlock driver

http://reboot.pro/to...tall-xp-in-vhd/

 

:cheers:



#6 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 20 September 2013 - 05:44 AM

-
*** Update VHD_XP_Compact - Make Portable and Mini XP in VHD ***
 
 
 
- USB 3.0 boot support for booting XP VHD on USB
- Copy of .NET 2.0 improved by adding some missing winsxs files
- support of .NET 2.0 only adds 15 MB :)
 
Install USB 3.0 Drivers for XP from folder Windows\DriverPacks\C\U as integrated by DPs_BASE.exe by using KTD option.
This will add Services and CriticalDeviceDatabase Registry Values 
and according to KTD we Set DevicePath in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Add about 6 MB for 16 extra Drivers to boot from USB 3.0

amdhub30, amdxhc, asmthub3, asmtxhci, EtronHUB3, EtronXHCI, FLxHCIh, FLxHCIc, 
nusb3hub, nusb3xhc, rusb3hub, rusb3xhc, tihub3, tixhci, ViaHub3, xhcdrv
 

 

 

Etron(EtronHUB3 + EtronXHCI) and Fresco(FLxHCIh + FLxHCIc) and VIA(ViaHub3 + xhcdrv)
require still improvement of the registry, but all other USB 3.0 drivers are expected to work.
 
If you have Etron, Fresco or VIA USB3.0 hardware working OK for XP, 
then I would like to receive the Exported Registry for the mentioned Services,
so that I can improve the registry in my program packages by adding the missing Parameters and WDF Service registry. 
 
:cheers:


#7 ScarySpons

ScarySpons

    Member

  • Members
  • 36 posts
  •  
    Zimbabwe

Posted 19 December 2013 - 11:06 PM

Hi Wimb.

 

A question regarding this compact xp tool.

 

If i place drivers (unpacked driverpack drivers) in ...

 

VHD_XPC\makebt\drivers\XP_x86\D\C

........................................................\L

.........................................................M

 

etc.

 

This tool doesn't integrate them in my Full Copy XP version which i create by hitting GO.

Why? :dubbio:

 

Did i place the drivers on the right place?

Should i unpack them or not?

 

These errors i get after building final VHD:

TIxVd3C.png?1


Edited by ScarySpons, 19 December 2013 - 11:36 PM.


#8 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 20 December 2013 - 08:05 AM

The Chipset and MassStorage DriverPacks are expected at Windows\DriverPacks\C and Windows\DriverPacks\M
Adding CriticalDeviceDatabase registry and Services is only possible when these DriverPacks are found extracted at the expected place.
So you can solve the problem for now by adding the extracted Chipset and MassStorage DriverPacks to their expected place. 
 
If you had prepared your XP Setup Source according to Section 2 in the given references then
DPsBase.exe with KTD option would have made already Windows\DriverPacks\C and Windows\DriverPacks\M available in your XP Source.
 
The drivers found in VHD_XPC\makebt\drivers\XP_x86 folder are integrated, 
but in that case the specific CriticalDeviceDatabase registry and Services for MassStorage and USB 3.0 support are not integrated in the registry.
 
:cheers:


#9 ScarySpons

ScarySpons

    Member

  • Members
  • 36 posts
  •  
    Zimbabwe

Posted 20 December 2013 - 08:28 PM

I forget about your 'Section 2' completely! Thnx for the remind! ... offcourse!

 

Followed it now and i integrated it in my XP source via DP1006.exe.

All drivers (CPU, MAss, LAN and WLAN are in here) are now in place!

Went ahead and installed this Windows XP in a FIXED HD in vBox. Did my settings etc. Installed all Progs i wanted...

 

Went to your Compact XP tool:

 

But ... still no W folder (from: windows/driverpack/d/w) is taken/integrated in the final VHD via this tool?

USB3 and mass errors are now gone.. :clap: (though USB3 not tested yet.. don't have it).

 

But .. still... the question remains.. why not WLAN? (did you not coded it in this tool?) :dubbio:

(I did add this WLAN folder manually in place (VHD> windows/driverpacks/d/w) .. but then it is not installed automatically at boot on another PC/system... can't 'live' without that though .. i need a perfect Universal and Portable XP :suda: ..LOL)

 

TiA for the help!


Edited by ScarySpons, 20 December 2013 - 08:31 PM.


#10 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 21 December 2013 - 07:02 AM

Copy of WLAN can be enabled by editing dp_xp.txt in folder VHD_XPC\IMG_XP_C

 

Just remove the leading ; to enable copy of \WINDOWS\DriverPacks\W\*.*

 

I wanted to keep XP in VHD as small as possible and use extracted D\W folder available on USB outside the VHD


  • ScarySpons likes this

#11 ScarySpons

ScarySpons

    Member

  • Members
  • 36 posts
  •  
    Zimbabwe

Posted 22 December 2013 - 12:15 PM

i see! thanks for this tip ... all good now... woehoee!!!  :hyper:

now i go and play around with compact_W8 :baby:

Thanks alot @wimb for your help!



#12 pazhanii

pazhanii

    Member

  • Members
  • 57 posts
  • Location:India
  •  
    India

Posted 28 March 2015 - 03:03 PM

Hai wimb, this tool was perfect. I was using nlite before. But your tool works fine within in minutes. But how this is happening? How it makes a small foot print? What are the components are removed? Will all programs will install as usual? You answer will help me a lot. Plz let know...





Also tagged with one or more of these keywords: usb, xp, vhd

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users