cdob, on May 30 2007, 10:30 AM, said:
Can you backup a possible existand boot.ini?
Idea, not tested:
copy %SYSTEMDRIVE%\boot.ini %SYSTEMDRIVE%\boot.%date%.ini /y
xcopy %USBDRIVE%\bootfiles\*.* %SYSTEMDRIVE%\ /y /h /r /k
Should work just fine.
cdob, on May 30 2007, 10:30 AM, said:
And can you create boot.ini dynamically?
Not a fixed \WINDOWS, extract foldername from %SystemRoot% ?
I spent a lot of time searching for a tool, which creates or amends properly BOOT.INI during GUI part with the correct entries, in order to avoid the brute-force way of copying generic one. Had no luck, BOOTFIX doesn't work during GUI part the way it does in Recovery Console, it works the way as in full XP environment. Couldn't find any other suitable tool for the purpose and ended up copying it from stick.
If you can get the windows directory and apply it to the generic boot.ini it would make the guide more universal. Actually ATM only boot.ini creation differs the last guide from normal setup.
Your ideas about mapping setup floppies via GRUB is nice, hopefully this can be done.
cdob, on May 30 2007, 10:30 AM, said:
Thanks for tip

----------------
jaclaz, on May 31 2007, 05:36 PM, said:
Here is what I have found:....
Perfect as usual
Stick was formated by PEtoUSB - MBR_USB_Before.dat
Later rewritten by TEXT mode setup- MBR_USB_After.dat, leaving some files unreadable and stick no longer bootable. If I format the same stick from XP with FAT16 or 32 I cannot boot from it.
jaclaz, on May 31 2007, 05:36 PM, said:
If you get Roadkil's Disk Image:
http://www.roadkil.net/DiskImg.html
and make an image of the stick, you will most probably find that the image has a size of 2,046,788,096 bytes, i.e. 3997633+63=3997696 sectors x 512 bytes/sector.
If you find another size, I would like to know it.
2,046,820,352 bytes, formated by PEtoUSB as before. The only difference is that ATM I am using Hitachi microfiter driver to keep it as fixed, thus allowing me quickly to image it with Acronis TI. May be that's why it differs form your calculations?
BTW Roadkil's Disk Image v1.1 always gives me "image creation failed" with all USB sticks I have, formated by various tools, most of the time I can see progress going beyond 100%, i.e. 102, 105 and I completely stopped using it as a backup solution.
jaclaz, on May 31 2007, 05:36 PM, said:
Just as a reminder, cdob's MkMigratgeInf.cmd (GOOD work) needs (of course) to be run from within a 2K/XP/2003 system. Even if I have NO idea why it could become useful, the data to build MIGRATE.INF.TXT can be found in the MBR of the stick, see here:
http://www.911cd.net...showtopic=19663 This would be nice, but is it necessary since all of the preparation is done in 2K/XP/2003 system anyway?
jaclaz, on May 31 2007, 05:36 PM, said:
If I get it right, with this latest one, since there is no drive "exchange" grub4dos is only needed to chainload setupldr.bin.
Yep, if we find a way to invoke setupldr.bin directly from BOOT.INI GRUB will be no longer needed. At the moment if it is called, result was restart as far as I remember, because stick at that time is initialized as hd1, perhaps newer or HEX edited versions of these files will avoid it, but that's beyond my capabilities.
I don't think patching MBR will be of any use at this stage, it should be setupldr.bin or ntdetect.com which cause that reboot. I will redo the tests and will report what may be causing reboots later.
jaclaz, on May 31 2007, 05:36 PM, said:
Also, I am not sure I have fully (or correctly) understood the need for multiple BOOT.INI entries, pointing to rdisk(0) and rdisk(1) and to partitions 1, 2 and three on them.
I am sure we can find a way to generate on-the-spot a correct BOOT.INI.
For the record, BOOT.INI has no need to be marked as System, Hidden, Read Only.
jaclaz
The idea for multiple entries was to have as much universal BOOT.INI as possible, for example if one installs on different than 1st HD 1st partition. If it can be properly created that would be nice

The files are meant to be hidden and system exactly as a normal install will make them. There is no need to make them such, but it's good idea to have them, if installing it for non- technical users, which like to delete anything what they don't like or find strange, lets stay on the safe side
BTW on Dell Dimension E520 with Intel P965/G965 MB I had BSOD 7B when starting XP SP2 Setup from the same stick, right after loading drivers and showing "windows is starting". Plugging stick in diff. front/rear ports made no difference.
The fix was to use Dietmar's modified NTDETECT.COM, no more BSODs. Bart PE, based again on XP SP2 was giving the same 7B, and a full XP on another stick was freezing before loading shell. Modified file fixed them all.