Jump to content











Photo

Install XP from USB

tutorial

  • Please log in to reply
130 replies to this topic

#51 bartgrefte

bartgrefte

    Newbie

  • Members
  • 11 posts
  •  
    Netherlands

Posted 17 July 2010 - 03:43 PM

Small problem, I cannot start what is not there, USB_XP_Setup.exe does not exist in Pstart folder.

#52 wimb

wimb

    Platinum Member

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

Posted 17 July 2010 - 04:48 PM

Small problem, I cannot start what is not there, USB_XP_Setup.exe does not exist in Pstart folder.

Strange ....

The link is giving all info ......

Launch USB_XP_Setup.exe from PStart Menu to prepare your Target drive for Install of XP.
Info USB_XP_Setup.exe of U_XP_SET package http://www.911cd.net/forums//index.php?showtopic=21883



#53 bartgrefte

bartgrefte

    Newbie

  • Members
  • 11 posts
  •  
    Netherlands

Posted 17 July 2010 - 04:53 PM

Found it*, and tried installing XP.
*It wasn't in the archive with the make PE stuff in it, there was a Pstart folder, but not with the USB_XP_Setup file.

First off, copying about 8000 files to the HDD took a while, after reboot during textbased setup some files (starting with ie4 if I remember correctly) could not be copied, during the GUI part I got a whole bunch of errors about not being able to access certain files. Did not read them all but some of them pointed to system files.
Eventually I cancelled the install.

Right now I'm choosing between getting a cd-/dvd-rom case with USB connector while putting an old dvd-rom player inside, or use the method I started with.
But then I would like to figure out a way to prevent the USB....something being added to the boot.ini and remove the duplicate XP entry. I think Swiss File Knife can do that.
And I think I'll have to disable WFP (temporarily) to get rid of the WFP error.

#54 wimb

wimb

    Platinum Member

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

Posted 18 July 2010 - 09:38 AM

But then I would like to figure out a way to prevent the USB....something being added to the boot.ini and remove the duplicate XP entry.

The errors indicate that dosnet.inf and txtsetup.sif in your source are NOT properly made.
How did you prepare your XP Setup source ?

You can follow 2. XP-Source Preparation
http://www.911cd.net...showtopic=21883

The boot.ini file is easily editable so that you can remove the unwanted USB Repair Install option.
(Or Edit via My Computer > R-mouse properties > Advanced > Boot options)

#55 bartgrefte

bartgrefte

    Newbie

  • Members
  • 11 posts
  •  
    Netherlands

Posted 18 July 2010 - 12:56 PM

Are not properly made?
Then how do you explain that if I use the exact same source while installing from dvd, there are no problems?
Same with USB_MultiBoot_10.cmd, no problems, not counting the boot.ini and WFP issues.

"How did you prepare your XP Setup source ?"
- integrated SP3 using the full/offline SP3 installer with integrate switch;
- then used RVMI to integrate the most recent post SP3 updatepack + IE8 and framework addon from RyanVM forum.
- integrated driverpacks with DriverPacks BASE.
That's it.

Anyway, I think I will stick to the USB_MultiBoot_10.cmd method I tried. With that I don't have to wait for PE to start and I also don't have to wait for the 8k of files being copied over before the install can even start.

To fix (if you can call it that) the boot.ini I've already found batchcode that deletes the identical entry. For the USB... entry I am gonna use Swiss File Knife to do a "search and replace", same with the 30second wait setting in the boot.ini.

#56 wimb

wimb

    Platinum Member

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

Posted 18 July 2010 - 02:24 PM

Preparation of XP Setup Source as described is OK.
Strange that you get so many errors in XP Setup. :cheers:

boot.ini is easily modified manually after setup has finished,
but may be you don't want it this way.

Anyway happy that good old USB_MUltiboot_10.cmd is OK for you. :thumbup:

#57 bartgrefte

bartgrefte

    Newbie

  • Members
  • 11 posts
  •  
    Netherlands

Posted 18 July 2010 - 02:34 PM

Strange indeed.

I know, but the thing is, I want it to be done automaticly :thumbup:
So that I don't have to do it each time I use the USB stick to (re)install XP...

#58 wimb

wimb

    Platinum Member

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

Posted 18 July 2010 - 02:40 PM

You can boot with PE in 30 sec if you use BOOT_IMG.exe to Install the PE Boot Image in grub4dos menu on Target HDD drive.
Loading from HDD is much faster then from USB-stick and in most cases available (only blank HDD requires booting from USB-stick).
Besides when you boot always from HDD, you don't need to make any change in the boot sequence
and your computer don't need to be bootable from USB :thumbup:

Instead of mounting an ISO you could have used XP Setup Source in folder on USB-stick.
In that case there is for USB_XP_Setup.exe no need to copy all files and you simply can indicate where the source is.
In that case USB_XP_Setup.exe only creates the XP Setup Bootfolder on HDD.

May be read and follow carefully the described procedure and try again
http://www.911cd.net...showtopic=21883


You may also want to try the methods of ilko_t and cdob
http://www.msfn.org/...ndows-from-usb/


Or try AFTER booting with LiveXP PE the program WinNTSetup of JFX
http://www.boot-land...?showtopic=7721

What is your XP Setup Source: x86 or x64 and what type ?

#59 bartgrefte

bartgrefte

    Newbie

  • Members
  • 11 posts
  •  
    Netherlands

Posted 19 July 2010 - 07:19 PM

I'm sticking with the older method, with that I do not have to wait for anything to have been copied for the install can actually begin :dubbio:
Gonna work on that again later, just got a more recent updatepack from RyanVM forum, only 2 updates left with that :cheers: (not counting 2 framework updates, that pack hasn't been updated yet, and the live essentials crap.)

Source is a Dutch XP Pro x86.

#60 steve6375

steve6375

    Platinum Member

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

Posted 02 August 2010 - 10:38 PM

Not sure if anyone else uses WinPE v3 (Win7PE) to install XP - but a simple method is described here.

This is the method I use for all fully automated installs of XP from USB pen drive or network.

#61 tomnaka

tomnaka
  • Members
  • 2 posts
  •  
    Bangladesh

Posted 15 August 2010 - 10:49 PM

ok...friends, i have the aspire 1 and i am trying to change the OS from xp japanese to xp English. i did all the tutorial on the first page said but when i boot from usb and the installation starts, i only see drive U: to format. i do no see my computers hdd. please help me. i wanted to load the OS to my computers hdd and not the pendrive even thought i am booting from the usb stick...

thanks.

#62 wimb

wimb

    Platinum Member

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

Posted 16 August 2010 - 05:13 AM

If you don't see your HDD drive, it might be that you are missing MassStorage drivers.
Another cause can be wrong BIOS Setting.

Before Install Change your SATA BIOS Setting from AHCI into IDE Controller or Compatibility.

Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/downloads
For installing XP on modern systems with SATA Drives it is needed to use DPsBase.exe
for Integrating in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled.
In that case a lot of Extra RAID SCSI and SATA Drivers (about 120 extra) are Integrated and will appear in the
XP Setup BootFolder $WIN_NT$.~BT on USB-Drive and can prevent a lot of XP Installation Boot Problems.
First use RyanVM Integrator and then use DPsBase to Improve your XP-Source.



#63 tomnaka

tomnaka
  • Members
  • 2 posts
  •  
    Bangladesh

Posted 16 August 2010 - 12:05 PM

If you don't see your HDD drive, it might be that you are missing MassStorage drivers.
Another cause can be wrong BIOS Setting.

Before Install Change your SATA BIOS Setting from AHCI into IDE Controller or Compatibility.

hello...you rock! i went to my BIOS and just change AHCI to IDE. and i found my hdd and was able to install xp on it. its the net and now i am happy. thanks to you. in fact i am using the netbook to type this msg.
i wanted to ask that is it possible i keep the AHCI settings but this time i use xp for SATA disks. will it work?

#64 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 16 August 2010 - 12:54 PM

i wanted to ask that is it possible i keep the AHCI settings but this time i use xp for SATA disks. will it work?

See here:
http://www.boot-land...?showtopic=8758
AND here:
http://www.msfn.org/...o...0444&st=588

:(
Wonko

#65 http://computing-tips.net

http://computing-tips.net
  • Members
  • 1 posts
  •  
    Kenya

Posted 22 August 2010 - 09:24 PM

This is a nice tutorial. I would recommend it to anyone !

#66 Digika

Digika
  • Members
  • 3 posts

Posted 20 September 2010 - 07:43 AM

Program - USB_MultiBoot_10.cmd - 06 June 2008 - Date = 20.09.2010 11:26:55

Prepares MultiBoot USB-Drive provided with Windows XP Setup LocalSource
Supports Booting: MS-DOS BartPE WinPE 2.0 and Setup Windows XP
GRUB4DOS Menu with DOS FLOPPY IMAGES + Linux + Vista Setup and SYSLINUX Menu

*** BEFORE YOU START: *** Use USB-stick with High Read/Write Speed
For Vista OS SET User Account Control OFF - XP OS is Preferred for Speed 3x
FOR USB-Harddisk make 1900 MB partition at beginning of the USB-Harddisk
Use FAT Format and Set Active OR use PeToUSB to Format such partition
OR make USB-Harddisk with NTFS Format and NTLDR BootSector using Windows XP
Multi-Partition an USB-stick after using INSTALL_DUMMY.cmd for dummydisk

HELP SEE: http://www.msfn.org/...SB-t111406.html
Use RyanVM Integrator or nLite to Integrate UpdatePacks in your XPSOURCE
Integrate in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled
Using DPsBase.exe in 1 minute from http://driverpacks.net/DriverPacks/

OEM or nLite winnt.sif File is Auto Changed for Install of XP from USB
For UNATTENDED XP Install use the build in Auto Edit UserData Setup
Give ProductKey and TimeZone used in Current_winnt.sif Copy of your winnt.sif
Remove all other Removable Drives, like USB Backup Harddisks and Memory Cards

Press any key to continue . . .

Format USB-Drive with FAT or NTFS - FAT32 is very SLOW for Install of XP

P) PeToUSB - FAT Format - Max 2 GB

To Format USB-Drive : Enable Disk Format with LBA FAT16X
Do NOT Select here FileCopy of BartPE
FAT Format Supports Direct Booting with MS-DOS using MULTI_CONTENT
Install of XP from USB in 30 minutes - Buffalo FireStix 2 GB

H) HP USB Disk Storage Format Tool V2.0.6 - NTFS Format - use X_CONTENT

NTFS Format Supports DOS Boot Floppy Images via GRUB4DOS Menu
Install of XP from USB in 16 minutes - Corsair Flash Voyager 4 GB

Do NOT use HP Tool for USB-Harddisks having more than 1 Partition
WARNING - HP Tool Formats whole Disk - Second Partition is Lost


N) No Format - Use USB-Drive with FAT or NTFS Format by Windows XP
Or Update Existing Bootable USB-Drive with NTLDR Bootsector

Adding BartPE to USB-Drive is Possible via Next Menu

Enter your choice: H
Select XP Setup Source and USB-Drive Target, Then 3 = Make MultiBoot USB-Drive

0) Change Drive Type, USB-stick OR USB-Harddisk, currently [USB-stick]

1) Give XP Setup Source Path = []

2) Give USB-Drive Target, currently [] X) Copy LANG / WIN98X [NO]

3) Make MultiBoot and Copy Sources to USB-Drive F) LogFile [Simple]

C) Add USB Content Source, now [X_CONTENT]
P) Add BartPE Source, currently []
V) Add Vista Setup, currently []

B - Select boot.ini = [b_ini\XP_Setup_boot.ini]


**** After Selecting your XP Setup Source, Additional Options are given here
**** For Changing the Selected winnt.sif file and $OEM$ Folder
**** which contain the Editable UserData for Install of Windows XP from USB


Q) Quit R) Recovery Console [NO] S) SYSLINUX Menu [NO]

Enter your choice: 1

Please Select your XP Setup Source Folder containing I386 Folder
Copied files: 1.
Select XP Setup Source and USB-Drive Target, Then 3 = Make MultiBoot USB-Drive

0) Change Drive Type, USB-stick OR USB-Harddisk, currently [USB-stick]

1) Give XP Setup Source Path = [I:\temp\XP\redist]

2) Give USB-Drive Target, currently [] X) Copy LANG / WIN98X [NO]

3) Make MultiBoot and Copy Sources to USB-Drive F) LogFile [Simple]

C) Add USB Content Source, now [X_CONTENT]
P) Add BartPE Source, currently []
V) Add Vista Setup, currently []

B - Select boot.ini = [b_ini\XP_Setup_boot.ini]

W - Select winnt.sif = [w_sif\Current_winnt.sif]

M - Select $OEM$ Folder = [$OEM$_UserXP]

E - Edit UserData Setup = [Unattended] UserName = [UserXP]

Q) Quit R) Recovery Console [NO] S) SYSLINUX Menu [NO]

Enter your choice: 3

***** Please give first valid Target USB-Drive Letter *****

Press any key to continue . . .
Select XP Setup Source and USB-Drive Target, Then 3 = Make MultiBoot USB-Drive

0) Change Drive Type, USB-stick OR USB-Harddisk, currently [USB-stick]

1) Give XP Setup Source Path = [I:\temp\XP\redist]

2) Give USB-Drive Target, currently [] X) Copy LANG / WIN98X [NO]

3) Make MultiBoot and Copy Sources to USB-Drive F) LogFile [Simple]

C) Add USB Content Source, now [X_CONTENT]
P) Add BartPE Source, currently []
V) Add Vista Setup, currently []

B - Select boot.ini = [b_ini\XP_Setup_boot.ini]

W - Select winnt.sif = [w_sif\Current_winnt.sif]

M - Select $OEM$ Folder = [$OEM$_UserXP]

E - Edit UserData Setup = [Unattended] UserName = [UserXP]

Q) Quit R) Recovery Console [NO] S) SYSLINUX Menu [NO]

Enter your choice: 2

FAT FAT32 NTFS DriveList =

Select Target USB-Drive from DriveList


***** K: has NOT FAT FAT32 or NTFS Format and is NOT Valid *****

Press any key to continue . . .


but...

C:\Programs\tools\sysinternals>ntfsinfo.exe K:

NTFS Information Dump V1.01
Copyright © 1997 Mark Russinovich
http://www.sysinternals.com

Volume Size
-----------
Volume size : 3855 MB
Total sectors : 7897023
Total clusters : 987127
Free clusters : 976136
Free space : 3813 MB (98% of drive

Allocation Size
----------------
Bytes per sector : 512
Bytes per cluster : 4096
Bytes per MFT record : 1024
Clusters per MFT record: 0

MFT Information
---------------
MFT size : 0 MB (0% of drive)
MFT start cluster : 262144
MFT zone clusters : 262144 - 313376
MFT zone size : 200 MB (5% of drive)
MFT mirror start : 493563

Meta-Data files
---------------

C:\Programs\tools\sysinternals>


WTH?!

VistaSP2.

#67 wimb

wimb

    Platinum Member

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

Posted 20 September 2010 - 08:15 AM

VistaSP2.

USB_MultiBoot.cmd is Vista Compatible, but requires User Account Control OFF.

Let me know if this solves your problem.
Otherwise it might be that C:\WINDOWS\system32\fsutil.exe is missing

http://www.msfn.org/...post__p__834692

#68 Digika

Digika
  • Members
  • 3 posts

Posted 20 September 2010 - 09:04 AM

Well, I decided to use usb_prep8 + bootsect, so, can't tell if your advice helps in this case.

#69 wimb

wimb

    Platinum Member

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

Posted 20 September 2010 - 10:38 AM

Well, I decided to use usb_prep8 + bootsect, so, can't tell if your advice helps in this case.

usb_prep8 is outdated. Use USB_MultiBoot_10.cmd and Vista UAC = off

#70 Digika

Digika
  • Members
  • 3 posts

Posted 20 September 2010 - 04:09 PM

Dunno if it's outdated or not, but it worked just fine without any issues :cheers:

#71 sb225

sb225
  • Members
  • 7 posts
  •  
    India

Posted 08 October 2010 - 03:12 AM

hello wimb
I am getting hall.dll error

The error can be due to a Hidden First Partition (case of HP Computer) so that you Install on partition(2)

yes their is one more partition in my lenovo laptop which is used to system restore.I did not farmatted this partition because i want to install all drivers etc.
I tried changing in boot.ini but no success and i may think i am missing here in boot.ini.

here is my boot.ini which i changed

[Boot Loader]
Timeout=10
Default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[Operating Systems]
C:\btsec\XPSTP.bs="1. Begin TXT Mode Setup Windows XP, Never unplug USB-Drive Until Logon"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="2. and 3. Continue with GUI Mode Setup Windows XP + Start XP from HD 1" /FASTDETECT
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="2. and 3. Continue with GUI Mode Setup Windows XP + Start XP from HD 1" /FASTDETECT
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="2. and 3. Continue with GUI Mode Setup Windows XP + Start XP from HD 1" /FASTDETECT
multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="2. and 3. Continue with GUI Mode Setup Windows XP + Start XP from HD 1" /FASTDETECT
multi(0)disk(0)rdisk(1)partition(3)\WINDOWS="2. and 3. Continue with GUI Mode Setup Windows XP + Start XP from HD 1" /FASTDETECT
multi(0)disk(0)rdisk(2)partition(2)\WINDOWS="Continue GUI Setup + Start XP from HD 2, use if installing on HD2" /FASTDETECT
c:\grldr="4. Start GRUB4DOS Menu - DOS FPY IMAGES + Linux + XP Rec Cons + Vista"
C:\btsec\XATSP.bs="Attended Setup XP, Never unplug USB-Drive Until After Logon"



#72 wimb

wimb

    Platinum Member

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

Posted 08 October 2010 - 06:35 AM

If you Install XP on partition 2 then try to use

[Boot Loader]

Timeout=10

Default=multi(0)disk(0)rdisk(1)partition(2)\WINDOWS

[Operating Systems]

C:\btsec\XPSTP.bs="1. Begin TXT Mode Setup Windows XP, Never unplug USB-Drive Until Logon"

multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="2. and 3. Continue with GUI Setup XP Partition 2 + Start XP - HD 1" /FASTDETECT

c:\grldr="4. Start GRUB4DOS Menu - DOS FPY IMAGES + Linux + XP Rec Cons + Vista"

Partition Numbering starts with 1
Harddisk Numbering starts with 0
On booting from USB-stick it will count in the arcpath as rdisk(0) and your Internal Harddisk will then normally be rdisk(1)

#73 sb225

sb225
  • Members
  • 7 posts
  •  
    India

Posted 09 October 2010 - 04:29 PM

If you Install XP on partition 2 then try to use

[Boot Loader]

Timeout=10

Default=multi(0)disk(0)rdisk(1)partition(2)\WINDOWS

[Operating Systems]

C:\btsec\XPSTP.bs="1. Begin TXT Mode Setup Windows XP, Never unplug USB-Drive Until Logon"

multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="2. and 3. Continue with GUI Setup XP Partition 2 + Start XP - HD 1" /FASTDETECT

c:\grldr="4. Start GRUB4DOS Menu - DOS FPY IMAGES + Linux + XP Rec Cons + Vista"

Partition Numbering starts with 1
Harddisk Numbering starts with 0
On booting from USB-stick it will count in the arcpath as rdisk(0) and your Internal Harddisk will then normally be rdisk(1)

I tried this and id did not worked however i changed the values but i have blindly gone for the grub4dos option and it continued to install widows
this below i used ib boot.ini

[Boot Loader]
Timeout=10
Default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[Operating Systems]
C:\btsec\XPSTP.bs="1. Begin TXT Mode Setup Windows XP, Never unplug USB-Drive Until Logon"
multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="2. and 3. Continue with GUI Setup XP Partition 2 + Start XP - HD 1" /FASTDETECT
c:\grldr="4. Start GRUB4DOS Menu - DOS FPY IMAGES + Linux + XP Rec Cons + Vista"

after installation i seen the boot.ini on my laptop is different

[Boot Loader]
timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect

Ill continue to install drivers and finish it but later i need to install xp again

Here what i seen when i choosed grub4dos it tried to install in usb too
Now my usb drive is gone as D drive
and my hard drive 2nd or 3rd partiotion gone f drive while cd rom is E drive
Let me know where i went wrong as far as i believe it is only in boot.ini

Regards
Suresh

#74 Balage911

Balage911
  • Members
  • 2 posts
  •  
    Hungary

Posted 17 January 2011 - 12:30 PM

HY!

Thanks for your guide, it's very clear, and i was able to do a bootable usb-stick with win xp.

But i have some problem: When I start to quick format the HDD (ntsf) After that I got the following message:
(I trie to translate it correctly)

Used by the installer in the .SIF file is damaged, or missing
the following value:

Value: 0: [SourceDiksFiles ] section in the row
"binifix4.cmd" key

The installation couldn't be continued. For quit press F3.

(I have tried your method, another with bootsect, but the problem was always the same. I have an original win-xp with nlited with sata driver for my dell inspiron mini 1012. I tried to use the installer in a pc with cd rom both the original and the nlited(burnt to a Cd) and both of them worked!)

Please give me some help!

#75 Balage911

Balage911
  • Members
  • 2 posts
  •  
    Hungary

Posted 17 January 2011 - 01:57 PM

HY!

Thanks for your guide, it's very clear, and i was able to do a bootable usb-stick with win xp.

But i have some problem: When I start to quick format the HDD (ntsf) After that I got the following message:
(I trie to translate it correctly)

Used by the installer in the .SIF file is damaged, or missing
the following value:

Value: 0: [SourceDiksFiles ] section in the row
"binifix4.cmd" key

The installation couldn't be continued. For quit press F3.

(I have tried your method, another with bootsect, but the problem was always the same. I have an original win-xp with nlited with sata driver for my dell inspiron mini 1012. I tried to use the installer in a pc with cd rom both the original and the nlited(burnt to a Cd) and both of them worked!)

Please give me some help!


I have found the answer:
This is only problem for Windows XP without the service pack!
The answer is here:
http://www.msfn.org/...em-in-txtsetup/





Also tagged with one or more of these keywords: tutorial

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users