Jump to content











Photo
- - - - -

Run win xp on USB


  • Please log in to reply
26 replies to this topic

#1 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 01 May 2012 - 12:19 AM

Hello.
I have searched, but could not find the normal information about how to create and run Windows XP on a USB.
Can anyone create normal guid how to do that step by step:

1. How to create windows xp iso for your system.
2. How to prepare your usb flash drive for portable use.
3. How run yr win xp on usb drive.

Ty for answers and sry for my english.

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 01 May 2012 - 12:47 AM

The topic you're looking for is here: http://reboot.pro/9830/

:cheers:

#3 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 01 May 2012 - 02:13 AM

Try this :
+ Install VirtualBox on PC. Create new virtual machine, new fixed .vhd disk, new virtual CDrom, mount the cdrom with xp installation ISO file.
+ Start the VM, install winxp, install WinVBlock driver, Defragement the C: drive, reboot the VM, shutdown the VM.
+ Now you have the winxp.vhd image.
+ Format your USB disk, copy the winxp.vhd to USB disk.
+ Install grub4dos to USB.
+ Boot the usb with grub4dos, then load the vhd image, suppose your usb is hd0 :
++ map (hd0,0)/winxp.vhd (hd0)
++ map --hook
++ chainloader (hd0,0)/ntldr
++ boot

Good luck with that.
Atrus.

#4 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 01 May 2012 - 11:24 AM

Thanks for answers.

I dont understanding from this line : suppose your usb is hd0 :
++ map (hd0,0)/winxp.vhd (hd0)
++ map --hook
++ chainloader (hd0,0)/ntldr
++ boot

Where i must write these lines on win 7

#5 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 01 May 2012 - 11:47 AM

No.
+ Boot the USB with Grub4Dos, Enter the command prompt ( press C ) and take those command : map ...

BRs.
Atrus.

#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 01 May 2012 - 12:41 PM

No.
+ Boot the USB with Grub4Dos, Enter the command prompt ( press C ) and take those command : map ...

BRs.
Atrus.

...and once you have it working, you write them with a title in menu.lst (omitting the final boot command), i.e:

title My nice XP from vhd
map (hd0,0)/winxp.vhd (hd0)
map --hook
chainloader (hd0,0)/ntldr



Personally I would write them adding a "root" statement:

title My nice XP from vhd
map (hd0,0)/winxp.vhd (hd0)
map --hook
root (hd0,0)
chainloader /ntldr


or (to be able to put the winxp.vhd on another disk)

title My nice XP from vhd
find --set-root /winxp.vhd
map /winxp.vhd (hd0)
map --hook
root (hd0,0)
chainloader /ntldr


You should really READ the grub4dos guide:
http://diddy.boot-la...os/Grub4dos.htm
AT THE VERY LEAST:
http://diddy.boot-la...iles/basics.htm
http://diddy.boot-la...s/files/cli.htm
http://diddy.boot-la.../files/menu.htm
AND:
http://diddy.boot-la...les/boot.htm#nt
http://diddy.boot-la...s/files/map.htm
before fiddling with grub4dos...
(your next issue will probably be "Error 60: File for drive emulation must be in one contiguous disk area" for which you will need to make the image contiguous, just in case ;) http://wincontig.mdtzone.it/en/ )

:cheers:
Wonko

#7 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 01 May 2012 - 08:09 PM

one more think.
how to install install WinVBlock driver, where get these drivers, and where to instal in to USB or in to virtual image with win xp?

#8 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 May 2012 - 01:28 AM

Install WinVBlock driver inside the VM.
Google for downloading the driver.

Brs.
Atrus.

#9 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 09:05 AM

i found where to download WinVBlock driver, but how to install i dont understand. maybe someone can explane in simple human understanding speach?

#10 Sphinx114

Sphinx114

    Newbie

  • Members
  • 19 posts
  • Location:Siberia, Russia

Posted 02 May 2012 - 09:56 AM

@echo off

SET A=32

IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" SET A=64

copy WVBlk%A%.sys %windir%system32drivers

echo Choice method (any):

echo 1 -sc.exe

echo 2 -winvblk.exe

SET /P B=

IF %B%==1 (sc create WinVBlock binPath= %windir%system32driverswvblk%A%.sys type= kernel start= boot group= "SCSI miniport")

IF %B%==2 (start winvblk.exe -cmd install -service wvblk%A%)

net start winvblock

start  %windir%system32devmgmt.msc

pause

Put this batch file in winvblock folder. Start batch and choice any install method. At the end update driver manualy from device manager.

#11 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 May 2012 - 01:01 PM

GUI step for installing winVblock driver :
+ Download winVblock driver. Unzip it.
+ Open Control Panel, Add New Hardware, ..., Manual Add Hardware, ... Show all device, ... Have disk, ... point to the .inf file in the driver folder.
+ Ignore the warning of Digital Signature.
+ Done.
+ Open Device Manager, you will see a device name "WinVblock ..." under the leaf RAID and SCSI ...
+ Reboot the VM.

Good luck with that !

Brs.
Atrus.

#12 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 02:12 PM

I think i done all these steps, but when i try to boot windows xp form usb i get bootmgr is missing message. What i have done wrong?

#13 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 May 2012 - 02:40 PM

I think i done all these steps, but when i try to boot windows xp form usb i get bootmgr is missing message. What i have done wrong?

You have most probably formatted the filesystem under Vista :ph34r: or 7.
This will write a bootsector invoking BOOTMGR (and not NTLDR).
Run bootsect.exe (with the /nt52 option) or re-format from 2K/XP.

:cheers:
Wonko

#14 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 03:18 PM

yes i formated with win 7. now i formated with HP USB Disk Storage Format Tool - v2.1.8 to fat32
Copping winxp.vhd
then i install grub4dos and try to start my own hell mashine from usb... muhahaha. :devil:

#15 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 May 2012 - 03:23 PM

When you successfully boot the ntldr, maybe you will get the BSOD 6B or 7B if you not lucky ! ;)) Good luck with that.

So, it looks like that these stuff are so difficult for you (and maybe for me, too). If you just want to run WinXP on USB, I recommend you move to Embedded platform, which is more simpler to follow. No more terms like image, vhd, grub4dos, fira driver, blah blah blah ...

Try these :
+ Install Windows Embedded Standard 2009 Studio (it maybe requires .net framework 2, SQL Server Express 2005, ...)
+ Open Target Designer, New ...
+ Insert the "Sample Windows Logon" component
+ Insert these components to be able to run on USB : USB boot 2.0, USB boot mass storage, USB 2.0, USB common.
+ Insert some others components that you want : device manager, user account, administrator user, internet explorer, task manager, ...
+ Check Dependencied, Resolve the conflict by choosing : NTLoader, Explorer Shell, English language, NTFS, Win Logon, ...
+ Build the Target. Suppose the image directory : C:Embedded StudioImage ...
+ Format the USB disk, it must be a primary partition and be set active (Use Windows Disk Management to take these task)
+ Copy all file in the image folder to the USB disk.
+ Suppose the USB disk is D: drive.
+ Make the USB bootables : run windows command cli (Runcmd), "Bootsector.exe /nt52 D: /force".
+ The "Bootsector.exe" can be found on the Win 7 Installation Disc (Boot folder)
+ Done.
+ Boot the USB and it will load the XP Windows FBA, configuring, reboot and Done.

Good luck with that.
Br.
Atrus.

#16 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 May 2012 - 03:27 PM

So, it looks like that these stuff are so difficult for you (and maybe for me, too). If you just want to run WinXP on USB, I recommend you move to Embedded platform, which is more simpler to follow. No more terms like image, vhd, grub4dos, fira driver, blah blah blah ...

Are you going to pay the difference in cash for the Windows Embedded License? :dubbio:

:cheers:
Wonko

#17 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 May 2012 - 03:38 PM

Hehehe. WinXP is also need license man, it's not free :dubbio:
Embedded is just an other concept to follow, you can have a try on trial license.

Get Live Ubuntu CD for free :thumbsup:

Brs.
Atrus.

#18 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 03:44 PM

Now im getting this message : Remove disk or other media.
Press any key to restart :dubbio:

#19 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 03:52 PM

Why i want to run win xp from USB
becouse i want to run hon from win xp becouse on win 7 i cant play without lag, but i need to have win 7 for my work.
I tryed to install on ubuntu and feodora, but mine usb only 4 gb, soo not enoth disk space.
So i want to try how it work on win xp.

#20 anhhuyla

anhhuyla

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 May 2012 - 03:56 PM

Where are you ? Still stuck at NTLDR boot or get into the Grub4dos CLI ?

Try this :
+ Format the USB with Win7 or winXP, primary partiton, set active.
+ Copy these file to USB : boot.ini, ntldr, ntdetect.com, grldr, grldr.mbr, winxp.vhd.
+ Make it bootable : "bootsector.exe /nt52 usb: /force"
+ Add these to the boot.ini : C:grldr = "grub"
+ Boot the USB, Chose Grub menu and go on ... map (hd0,0)/xp.vhd ...

Brs.
Atrus.

#21 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 04:12 PM

i tryed change settings with grub4dos and i can access menu : My nice XP from vhdd
But when i press enter i get new error :
mag (hd0,0)/winxp.vhd (hd0)
Error 15 : File not found
Press ...

#22 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 05:04 PM

any idea how to fix this?

#23 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 02 May 2012 - 05:10 PM

try
map /winxp.vhd (hd0)
instead?

To troubleshoot grub4dos see here

#24 hypogeum

hypogeum

    Newbie

  • Members
  • 13 posts
  •  
    Lithuania

Posted 02 May 2012 - 05:40 PM

Yes it worked ty. but when windows xp loading i get blue creen error. i think it will be error with WinVBlock.

#25 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 May 2012 - 05:46 PM

Hehehe. WinXP is also need license man, it's not free :dubbio:

Yep, that's why I talked of "difference".
List price of XP (IF you are able to find it) : around 200÷250 bucks
http://www.nextag.co...nse/stores-html
List price of Windows XP Embedded, last time I checked was roughly 4 times that.

@hypogeum
In case you hadn't noticed you were told NOT to use a menu.lst BUT command line.
To do that you need to learn some basics.
Once you have succeeded on command line, THEN (NOT BEFORE) you use an entry in menu.lst.

About "Blue Screen Error" there are HUNDREDS of them, you will need to provide the exact STOP ERROR, most likely it is a 0x0000007b, but we cannot say from a distance.

You have no idea how I hate to say this :(, but maybe you are not (yet ;)) "ready" to attempt a completely manual build.
You may want to try wimb's nice app and build yourself an XP with it, so that it is confirmaed that it works on your hardware:
http://reboot.pro/9830/



:cheers:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users