I broke it! How can I fix it?
Tony Alfrey
tonyalfrey
Mon Oct 1 17:51:58 PDT 2007
C M Reinehr wrote:
> On Friday 28 September 2007 14:08, Tony Alfrey wrote:
<snip>
>> Can you please explain this? How does one duplicate this - some blocks
>> on a hard drive - without a file name? How does one know which blocks
>> contain the MBR?
>> Thanks
>
> Sorry for the delay. I had a hard drive go bad Friday afternoon & I've just
> now gotten back up & running. As Lonni & others have pointed out, it's not
> difficult. If you really want to have some fun, check out sfdisk.
>
> Cheers!
>
> cmr
sfdisk looks very much the same as fdisk or other partitioning tool; am
I missing some additional functionality that helps to copy the boot sector?
The use of dd works as Lonni described; I was unfamiliar with using it
to copy blocks (as opposed to a file name) and did not know that
/dev/sda would point to the actual beginning of the drive. I guess in
retrospect that should be obvious.
--
Tony Alfrey
tonyalfrey at earthlink.net
"I'd Rather Be Sailing"
More information about the Linux-users
mailing list