linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Janek Kozicki <janek_listy@wp.pl>
Cc: linux-raid@vger.kernel.org
Subject: Re: switching root fs '/' to boot from RAID1 with grub
Date: Wed, 31 Oct 2007 16:01:52 +0100	[thread overview]
Message-ID: <20071031160152.764e2a45@absurd> (raw)
In-Reply-To: <1193781699.10336.585.camel@firewall.xsintricity.com>

Thanks!

It all worked really great, I had to correct only one typo:

> device /dev/sda (hd0)

into this:

  device (hd0) /dev/sda

I have debian etch here, and I didn't have to rebuild initrd kernel.
Also I didn't have to disconnect hda drive, I just selected a
different boot device during boot (without even going into bios, or
opening the case).

In fact.. the only "trouble" I had here is that I needed to connect a
PS2 keyboard to this box ;-) (it's a just a backup machine)


And now I have a full RAID1 array. Now just two questions:

1. when I `shutdown -r now` I see a worrying message at the end:

    Stopping array md2 .... done (stopped)
    Stopping array md1 .... done (stopped)
    Stopping array md0 .... failed (busy)
    Will now reboot
    md: Stopping all md devices
    md: md0 still in use
  
    <reboots>

   Is that ok ?

2. Will grub update all drives automatically, for instance when I will
   upgrade kernel by 'aptitude upgrade'? Or do I need to repeat your
   grub instructions each time a new kernel is installed?


thanks again!
-- 
Janek Kozicki                                                         |

  reply	other threads:[~2007-10-31 15:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 20:07 switching root fs '/' to boot from RAID1 with grub Janek Kozicki
2007-10-30 20:37 ` Janek Kozicki
2007-10-30 22:01 ` Doug Ledford
2007-10-31 15:01   ` Janek Kozicki [this message]
2007-10-31 17:38     ` Doug Ledford
2007-10-31 20:12       ` xosview + RAID (was: switching root fs '/'...) Janek Kozicki
2007-10-31 20:47         ` xosview + RAID David Greaves
2007-11-01 17:31   ` switching root fs '/' to boot from RAID1 with grub H. Peter Anvin
2007-11-01 18:30     ` Doug Ledford
2007-11-01 18:57       ` H. Peter Anvin
2007-11-02 15:55         ` Doug Ledford
2007-11-01 19:04       ` Janek Kozicki
2007-11-01 19:20         ` Doug Ledford
2007-11-02 16:36     ` berk walker
2007-11-04  3:18       ` Bill Davidsen
2007-11-04  3:44         ` H. Peter Anvin
2007-11-04  4:28           ` Bill Davidsen
2007-11-04 18:02             ` H. Peter Anvin

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=20071031160152.764e2a45@absurd \
    --to=janek_listy@wp.pl \
    --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).