Gerry Hickman schreef:
Perhaps the simple solution is to have a SYS command line switch, that allows the end-user to install a 512b boot sector of their choice to the target partition? This would get round any copyright issues and make it very flexible. I don't think this is possible with the current SYS 3.6 version (unless someone knows different).

Bootsectors contain geometry (disk/partition layout information) which can change. So this is all a matter of just copying bootsectors and omitting system files, it seems.

Try installing Windows, still get "dual boot" behaviour:(

OK, FD FORMAT + FD SYS.

Missing only 2 cases now:
*FD FORMAT, then restore MS bootsector
           ( first do SYS C: /DUMPBS A:\BACKUP.BIN )
           ( after format do:
             SYS C: /RESTORBS A:\BACKUP.BIN )
This gets you a FDOS filesystem but with MS bootsector

*MS FORMAT, then run SYS C: /BOOTONLY /OEM:MS
this gets you a MS filesystem but with FreeDOS bootsector

Test 2 - Mixed FreeDOS and MS-DOS (this works)
FDISK /delete /pri:2
FDISK /prio:2000
FDISK /activate /pri:2
<reboot into MS-DOS from floppy>
MS FORMAT c: (Note this is MS-DOS Format!)

this installs MS bootsector.

<reboot to newly created active primary as a test>
* Get "Non System Disk or disk error, replace and press any key when
ready" *
Try installing Windows, everything works perfectly

So there we are. For some reason /OEM:MS does not appear to perfectly mirror the use of MS-DOS FORMAT command.

Still 2 different cases tested by you:
*FD FORMAT + SYS C: /BOOTONLY /OEM:MS
*MS FORMAT (installs MS bootsector).

There's a small chance FD FORMAT creates a slightly different filesystem compared to MS FORMAT. Add to that the 2 different bootsectors, and that might explain things then.

I admire your testing efforts :)

Bernd



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to