From: andy liebman <andyliebman@aol.com>
To: bluca@comedia.it, linux-raid@vger.kernel.org
Subject: Re: Making bootable SATA RAID1 array in Mandriva 2006
Date: Wed, 16 Aug 2006 09:12:13 -0400 [thread overview]
Message-ID: <44E319AD.6040603@aol.com> (raw)
>
>>I'm not sure I understand what you're saying about mounting /dev, /proc
>>and /sys.
>
> just run:
> mount --bind /dev /newroot/dev
> mount -t proc /proc /newroot/proc
> mount -t sysfs /sys /newroot/sys
> before chrooting
>
> L.
> btw, be sure to add "auto=yes" to the ARRAY lines in /etc/mdadm.conf
> or you might find some arrays are not recognized after boot.
>
> L.
Thank you Luca. That was helpful. I have a couple of other questions
about Mandriva and mkinitrd. They probably don't belong on this list.
But we're both here.
1) I am running a custom-compiled 2.6.16.20 kernel on Mandriva 2006.
When I run mkinitrd, I'm getting several messages "skip dups". Is that
anything to be concerned about? I googled that and can't find anything.
2) It seems the format of initrd's being made is cpio + gz. In other
words, if I want to inspect the initrd, I cannot use the technique that
I always used:
mkdir /tmp/initrd
cd initrd
cp /boot/newinitrd.img .
mv newinitrd.img newinitrd.ext2.gz
gunzip newinitrd.ext2.gz
mkdir mount
mount newinitrd.ext2 mount -o loop
That doesn't work anymore with the 2.6.16 kernel. Now I have to do:
mkdir /tmp/initrd
cd initrd
cp /boot/newinitrd.img .
mv newinitrd.img newinitrd.ext2.gz
gunzip newinitrd.ext2.gz
mkdir mount
cd mount
cpio -id < ../newinitrd.ext2
Does that make sense? Has the format changed for initrd's. I also
noticed that the new initrds have a script called "init" instead of
"linuxrc".
Andy
next reply other threads:[~2006-08-16 13:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 13:12 andy liebman [this message]
2006-08-16 13:18 ` Making bootable SATA RAID1 array in Mandriva 2006 Mark Hahn
2006-08-16 14:35 ` Justin Piszcz
2006-08-16 23:49 ` Nix
-- strict thread matches above, loose matches on Subject: below --
2006-08-14 10:50 andy liebman
2006-08-15 11:48 ` Luca Berra
2006-08-13 23:51 andy liebman
2006-08-14 8:17 ` Luca Berra
2006-08-14 10:34 ` Henrik Holst
2006-08-14 13:39 ` Laurent Lesage
2006-08-14 14:52 ` andy liebman
2006-08-14 15:13 ` Laurent Lesage
2006-08-15 11:57 ` Luca Berra
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=44E319AD.6040603@aol.com \
--to=andyliebman@aol.com \
--cc=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 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.