ilko_t said:
Well, you missed my post here:
http://www.msfn.org/board/index.php?showto...1384&st=218
And the batch I wrote:
http://www.boot-land...?showtopic=2362
it does EXACTLY that.
Allowed are ANY 8+3 names, so you can leave SETUPLDR.BIN as is without renaming it.
(You may notice the amount of feedback I received
About the arcpath, I am still thinking about it, the problem may lay with some "unorthodox" Partition tables, see these:
http://www.goodells....ot/editbini.htm
http://www.goodells....ot/notes.htm#10
Easiest would probably "assume" that one would use USB install just for installing XP on FIRST PRIMARY partition of FIRST harddisk, as it happens, say, in 99% of cases and operate a manual adjustement for the remaining 1% (like myself) that install to Logical Volumes inside Extended Partition or that install to a non first hard disk.
In this case the batch could ask user if he installed it to first active partition of first disk, and if answered yes write on BOOT.INI a line referencing multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
or otherwise write several lines like:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
multi(0)disk(0)rdisk(1)partition(2)\WINDOWS
multi(0)disk(0)rdisk(1)partition(3)\WINDOWS
multi(0)disk(0)rdisk(1)partition(4)\WINDOWS
multi(0)disk(0)rdisk(1)partition(5)\WINDOWS
Another idea would be to parse the existing boot.ini lines with:
multi(0)disk(0)rdisk(z)partition(w)\windir
get the rdisk(z) value and just subtract 1 from it, leaving al the rest as is.
What do you think of this last idea, it came to me just as I was writing this post, could it work?
If yes, I think I can jolt it down in batch quite easily.....
jaclaz



Help
This topic is locked
Back to top












