On Tuesday 31 July 2007 11:17:32 pm Michael J McCafferty wrote:
> All,
>       I have a customer who has a lot of time invested in configuring his
> system and is ready to put it in to production. However, we are getting
> some disk errors on occasion and it's tough to trust it for the long
> haul. What is the hot ticket for putting the exact same thing on another
> drive. It's easy to have another identical server sitting next to it at
> the same time, or put an identical disk in the same system to copy stuff
> over.
>
>       I am sure I could spend the time to do dd and fdisk, etc, but dumb it
> down and speed it up for me. :o)  Hmm... can I put a second disk in the
> system and do a dd if=/dev/hda of=/dev/hdb and will that get the boot
> sectors, etc ? Is it that simple ?

Backup MBR 

#dd if=/dev/hda of=/dev/hdb count=1 bs=51

and I believe you need to run fdisk on /dev/hdb and w the changes - I do at 
anyrate..

C.










>
>
> --
> ************************************************************
> Michael J. McCafferty
> Principal, Security Engineer
> M5 Hosting
> http://www.m5hosting.com
>
> You can have your own custom Dedicated Server up and running today !
> RedHat Enterprise, CentOS, Fedora, Debian, OpenBSD, FreeBSD, and more
> ************************************************************



-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to