From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B5C2F1387FD for ; Sat, 13 Sep 2014 03:17:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F9A3E083E; Sat, 13 Sep 2014 03:17:32 +0000 (UTC) Received: from mail119c7.megamailservers.com (mail104c7-2520.megamailservers.com [69.49.98.20]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C99FE0804 for ; Sat, 13 Sep 2014 03:17:29 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail119c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s8D3HRgb023554 for ; Fri, 12 Sep 2014 23:17:28 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id F32C5200280; Fri, 12 Sep 2014 21:17:41 -0600 (MDT) Date: Fri, 12 Sep 2014 21:17:41 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] duplicate HD drives Message-ID: <20140913031741.GB13628@syscon7> References: <20140912215319.GA13628@syscon7> <20140912235257.1b7d0e18@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <20140912235257.1b7d0e18@digimed.co.uk> User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A02020A.5413B749.002F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=b+2LvL2x c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=rWIcnMqyzOcA:10 a=WOchFZyYGvYA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=MGgEWxfVdk2KwHcf7u8A:9 a=wPNLvfGTeEIA:10 X-Origin-Country: CA X-Archives-Salt: 092d58ba-a204-43ce-aa7d-8fba8cfcfa6a X-Archives-Hash: e4b41904ca69f32872f9ba5d29c832ca 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