public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] duplicate HD drives
Date: Sat, 13 Sep 2014 08:53:49 +0200	[thread overview]
Message-ID: <1908508.PEO1Yl2WpA@andromeda> (raw)
In-Reply-To: <20140913031741.GB13628@syscon7>


On Friday, September 12, 2014 09:17:41 PM Joseph wrote:
> 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.
> 
> 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

Grub2 can work with older style BIOS and MBR partitioning.
I believe the issues you were facing was caused by the partitioning you were 
trying.

But even with legacy grub, the steps are, mostly, the same.

Check the Gentoo documentation for RAID+LVM installs and if you only want to 
use RAID, ignore the LVM steps.

--
Joost


  reply	other threads:[~2014-09-13  6:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12 21:53 [gentoo-user] duplicate HD drives Joseph
2014-09-12 22:05 ` Alexander Puchmayr
2014-09-12 22:18 ` Ivan Viso Altamirano
2014-09-12 22:19   ` Ivan Viso Altamirano
2014-09-12 22:52 ` Neil Bothwick
2014-09-13  3:17   ` Joseph
2014-09-13  6:53     ` J. Roeleveld [this message]
2014-09-13  7:07     ` Kerin Millar
2014-09-13 16:31       ` Joseph
2014-09-13 16:45         ` Alan McKinnon
2014-09-13 18:01           ` Kerin Millar
2014-09-13 17:41     ` [gentoo-user] " James
2014-09-13 17:38   ` [gentoo-user] " Neil Bothwick
2014-09-13 18:56     ` Alan McKinnon
2014-09-13 19:01       ` Neil Bothwick
2014-09-13 19:12       ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1908508.PEO1Yl2WpA@andromeda \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox