On Fri, 6 Feb 2004 15:25:30 -0500, Martin Bogomolni wrote:
Not too long ago I saw a boot32ea.asm, boot32lb.asm, and boot32.asm. I have all three compiled now, and have to solve the following problem:
1) Boot a FreeDOS partition at the end of a hard disk past cyl 1024 (a 30 Gig harddisk .. cyl 3600-3708 is the FreeDOS partition)
2) The partition has to have a FAT32 filesystem to accomodate 2Gb files.
How do I replace the boot loader at the top of the volume .. does SYS.COM have some sort of hidden switch to allow me to swap out one boot32.bin for another?
If you want to replace the boot record of your FAT32 partition, you can use SYS for that. It contains all these boot sectors in itself, and not only replaces the original boot record code with the code of one of them (in our case, this will be boot32lb), but also writes (and even checks and fixes since version 3.1) the boot record data area. Of course all this can be done "by hand" (with DISKEDIT, etc) too, but why would you want to do that when you have the SYS utility?!
If you talk about replacing the master boot record, it's FDISK's job. Note that the master boot record must support LBA in order to reach the partition boot record which will be so far away ;-)
Hope this answers your question. By the way, the author of the boot32lb (formerly boot32ea) boot sector code is Eric Auer (hence the letters EA in its old name ;-) so he may want to help you further.
Please direct your next posts to the mailing list, not to me. (I subscribe there too, so I will read them too, of course.)
Lucho
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
