linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Cousins <steve.cousins@maine.edu>
To: Joe Landman <joe.landman@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: question on how to (correctly) build an initrd for a root disk on a RAID1
Date: Sun, 26 Oct 2008 23:22:40 -0400	[thread overview]
Message-ID: <49053400.5080704@maine.edu> (raw)
In-Reply-To: <9f5edc120810261937w339f2919p4f7ce82fbcaf2149@mail.gmail.com>

Joe Landman wrote:
> Hi folks:
>
>   We have been trying to build an operational initrd for a root drive
> on  software RAID1.
>
>   Basic specs:   2.6.23.14 kernel (though same issues with 2.6.27.2
> kernel), on Centos 5.2, pair of SATA drives using libata and other
> drivers, x86_64 architecture.
>
>   Using mkinitrd --with=raid1 --with=libata --with=sd_mod ...
>
>   I am getting a kernel panic on switchroot, it can't find the root
> file system.  

Hi Joe,

What does the "root=" kernel parameter look like in your grub.conf (are 
you using grub?)? Mine looks like root=/dev/md2. My md0 is the boot 
partition and md1 is swap. I know this is simplistic but I didn't find 
it in your message.

Steve

> I did some googling, but could not find a similar
> example.  Do I need to create a specialized init script?  Is there an
> example of this somewhere?  I did look at the Documentation/md.txt and
> tried the
>
>      md=0,sda1,sdb1 md=1,sda2,sdb2  md=2,sda3,sdb3
>
>   kernel boot time option, to no avail.  Persistent superblocks are
> on, and the devices have the right partition types.
>
>   Any suggestions?  More things to read?
>
>   Thanks in advance.
>
> Joe
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   



  reply	other threads:[~2008-10-27  3:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27  2:37 question on how to (correctly) build an initrd for a root disk on a RAID1 Joe Landman
2008-10-27  3:22 ` Steve Cousins [this message]
2008-10-27  3:26   ` Joe Landman
2008-10-27  7:16 ` Luca Berra
2008-10-27 12:34   ` Joe Landman
2008-10-27 16:36     ` Brendan Conoboy
2008-10-27 17:56       ` Doug Ledford
2008-10-27 18:08         ` Joe Landman
2008-10-27 18:02       ` Joe Landman
2008-10-28  6:43     ` Luca Berra
2008-10-28 12:20       ` Joe Landman
2008-10-29  1:42         ` Joe Landman
2008-10-29  2:03           ` Joe Landman
2008-10-29  2:49             ` Joe Landman
2008-10-29 12:13               ` Tru Huynh

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=49053400.5080704@maine.edu \
    --to=steve.cousins@maine.edu \
    --cc=joe.landman@gmail.com \
    --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).