Eric Auer schreef:
It ends with 55 aa, and even then, you know nothing about whether it contains a WORKING boot program. The MBR contains TWO things: The boot program and the partition data. FDISK had the VERY stupid function to delete BOTH and replace them with a fresh copy if the 55 aa was missing or if there was a disk read error. The latter reproduceably killed several PCs.
replace on disk error is dangerous, replace-on-missing AA55 is something FDISK can ask the user in interactive mode, or batchfile can do FDISK /MBR.
What does the MBR of an empty harddisk look like? any dump program for saving it to floppy?
Whatever. Just use FDISK /MBR *only* in a manual way. Tell the user that he can use it if he installed DOS on a machine which NEVER booted any other OS before, and he experiences that just nothing happens at boot time, no message and stuff.
how to act on fresh *empty* disks? it should result in an MBR created as it's necessary for booting the computer.
Eric
Bernd ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user