From: Moshe Yudkowsky <moshe@pobox.com>
To: linux raid <linux-raid@vger.kernel.org>
Subject: using update-initramfs: how to get new mdadm.conf into the /boot? Or is it XFS?
Date: Mon, 04 Feb 2008 14:59:44 -0600 [thread overview]
Message-ID: <47A77CC0.10807@pobox.com> (raw)
I've managed to get myself into a little problem.
Since power hits were taking out the /boot partition, I decided to split
/boot out of root. Working from my emergency partition, I copied all
files from /root, re-partitioned what had been /root into room for /boot
and /root, and then created the drives. This left me with /dev/md/boot,
/dev/md/root, and /dev/md/base (everything else).
I modified mdadm.conf on the emergency partition, used update-initramfs
to make certain that the new md drives would be recognized, and
rebooted. This worked as expected.
I then mounted all the entire new file system on a mount point, copied
the mdadm.conf to that point, did a chroot to that point, and did an
update-initramfs so that the non-emergency partition would have the
updated mdadm.conf. This worked -- but with complaints about missing the
file /proc/modules (which is not present under chroot). If I use the -v
option I can see the raid456, raid1, etc. modules loading.
I modified menu.lst to make certain that boot=/dev/md/boot, ran grub
(thanks, Robin!) successfully.
Problem: on reboot, the I get an error message:
root (hd0,1) (Moshe comment: as expected)
Filesystem type is xfs, partition type 0xfd (Moshe comment: as expected)
kernel /boot/vmliuz-etc.-amd64 root=/dev/md/boot ro
Error 15: File not found
Did I miss something? I'm pretty certain this is the procedure I used
before. The XFS module is being loaded by update-initramfs, so unless
there's a reason that I can't boot md from a boot partition with the
XFS file system, then I don't understand what the problem is.
Comments welcome -- I'm wedged!
--
Moshe Yudkowsky * moshe@pobox.com * www.pobox.com/~moshe
"Many that live deserve death. And some that die deserve life. Can you
give it to
them? Then do not be too eager to deal out death in judgement. For even the
wise cannot see all ends."
-- Gandalf (J.R.R. Tolkien)
next reply other threads:[~2008-02-04 20:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 20:59 Moshe Yudkowsky [this message]
2008-02-04 21:08 ` using update-initramfs: how to get new mdadm.conf into the /boot? Or is it XFS? Robin Hill
2008-02-04 21:09 ` maximilian attems
2008-02-04 21:53 ` Moshe Yudkowsky
2008-02-07 21:24 ` Bill Davidsen
2008-02-07 21:48 ` Bill Davidsen
2008-02-04 22:25 ` Robin Hill
2008-02-04 22:59 ` Moshe Yudkowsky
2008-02-05 1:23 ` Moshe Yudkowsky
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=47A77CC0.10807@pobox.com \
--to=moshe@pobox.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).