MSFN Forum: how to move XATSP and XPSTP to other directory - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to move XATSP and XPSTP to other directory chang setupldr location

#1 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 07 March 2009 - 09:35 PM

Usbmuitiboot_10 is good.

But it leave many files on the root of USB drives. I want to make the root clean so I successfully hex edit NTLDR and put boot.ini to a directory named WXPE. Also I hex edit GRLDR and put menu.lst in WXPE too.

I want to move the setup loader XATSP and XPSTP to WXPE too, but failed to hex edit XATSP.bs and XPSTP.bs. I just revised string "XATSP" and "XPSTP"in file XATSP.bs and XATSP.bs to \WXPE\XATSP and to \WXPE\XATSP respectively.

I want to move NTDETECT.COM to WXPE directory too, failed too.

Thanks to any reply.


#2 User is online   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 08 March 2009 - 09:38 AM

There is a 5 Letter limit in NTFS Bootsector, where you can Replace N T L D R in X P S T P

The BootSector does NOT allow the kind of changes that you propose.

In order to have a Clean Root, you can make a folder e.g. DATA and put everything you want to see
and is NOT belonging to XP Setup in this folder DATA. Then on opening DATA your Root is clean.

#3 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 08 March 2009 - 09:59 AM

THANKS wimb.

That is if I use FAT32, I can put those files in a folder?

I move NTDETECT.COM to WXPE folder with name NTD.COM successfully.
I hope to move TXTSETUP.SIF to WXPE folder too.

#4 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 08 March 2009 - 01:39 PM

Use a current syslinux. Chainload setupldr.bin.

news said:

* chain.c32: option "ntldr=" as a shorthand for "seg=0x2000
file="; use this to load one of WinNT's loaders:

chain.c32 hd0 1 ntldr=/MiniNT/setupldr.bin

Or use grub4dos and chainload setupldr.bin.

View Postvictor888, on Mar 8 2009, 09:59 AM, said:

I move NTDETECT.COM to WXPE folder with name NTD.COM successfully.
I hope to move TXTSETUP.SIF to WXPE folder too.
Change setupldr.bin: TXTSETUP.SIF to WXPE\XP.SIF

#5 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 08 March 2009 - 11:47 PM

thanks to cdob.

I just revised the first found txtsetup.sif to \WXPE\xp.sif, that is OK!

I know if I use grub4dos, only single file GRLDR left on the root, if I use syslinux, no file left on the root directory.
==

I am still thinking of changing bootsecter file to change NT LOADER position.
For NTFS's bootsecter is 8K and for the 5 letters limit you can't change it.
For FAT32's bootsecter is 1K and the its last string is XPSTP, and I think it is possible to revise it to \WX\U, thus I can put setup loader XPSTP to WX folder.

#6 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,433
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 11 March 2009 - 02:38 PM

View Postvictor888, on Mar 9 2009, 06:47 AM, said:

For NTFS's bootsecter is 8K and for the 5 letters limit you can't change it.

Let's say that no one yet managed to find a way to Fix it, Vista bootsector has BOOTMGR, which is 7.

View Postvictor888, on Mar 9 2009, 06:47 AM, said:

For FAT32's bootsecter is 1K and the its last string is XPSTP, and I think it is possible to revise it to \WX\U, thus I can put setup loader XPSTP to WX folder.


FAT32's bootsector was 512 bytes, last time I looked at it. :w00t:

There is space in it for a "full" 8+3 name, but I don't think that it will ever be able to"traverse" directories.

If you use grldr.mbr as the MBR, grub4dos grldr and menu.lst can be on ANY partition, even a hidden one.

jaclaz

#7 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 11 March 2009 - 08:33 PM

For fat32 I sure to put boot loader to other directory. Howere I do not want to try, because I found best way to solve the problem.

Grldr.mbr as the single MBR and use grldr to install xp. All the necessary files are all in the abnormal directory which can't be deleted under windows by normal delete.

I have succeeded!

If you have interest I will give more details.

Thanks to anyone here.

#8 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,433
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 12 March 2009 - 02:22 AM

View Postvictor888, on Mar 12 2009, 03:33 AM, said:

I have succeeded!

If you have interest I will give more details.


You can BET we are interested :thumbup , heck this is our hobby :wacko: !

We are craving for new ideas/methods/ways. B)

In exchange for your report, I will give you this link ;):
http://www.boot-land...?showtopic=7138

I am sure you will be interested in that approach. :)

jaclaz

#9 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 12 March 2009 - 06:42 AM

:whistle:
In fact nothing special, I just combine all know methods together, now descripe the key step.

Revise setupldr find and replace ntdetect.com to wxp~1\nd.com, txtsetup.sif to wxp~1\ts.sif and bootfont.bin to wxp~1\ft.bin.

Revise grldr find and replace menu.lst to wxp~1\me.

Revise setupldr.bin and setupdd.sys rename $WIN_NT$.~LS and $WIN_NT$.~BT to $WINLS~1 and $WINBT~1 respectively.

For starting windows for the first time from flash disk,
Put ntldr to wxpe folder too, revise it, find and replace ntdetect.com to wxp~1\nd.com and boot.ini to wxp~1\b.i For this step, I think I have found a good way, no need to use binifix4.cmd, ntldr and boot.ini, just use grldr's dd command to revise boot.ini on the hard disk.

For renaming normal directory to abnormal directory, use Smallfrogs Studio soft rename.exe.

That is all.

#10 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,433
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 12 March 2009 - 07:19 AM

Nice. :)

I am not sure to have understood if you are using somehow the "short names" or "~1" can be "anything". :unsure:

Can you post a "dirtectory tree" of your setup, so that it is clearer?

jaclaz

#11 User is offline   victor888 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 20-October 04

Posted 12 March 2009 - 07:58 AM

For example:

To rename WXPE to abnormal WXP. under windows, open winrar browse to the flash disk and rename WXPE folder to WXP..\

Just this way banormal direcotry wxp. formed. The directory can be accessed by WIN+R wxp~1.

The following pic.

udata. is perseronal data folder.
utool. is software folder
wxp. is short file folder such as me, nd.com, ts.sif etc.
link is normal folder which contains .lnk file which can be opened to access abnomal folder.
the other two folders are winxp setup folders.

Attached File(s)


This post has been edited by victor888: 12 March 2009 - 08:03 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy