>On 2002-02-21 10:18:36, Anonymous wrote:
>>On 2002-02-21 03:07:29, K.J. wrote:
>>Under Linux, how do I get my bootsector to a FAT12 floppy. I know how to do it with PartCopy under Windows. My guess is that I have to use DD under Linux.
>>
>>Thanks in advance,
>>K.J.
>I think it was "dd in=YourBootsector out=/dev/fd0", but I'm not sure!!!
Close, dude
I'm pretty sure it's
dd if=./bootSect of=/dev/fd0
if = input file
of = output file
However, you're probably gonna want to put a size
argument in there as well... it _might_ go
beyond your 512 bytes, unless you specifically
tell it not to.
Also, note that the size argument (I think it's
just size=x, but check the man page to be sure)
is based on block size, which, for a floppy device,
would no doubt be 512 bytes, so set size to 1,
not 512.
Jeff