All of lore.kernel.org
 help / color / mirror / Atom feed
From: Friedrich Lobenstock <fl@fl.priv.at>
To: Linux RAID Mailing Liste <linux-raid@vger.kernel.org>
Subject: Re: Raid1 and mdadm
Date: Mon, 31 Mar 2003 13:34:44 +0200	[thread overview]
Message-ID: <3E8827D4.2060600@fl.priv.at> (raw)
In-Reply-To: <005e01c2f631$c5de3620$6b7ba8c0@max>

Max Booker wrote:
> 
> GRUB boot loader
> 
>     hda1    /boot
>     hda2    /
>     hda3    swap
> 
>     hdd1    (intended) mirror partition of  /
> 
> I can create the (degraded) array on hdd1, mkfs on /dev/md0, mount /dev/md0
> as /mnt, copy / to /mnt, and edit /mnt/etc/fstab.
> 
> Everything works well up to the point where I reboot, with kernel parameters
> (md=0,/dev/hdd1 root=/dev/md0). This is where the kernel panics.
> 
> I think that I have not edited fstab properly, or GRUB is getting in the
> way, or maybe it is not possible to add hda2 to the array because it already
> has a filesystem on it.... How do I get hda2 to be part of the Raid array?
> Nothing attempted so far has made any impression on the fact that mdadm
> insists that /dev/hda2 is not an md component.
> 

As far as I know you have to use LILO instead of GRUB to boot
from a root raid. Take care that raid1 is compiled into the kernel.

-- 
MfG / Regards
Friedrich Lobenstock


  parent reply	other threads:[~2003-03-31 11:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-29 20:28 Raid1 and mdadm Max Booker
2003-03-29 21:54 ` Mads Peter Bach
2003-03-31 11:34 ` Friedrich Lobenstock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-31 13:33 Sarcar, Shourya C (MED)
2003-03-31 17:22 Cress, Andrew R
2003-04-01 16:07 ` Paul Clements
2003-04-01 23:08   ` Neil Brown
2003-04-02 20:22     ` Paul Clements
2003-04-02 20:34       ` Paul Clements
2003-04-01 16:43 Cress, Andrew R

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=3E8827D4.2060600@fl.priv.at \
    --to=fl@fl.priv.at \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.