linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: Booting from a raid1 device ?
Date: Fri, 31 Oct 2003 09:28:42 +0100	[thread overview]
Message-ID: <20031031082841.GB26757@percy.comedia.it> (raw)
In-Reply-To: <3FA06158.9040007@tls.msk.ru>

On Thu, Oct 30, 2003 at 03:54:48AM +0300, Michael Tokarev wrote:
>  why the hell a boot loader should "mirror" anything to the second disk? :)
>
>That is.  Place standard MBR into the boot sector.  An MBR that will boot
>from active partition.  Be it e.g. /dev/hda and /dev/hdb.  Create raid1
>device from /dev/hda1 and /dev/hdb1.  Mark both partitions as active.
>And install whatever boot loader you want into /dev/md1 - it will be
>mirrored automatically to /dev/hda1 and /dev/hdb1 (and to whatever else
>disks you'll use).
1) are you really mirroring on the same ide controller?
2) whoever told you that the first 512 bytes of a partition are fair
game? lvm uses those, and IIRC xfs does too.

L.
Btw i recall reading somewhere that grub actually modifies the disk it
is booting from if luser wants to change the kernel command line.
I dunno if it is true or not, and i am too lazy to read the source. Can
anyone confirm or deny that?

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  parent reply	other threads:[~2003-10-31  8:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27 21:14 Booting from a raid1 device ? Cress, Andrew R
2003-10-30  0:54 ` Michael Tokarev
2003-10-30 10:00   ` Lars Marowsky-Bree
2003-10-31  8:28   ` Luca Berra [this message]
2003-10-31 17:40     ` Bill Rugolsky Jr.
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 15:22 Cress, Andrew R
2003-10-30 14:11 Cress, Andrew R
2003-10-30 14:26 ` Michael Tokarev
2003-10-29 15:50 Cress, Andrew R
2003-10-31 14:41 ` Eric Wood
2003-10-27 15:25 Don Jessup
2003-10-27 15:37 ` Gordon Henderson
2003-10-27 16:00 ` Paul Clements
2003-10-27 22:11   ` Hermann Himmelbauer
2003-10-27 23:02     ` maarten van den Berg
2003-10-28 10:56     ` Lars Marowsky-Bree
2003-10-28 16:23       ` Michael
2003-10-28 20:31       ` Sandro Dentella

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=20031031082841.GB26757@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).