Mail Archives: djgpp/1997/02/14/09:43:56
SerDevian wrote:
>
> Liam wrote:
> > Can some one tell me where I will find a program that will
> > write a boot sector to a disk?
>
> You can use "rawrite.exe" that comes with Linux.
> Check simtelnet somewhere for it. Or, if you have a unix system
> somewhere, just "cat file > /dev/fdo". I think that will get the boot
> sector... :)
>
> -- Yamaha / XYZZ "May farce the with be you."
I've uses rawrite under dos before and it messes up the fat on
a dos disk. (I think it writes a few tomany bytes)
But it could just be the ver I had.
This is only a problem if your boot-stap is ment to find a file
on the disk using the fat table.
I wrote a util that works for me www.cris.com/~mhewii/sysa.exe
I made it for me so it might not have a ~help, and if it kills
something its not my fault (but it works fo me)
usage: sysa filename it copys filename to the boot sector
of your A: drive, it assumes its a 3.5 1.44Mb.
For best use preformat the disk with: format a: /b
this will make sure there is nothing in the boot sector to start
with. Also if your strap doesnt have a valid BPB dos wont like it.
Hope this helps!
--
Mark & Candice http://www.cris.com/~mhewii
[frames] /|\ \|/[no frames]
MHEWII AT CRIS DOT COM http://www.cris.com/~mhewii/buttons.html
- Raw text -