On 09/12/14 23:52, Neil Bothwick wrote:
On Fri, 12 Sep 2014 15:53:19 -0600, Joseph wrote:

I have two identical HD in a box and want to duplicate sda to sdb
I want sdb to be bootable just in case something happens to sda so I
can swap the drives and boot.

Do I boot from USB and run:
dd if=/dev/sda of=/dev/sdb bs=512 count=1

If you remove the cunt argument as already mentioned, this will copy the
whole drive, but it will be incredibly slow unless you add bs=4k. It also
only copies it once, as soon as you start using sda, sdb will be out of
date. Set up a RAID-1 array with the two drives, then install GRUB to the
boot sector of each drive, using grub2-install and you will always be
able to boot in the event of a failure of either drive.


--
Neil Bothwick

I'll be interested in setting up RAID-1. Is it hard?
I've never done it and I know there is plenty of information on line about 
RAID-1

I'm not going to grub2 anytime soon.  This machine has BIOS and the HD has MBR 
partition.
With recent problem I had with my other older box (that has BIOS) and grub2 I'm 
not going to play with it.

Is it hard to set it UP RAID-1

--
Joseph

Reply via email to