victor888 Posted March 8, 2009 Posted March 8, 2009 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.
wimb Posted March 8, 2009 Posted March 8, 2009 There is a 5 Letter limit in NTFS Bootsector, where you can Replace N T L D R in X P S T PThe 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.
victor888 Posted March 8, 2009 Author Posted March 8, 2009 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.
cdob Posted March 8, 2009 Posted March 8, 2009 Use a current syslinux. Chainload setupldr.bin.* 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.binOr use grub4dos and chainload setupldr.bin.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
victor888 Posted March 9, 2009 Author Posted March 9, 2009 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.
jaclaz Posted March 11, 2009 Posted March 11, 2009 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.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. 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
victor888 Posted March 12, 2009 Author Posted March 12, 2009 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.
jaclaz Posted March 12, 2009 Posted March 12, 2009 I have succeeded!If you have interest I will give more details.You can BET we are interested , heck this is our hobby ! We are craving for new ideas/methods/ways. B) In exchange for your report, I will give you this link :http://www.boot-land.net/forums/index.php?showtopic=7138I am sure you will be interested in that approach. jaclaz
victor888 Posted March 12, 2009 Author Posted March 12, 2009 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.
jaclaz Posted March 12, 2009 Posted March 12, 2009 Nice. 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
victor888 Posted March 12, 2009 Author Posted March 12, 2009 (edited) 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 folderwxp. 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. Edited March 12, 2009 by victor888
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now