From: Christoph Anton Mitterer <calestyo@scientia.net>
To: linux-kernel@vger.kernel.org
Subject: (stupid) how to specify the root-device via kernel parameters
Date: Sat, 26 Jun 2010 13:59:09 +0200 [thread overview]
Message-ID: <1277553549.29791.38.camel@fermat.scientia.net> (raw)
Hi,...
Ok this might sound really stupid, but I've seen several ways of doing
this and want to get this cleaned up.
Nevertheless....
kernel-parameters.txt has the following options where you can specify
the root-fs and related flags:
root= [KNL] Root filesystem
nfsroot= [NFS] nfs root filesystem for disk-less boxes.
Plus further options like: ro, rootdelay=, rootflags=, rootfstype=,
rootwait, etc.
My question:
These are intended (especially root/nfsroot) to really name the device,
on which the filesystem directly lays, right?
E.g. if the ext4-root-fs is on /dev/sda1,... => root=/dev/sda1
I've seen several initramfs scripts (which I'd like to fix),... where
people abuse this or misuse this in setups where a root-fs is used on
multi-stacked block layers (e.g. something like disk->lvm->dm-crypt->fs)
Cheers,
Chris.
next reply other threads:[~2010-06-26 11:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-26 11:59 Christoph Anton Mitterer [this message]
2010-06-26 13:46 ` tytso
2010-06-26 14:13 ` Christoph Anton Mitterer
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=1277553549.29791.38.camel@fermat.scientia.net \
--to=calestyo@scientia.net \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®