Using DD ...
Hi Guys,
I have made a dual boot Windows/Linux setup that has works just fine. These are production level systems that are cloned and send to clients on a large scale.
The Windows boot.ini boots a file called linux.bin to boot the Linux partition. When I clone the drive (using commercial cloning hardware), if the target drive geometry is different the Linux partition becomes unbootable. When this happens, I have to use dd (dd if-/dev/hda3 of=/tmp/linux.bin bs=1 count=512) to create a new linux.bin file, then I copy it back over to the Windows partition so boot.ini can boot this file.
Although I have automated this via a boot disc, it would make everyones life easier if I could do this through windows.
So my question is:
Is there any Windows software than can do this? All I really need to is to take the first 512 bytes off partition 4 and save this to a file.
Thanks,
Adam
|