how to move XATSP and XPSTP to other directory chang setupldr location
#1
Posted 07 March 2009 - 09:35 PM
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
Posted 08 March 2009 - 09:38 AM
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
Posted 08 March 2009 - 09:59 AM
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
Posted 08 March 2009 - 01:39 PM
news said:
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.
victor888, on Mar 8 2009, 09:59 AM, said:
I hope to move TXTSETUP.SIF to WXPE folder too.
#5
Posted 08 March 2009 - 11:47 PM
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
Posted 11 March 2009 - 02:38 PM
victor888, on Mar 9 2009, 06:47 AM, said:
Let's say that no one yet managed to find a way to Fix it, Vista bootsector has BOOTMGR, which is 7.
victor888, on Mar 9 2009, 06:47 AM, said:
FAT32's bootsector was 512 bytes, last time I looked at it.
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
Posted 11 March 2009 - 08:33 PM
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
Posted 12 March 2009 - 02:22 AM
victor888, on Mar 12 2009, 03:33 AM, said:
If you have interest I will give more details.
You can BET we are interested
We are craving for new ideas/methods/ways.
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
Posted 12 March 2009 - 06:42 AM
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
Posted 12 March 2009 - 07:19 AM
I am not sure to have understood if you are using somehow the "short names" or "~1" can be "anything".
Can you post a "dirtectory tree" of your setup, so that it is clearer?
jaclaz
#11
Posted 12 March 2009 - 07:58 AM
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)
-
uview.jpg (3.81K)
Number of downloads: 4
This post has been edited by victor888: 12 March 2009 - 08:03 AM



Help
Back to top









