Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
hello guys now i want to test my code in real hardware so i want to use my USB stick to copy my bootlader now what command should i use normal we use this
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Just plain "cp boot.bin /dev/sd#" will probably work (where the '#' needs to be replaced by whatever the USB device is, and better not be wrong or you could trash a hard drive or some other device's MBR).
The correct way is to use the "dd" utility though, which allows you to copy blocks (and ensure padding, etc).
As an alternative, you might be able to find some sort of utility for doing it on Windows - for an example dd for windows might work.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
You should boot under plain dos and use partcopy from there.
Windows is propably blocking partcopy's operations. I have had similar
problems with partcopy.