Need Help using DD
Posted: Thu May 24, 2007 1:26 pm
Hi everyone!
I' making a Bootloader for a Real Mode OS, the Bootloader loads a binary file from the floppy just after the boot sector, the problem is that I'm using Linux now and can't use partcopy to do this (can I?):
pcopy boot.bin 0 200 -f0
pcopy file.bin 0 2200 -f0 200
How can I make that in dd? I know how to copy the bootloader:
dd if=boot.bin bs=512 of=/dev/fd0
but the second file?
Thank! I've search everywhere in this forum but didn't find anything, dd manual didn't really help me...
I' making a Bootloader for a Real Mode OS, the Bootloader loads a binary file from the floppy just after the boot sector, the problem is that I'm using Linux now and can't use partcopy to do this (can I?):
pcopy boot.bin 0 200 -f0
pcopy file.bin 0 2200 -f0 200
How can I make that in dd? I know how to copy the bootloader:
dd if=boot.bin bs=512 of=/dev/fd0
but the second file?
Thank! I've search everywhere in this forum but didn't find anything, dd manual didn't really help me...