From: thunder7@xs4all.nl
To: Andre Majorel <aym-xunil@teaser.fr>, linux-raid@vger.kernel.org
Subject: Re: RAID1 root and swap and initrd
Date: Fri, 15 Dec 2006 19:30:04 +0100 [thread overview]
Message-ID: <20061215183004.GA15690@amd64.of.nowhere> (raw)
In-Reply-To: <20061215175630.GA11400@aym.net2.nerim.net>
From: Andre Majorel <aym-xunil@teaser.fr>
Date: Fri, Dec 15, 2006 at 06:56:30PM +0100
> Pardon the probably silly question but...
>
> Can you use RAID1 devices for your root and swap with a "straight"
> kernel ? (i.e. without the need for initrd/initramfs.)
>
> If that matters, the boot manager would be LILO and each MD device
> would be assembled from "parallel" logical partitions.
Yes, I do that. Make the partitions type 0xfd and the kernel
automagically assembles any raid-partitions it needs.
Here are some parts of my dmesg:
Linux version 2.6.19-rc5-mm1 (jurriaan@middle) (gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)) #5 SMP Mon Nov 13 15:55:41 CET 2006
Command line: root=/dev/md2 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
md: considering hdc7 ...
md: adding hdc7 ...
md: hdc6 has different UUID to hdc7
md: hdc5 has different UUID to hdc7
md: adding hda7 ...
md: hda6 has different UUID to hdc7
md: hda5 has different UUID to hdc7
md: created md2
md: bind<hda7>
md: bind<hdc7>
md: running: <hdc7><hda7>
raid1: raid set md2 active with 2 out of 2 mirrors
md2: bitmap initialized from disk: read 8/8 pages, set 89 bits, status: 0
created bitmap (123 pages) for device md2
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Kind regards,
Jurriaan
--
"No," Jewel said faintly, "I know who you are."
She laughed, the laughter thawing the chill of her expression.
"And who is that, exactly?"
"Allasakar's kin."
Michelle West - The Shining Court
Debian (Unstable) GNU/Linux 2.6.19-rc5-mm1 2x4826 bogomips load load 0.21
the Jack Vance Integral Edition: http://www.integralarchive.org
next prev parent reply other threads:[~2006-12-15 18:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 17:56 RAID1 root and swap and initrd Andre Majorel
2006-12-15 18:30 ` thunder7 [this message]
2006-12-15 19:14 ` Gordon Henderson
2006-12-16 21:05 ` Andre Majorel
2006-12-16 21:50 ` Michael Tokarev
2006-12-16 23:01 ` Andre Majorel
2006-12-17 0:03 ` Michael Tokarev
2006-12-19 21:30 ` Bill Davidsen
2006-12-21 14:45 ` Michael Tokarev
2006-12-21 18:47 ` Bill Davidsen
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=20061215183004.GA15690@amd64.of.nowhere \
--to=thunder7@xs4all.nl \
--cc=aym-xunil@teaser.fr \
--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).