Jump to content











Photo

Install xp from HD, just like from CD


  • Please log in to reply
3 replies to this topic

#1 xiaoma

xiaoma
  • Members
  • 9 posts
  •  
    China

Posted 11 June 2009 - 09:04 AM

Hello,

I'm going to install xp on a notebook without cd, I find a very easy way to do it, same as install from a xp setup_cd.

Here is:

1. Boot system with LiveXP from USB, flash disk or any else

2. Partition your disk, make sure your C is actived and format with NTFS

3. Copy i386 from USB(grab from your setup CD) to c:\, rename c:\i386 to c:\$win_nt$.~bt

4. Copy c:\$win_nt$.~bt\setupldr.bin to c:\, rename c:\setupldr.bin to c:\ntldr, if you format c: with compression like me usually done, decompressed c:\ntldr

5. Copy c:\$win_nt$.~bt\ntdetect.com to c:\

6. Copy c:\$win_nt$.~bt\txtsetup.sif to c:\

7. Make c:\i386 as a hardlink of c:\$win_nt$.~bt with "junction.exe" (a tool from SysInternals), command line:
junction c:\i386 c:\$win_nt$.~bt

8. Modify c:\$win_nt$.~bt\winnt.sif if exist
[Data]
floppyless=1
msdosinitiated=0
[SetupData]
SetupSourcePath="\"
SetupSourceDevice=\device\harddiskXX\partitionYY

XX, YY based on your disk partition, if C is 1st disk and 1st partition, then XX=0, YY=1

9. Reboot from hard disk, and setup will begin...

10. After setup, delete hardlink - c:\i386, command line:
junction -d c:\i386
Then you can delete c:\txtsetup.sif and c:\$win_nt$.~bt to make disk clean, or rename c:\$win_nt$.~bt to c:\i386 as a bak.

That's all, I have tested in a VM machine. And I used a 32bit-nlite-enu-vlk-XP.

The benefit of this way is:
You can install XP based on your custom cd(I think most have one), no need change, same as install from cd.(For me, with my 150M enu_nlite_XP, after setup, the regional and language are auto setted to chinese, not like install with winnt.exe from dos or winnt32.exe from PE, the regional always set to enu in unattended mode)

#2 wimb

wimb

    Platinum Member

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

Posted 11 June 2009 - 09:53 AM

After booting with LiveXP you can simply use USB_XP_Setup.exe
to prepare your Harddisk for Install of XP.
You can use an XP Setup Source from any location without making any changes.
http://www.boot-land...?showtopic=5306

Or alternatively WinNTSetup.exe
http://www.boot-land...?showtopic=7721

The method that you use is similar to the one given by aviv00 Method 2
http://www.msfn.org/...howtopic=130689

#3 flyhigh427

flyhigh427

    Member

  • Members
  • 47 posts
  •  
    United States

Posted 01 December 2009 - 07:54 AM

why do we rename to $win_nt$.~bt?
thanks

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 01 December 2009 - 08:40 AM

why do we rename to $win_nt$.~bt?
thanks

Because it is the "hardcoded" path in SETUPLDR.BIN for installing.

When you normally install using WINNT32 the folders $WIN_NT$.~BT and $WIN_NT$.~LS are created, first one is the actual "boot" folder.

Besides the thread by aviv00 already linked to, check here:
http://www.msfn.org/...s-usb-f157.html
search for posts by Victor888
and check also the good ol' flyakite multiboot guide:
http://flyakite.msfn.org/


:clap:

jaclaz




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users