Jump to content











Photo

full Universal xp.vhd run from usb - Finally work for me! (maybe for you too...)


  • Please log in to reply
486 replies to this topic

#1 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 29 January 2011 - 09:29 PM

Just because I guess I'm not the only one that burned on it many hours I am happy to share all what I could finally understand and make it works for me... :(

From my experience I can say the most comfortable system for pc repairs/virus cleaning/portable os for internet/multimedia/mail/Quick work with files... is this xp.vhd .
* its small (lass than 1 gb)
* its boot very fast (11 sec with ewf - 19 sec without ewf)
* full multimedia support so you can Immediately play your media
* full printing support
* your anti virus always up to date (no need wait for updates like in pe builds )
* your anti virus real time protection work (Unlike pe builds)
* easy to install driver from driverforce or driver geek including all type of drivers (better than pe builds)
* with ewf you are protected - only when you need to update or install something you commit write to disk and return to ewf protection
* all portable apps are works (i has 8gb collection i made with Thinstall )

Posted Image

Of course our cool developers deserve thanks for there wonderful tools and deep explanations they give here all the time. :thumbup: Just a few steps I incorporated different guides to get the desired result
I can say I tried all the "usb xp" guides we have here in forum,I spent many hours on this :cheers:

My conclusion until last week was the only way that really works is to go with wimb's Tool, step by step and create xp_ram.img and update it on many computers

But still it did not satisfy me because of the prominent faults
- You can not run on computers with little memory
- takes too much time on computers with slow usb boot
- I wanted to boot immediately to work rather than to dwell with the learning process, etc ...

Then thankfully I read here a few things and added a few things in my mind
Anyone who wants can try the great success: real universal xp.vhd without learning process needed work from winvblock file disk & g4d ram disk from usb without tne BSOD 0x7B i tried on 9 pc's only i get error But I fixed that too (see Part 13) Since I try it on every computer that I just met all work well!!

my steeps are:

1. make file cald xp.vhd on your local drive(fixed, not dynamic!) [i prefer .vhd instead of img for use with virtual pc if i want later ] {I disabled free space checking with nlite so i use 1gb .vhd}

2. make xpsp3.iso with full "chipset"+"mass storage"+"cpu" drivers integrate and Reduced size by removing Unnecessary components (my .iso is 410mb)

3. run this setup command
title start setup xp on img

map --mem /winvblock.ima (fd1)

map --mem (md)0x6000+800 (fd0)

map /xp.vhd (hd0)

map --mem /IMAGES/xpsp3.iso (0xff)

map --hook

dd if=(fd1) of=(fd0) count=1

chainloader (0xff)







title continue setup xp on img

map --mem /winvblock.ima (fd1)

map --mem (md)0x6000+800 (fd0)

map /xp.vhd (hd0)

map --mem /IMAGES/xpsp3.iso (0xff)

map --hook

dd if=(fd1) of=(fd0) count=1

root (hd0,0)

chainloader /ntldr


4. boot from the vhd from your local disk with this command



title Boot XP from image file 

map /xp.vhd (hd0)

map --rd-size=2048

map --mem (rd)+4 (0x55)

map --hook

write (0x55) #GRUB4DOS\x00v=1\x00xp.vhd\x00\x80\x00

root (hd0,0)

chainloader /ntldr




5. connect your usb disk to the pc for the system to recognize it ..reboot when steel connect

6. use wim'b IMG_XP package to Reduced windows size & use all wimb's registry_tweaks (no need to create .img but use the tweaks.reg...) do not install firadisk! winvblock already installed!

7. open device manager and change all "ide&usb" drivers to "standard..." and computer to "Advanced Configuration and Power Interface"... reboot pc...

8. Optional, use "XPlite Professional 1.9" to Reduce your windows (Very significantly)

9. download UsbBootWatcher.zip from here:
Also download usb_xp_init.cmd from here:
Unzip UsbBootWatcher.zip and put usb_xp_init.cmd into the folder we have just extracted UsbBootWatcher. The directory structure should look like this:
amd64 - directory
x86 - directory

10. Boot into other Windows so you can edit your xp.vhd windows (you can mount the xp.vhd as local drive from windows7/Win7PE disk mangment or boot it on virtual pc)

11. Run usb_xp_init.cmd and type the path of system32 directory of the mounted vhd. (for examle D:\Windows\system32)
When it completed unmount the vhd

12. now you be able to boot this xp.vhd from your usb drive on different machines Without any additional actions (At least I can)

13. If you still encounter screen of death (happened to me once of 9 computers) Copy the .vhd file to the local drive and run it from there (or add --mem to map entry and run from ram disk)
after you boot to desktop wait for system finish the automatic drivers instantiation, then copy the vhd back to usb (or use IMG_XP_Update.exe to update your .vhd that placed on your usb) now its can safely boot from it

14. Optional, use ewfmgr To protect your disk and to improve performance Especially if it is a flash drive that his writing is very slow
how to install ewfmgr?

There may be other ways, my way is to boot the system with ewfmgr.iso (thanks to etboot project) its works in xp rc environment . (in our case we can boot it from virtualpc or from g4d + map vhd ) I brought up for you
select 1 to install ewf
select drive {c:}
select win folder {windows}
restart
after we boot into windows run cmd >
ewfmgr c:\ -enable = protection on
ewfmgr c:\ -disable = protection off
ewfmgr /all = all comand line




15. enjoy!
;) :) :cheers:

some links

winvblock.ima

ewf.iso
  • TheHive likes this

#2 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 29 January 2011 - 10:10 PM

Nice work! :smiling9: :thumbsup:

If I'm not mistaken, you installed Win XP onto a mounted XP.vhd virtual drive image saved on internal HD, than added WinVBlock driver to it so it can be mounted at boot, than copied the image to a USB drive, shrink and added extra hardware drivers to that image by booting it on various PCs. Now you can boot from it on many PCs via Grub4DOS. Great!

A few questions:

- what do you plan to use this XP image for and how exactly?
- have you considered an option to directly install WinXP onto a USB drive instead of using XP image?
- any drawbacks & benefits of using direct XP install instead of the vhd image?

#3 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 29 January 2011 - 10:39 PM

Nice work!

tnks

If I'm not mistaken, you installed Win XP onto a mounted XP.vhd virtual drive image saved on internal HD, than.....


It's possible but not, it's certainly not what I wrote
My guide is a short but every word is important
I install the system directly to the mapped disk file (see the menu.lst)
winvblock driver Automatically installed during xp installation...

- what do you plan to use this XP image for?

Everything its easy mobile operating system...
using software, repair and cleaning computers ... its better than all pe builds Is not limited .. You can install it all full versions of all apps

- have you considered an option to directly install WinXP onto a USB drive instead of using XP image?
- any drawbacks & benefits of using direct XP install instead of the vhd image?

As I wrote I tried all the other ways in which the unit operates best

1. One file is better than one million files
2. Allows for some multiple systems working together from the same drive
3. Virtual software also works
4. Not getting into the system files with other systems
5. There is no difference in performance but only better because the file stitched together well

#4 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 29 January 2011 - 11:17 PM

Stitched together - I like that. :)

What's the difference btw "mapped (XP.vhd) disk file" and "mounted (XP.vhd) virtual drive image"? Did you mean you installed XP to a RAM drive mounted XP.vhd image? Or, did you install XP to file which was not mounted as drive? Then how boot sector was added to it? Sorry for torturing you with stupid questions. ;)

#5 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 29 January 2011 - 11:47 PM

Stitched together - I like that. :)

What's the difference btw "mapped (XP.vhd) disk file" and "mounted (XP.vhd) virtual drive image"? Did you mean you installed XP to a RAM drive mounted XP.vhd image? Or, did you install XP to file which was not mounted as drive? Then how boot sector was added to it? Sorry for torturing you with stupid questions. ;)


I'm sorry maybe my guide is not clear enough
I will try to explain some things

setup
all Installation process runs from grub4dos menu rather than works system
we use g4d to map winvblock.ima as a floppy (so xp setup access our vhd)
we use g4d to map xpsp3.iso as cdrom drive with xp setup
we use g4d to map xp.vhd as a hard disk
we run this setup with this Combination

modify
we need assess our vhd offline so we mount it from other running os (As I wrote..)

#6 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 30 January 2011 - 04:30 AM

...my steeps are:
...
15. enjoy! ;) :) :cheers:

Excellent. Using IDE mode and copying to the HDD is a nice way to accomplish the "learning" process. It's also handy to connect the USB storage device to every USB port to populate those combinations.

The only thing I ask is that you are careful about defragmenting the underlying FS that your image file is on. There is no protection against the data on the sectors in the image file from being moved around, unless you send WinVBlock additional information from GRUB4DOS. For example, if you defragment the volume on the USB disk, the image file might be moved, then you will have big trouble, and it will be very mysterious trouble; difficult-to-pinpoint-the-cause-of trouble.

title Boot XP from image file 

map /xp.vhd (hd0)

map --rd-size=2048

map --mem (rd)+4 (0x55)

map --hook

write (0x55) #GRUB4DOS\x00v=1\x00xp.vhd\x00\x80\x00

root (hd0,0)

chainloader /ntldr



#7 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 30 January 2011 - 04:53 AM

Thanks Sara!

So, XP.vhd usage idea is:

- copy XP.vhd image to a USB disk
- copy your Service ISO images to that disk
- copy other OS images to that disk
- install Grub4DOS to its boot sector
- run any OS (and its applications) or Service Image any time you need
- replace any image with its updated version any time

Interesting to try this concept. Now I've XP installed onto a Thumb, everything else is similar. Will add XP.vhd to it to see the difference...

What pmedia means - does it help too in any way? ;)

#8 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 07:06 AM

9. download UsbBootWatcher.zip from here: www.911cd.net/forums//index.php?showtopic=22473&st=0
Also download usb_xp_init.cmd from here: www.911cd.net/forums//index.php?showtopi...920&#entry153920

Hi Sara,

GREAT and Thanks for the description of your work.
We all know here how many hours it takes to make progress .....

I saw that the link to usb_xp_init.cmd is not working because it contains ...

Also you speak of xpsp3.iso in text, but uses sp3.iso in the g4d code.

We certainly enjoy your work in creating Universal XP.

;)

#9 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 07:37 AM

Hello I wrote it with my eyes almost shut ... Excuse me for grammar mistakes

#10 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 07:42 AM

The working links for step 9. are

marv - UsbBootWatcher
http://www.911cd.net...showtopic=22473

cdob - usb_xp_init.cmd
http://www.911cd.net...pic=22473&st=37

#11 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 07:56 AM


13. If you still encounter screen of death (happened to me once of 9 computers) Copy the .vhd file to the local drive and run it from there
after you boot to desktop wait for system finish the automatic drivers instantiation and copy the vhd back to usb now its can safely boot from it


Or in case of BSOD 7B you can first use other grub4dos entry on USB and boot it to WinVBlock RAMDISK and then use IMG_XP_Update.exe
like I did here
http://reboot.pro/13...post__p__120249
http://reboot.pro/13...post__p__119765

#12 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 07:59 AM

Thanks
I corrected the links ;)

Or in case of BSOD 7B you can first use other grub4dos entry and boot it to WinVBlock RAMDISK and then use IMG_XP_Update.exe


I wish that was possible but it is impossible at the moment maybe with your help this will be possible.
The current version of "update_img" Does not recognize vhd format
The current version of "update_img" not work without firadisk
maby you will can update your tool with some New discoveries (winvblock Instead of firadisk, run from img, integrate chipset+mass+cpu drivers for beter universal... update ide+usb to standard, change cpmuter to advansed...)

#13 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 08:28 AM

The current version of "update_img" Does not recognize vhd format
The current version of "update_img" not work without firadisk

I think vhd filetype is supported by IMG_XP_Update.exe

Indeed if firadisk.sys driver is missing you get message but can Continue with Yes

" Continue to Update Windows Image anyway ? - No = STOP - Return "

Certainly, I will in future Update IMG_XP package with WinVBlock and the NEW findings.

How do you integrate "full" Chipset and CPU drivers at Install of XP ?
I think you install only Chipset and Processor driver for the first current machine, where you install XP in .vhd file

Which components of XP do you remove ?
Is it still full XP working without errors, like msconfig does not work .... or MS Word parts of Windows\Installer folder are missing ....

Can you describe how you prepare the initial xp.vhd file that you use ?

;)

#14 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 09:18 AM

1. Good to know. I update step 13 and i will try later, it can save some time.

2. i use nlite to integrate driverpacks.net

3. i remove many realy unnessery compunent like:
Tour
handicapped accessibility
help files
samples files
File Transfer Wizard.
Backup.
And much more spam....

all importent components still work (msi...,visual...,all runtimes...,all management tools, all ms tools...)

4. i use virtual-pc wizard but you can creat it with win7/win7pe disk managment

#15 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 09:57 AM

What is the size of your final xp.vhd file and how much Freespace is in it and is it NTFS compressed ?

What Extra apps were added to the XP Image e.g. 7-zip and winrar and/or Office 2003 ?

Can you give us a nice ScreenShot ?

:cheers:

#16 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 10:45 AM

For enhanced performance i don't use ntfs compresion.
i has 2 files,

* small_xp.vhd = 178mb/1gb free (boot even from my nokia n900!)
xp+
unlocer+
winrar+
imdisk+
everything+
nod32+
k-light+
Anti-Spyware+
foxit reader&printer+
flash 10+
desktop shortcut to my p-start collecten of portable apps places on usb root
desktop shortcut to hbcd menu places on usb root
some more littel thinks....

* big_xp.vhd = 1.5gb/15gb free
xp+ all ms updates
All you can imagine (this file is converted .tib that i make 1 year ago)
all the best apps Arranged by types + extra fonts + extra wallpapers + all adebe prdacts with full plagins + full ofice 2007 +net fremwark + many more....

**** Right now I'm at work ... When I can I will upload you some screensoots.

#17 agni

agni

    Frequent Member

  • Tutorial Writer
  • 270 posts
  • Location:Bengaluru (Bangalore)
  •  
    India

Posted 30 January 2011 - 12:24 PM

Nice Tutorial.Thanks a lot for posting this.

A few suggestions

In step 3 you are loading the xp installation iso to RAM from grub4dos using the --mem switch.However the latest version of winvblock supports sector mapped iso files.
Download latest Winvblock from https://github.com/Sha0/winvblock

In the menu.lst instead of
map --mem /IMAGES/sp3.iso (0xff)
you can use
map /IMAGES/sp3.iso


In step 2 don't integrate driverpacks with nlite.Use nlite only for component removal and tweaks.
If you integrate Driverpacks using Dpsbase,you can enable the KTD setting(Keep the Drivers).
http://agnipulse.com...tallation-disc/

#18 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 30 January 2011 - 12:38 PM

Don't forget to correct sp3.iso to xpsp3.iso in your G4D Menu.

So, XP.vhd image is automounted as soon as you map it in step3, and then partitioned & formatted at WinXP installation first steps?

#19 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 01:27 PM

In step 3 you are loading the xp installation iso to RAM from grub4dos using the --mem switch. However the latest version of winvblock supports sector mapped iso files. you can use
map /IMAGES/sp3.iso


good to know :cheers: However my sp3.iso size is 410mb i steel prefer use --ram ... the setup work very faster. :blink:

In step 2 don't integrate driverpacks with nlite.Use nlite only for component removal and tweaks.
If you integrate Driverpacks using Dpsbase,you can enable the KTD setting(Keep the Drivers).


thanks but you are wrong, even in nlite integration the drivers stay too in system Because my vhd can run on many systems with different chipset and My drive looks like this

windows>
>>>>>>>>DriverPacks
>>>>>>>>>>>>>>>>>>>> c
>>>>>>>>>>>>>>>>>>>> m
>>>>>>>>>>>>>>>>>>>> p

#20 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 04:57 PM

I tried to Install XP in xp.vhd file using WinVBlock F6 floppy image file and your grub4dos menu.
XP setup start and I can select with F6 the WinVBlock driver and then TXT-mode will load the boot drivers.

But then at the stage of Hardware detect, I get a black screen with flashing cursor instead of the list of drives for Install of XP.
Do you know this problem and did you something special to overcome this barrier ?

#21 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 30 January 2011 - 06:28 PM

...But then at the stage of Hardware detect, I get a black screen with flashing cursor instead of the list of drives for Install of XP.
Do you know this problem and did you something special to overcome this barrier ?

That reads like a bug I fixed in the most recent development version. Is that what you're using?

#22 wimb

wimb

    Platinum Member

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

Posted 30 January 2011 - 06:52 PM

That reads like a bug I fixed in the most recent development version. Is that what you're using?

I used the development version of 23-01-2011

I will try version 0.0.1.8 and let you know the result

#23 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 30 January 2011 - 06:56 PM

I tried to Install XP in xp.vhd file using WinVBlock F6 floppy image file and your grub4dos menu.
XP setup start and I can select with F6 the WinVBlock driver and then TXT-mode will load the boot drivers.

But then at the stage of Hardware detect, I get a black screen with flashing cursor instead of the list of drives for Install of XP.
Do you know this problem and did you something special to overcome this barrier ?


Make sure you are useing fixed vhd.
try not to prees f6... For me it was not necessary

#24 wimb

wimb

    Platinum Member

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

Posted 31 January 2011 - 06:14 AM

Now I have use latest WinVBlock development version 30-01-2011 of github
https://github.com/S...tree/master/bin

Hardware detect is working and I can select to install in xp.vhd file.
This version of WinVBlock allows me to install XP in xp.vhd file (without pressing F6).
Strange is that this version does not install WinVBlock as SCSI controller, but as Unknown device.

Also my video and audio driver were not installed auto by DriverForge,
which normally occurs at T-9 for me. I installed them manually after booting with XP from FILEDISK.

Anyway I made progress and can continue .....

EDIT:
Unfortunately the xp.vhd is not stable for me. It crashes now.

Then I tried to use virtual floppy with the original published version 0.0.18 of WinVBlock
This version does NOT allow me to install XP in xp.vhd file. Again at Hardware detect, I get black screen with flashing cursor.

I will return to my previous XP Image file made from XP installed to partition and where WinVBlock was installed manually.
That approach is working for me and gives stable image file.

That means that I only have to carry out as extra Step 11. of Sara's tutorial where usb_xp_init.cmd will add CDDB entries to make it Universal,
since all other steps were already present for me in the IMG_XP approach.

#25 sara - pmedia

sara - pmedia

    Frequent Member

  • Lady
  • 184 posts
  • Location:tel aviv
  •  
    Israel

Posted 31 January 2011 - 07:04 AM

Anyway I made progress and can continue .....

:thumbsup: :) :clap:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users