mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* (stupid) how to specify the root-device via kernel parameters
@ 2010-06-26 11:59 Christoph Anton Mitterer
  2010-06-26 13:46 ` tytso
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Anton Mitterer @ 2010-06-26 11:59 UTC (permalink / raw)
  To: linux-kernel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-26 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-26 11:59 (stupid) how to specify the root-device via kernel parameters Christoph Anton Mitterer
2010-06-26 13:46 ` tytso
2010-06-26 14:13   ` Christoph Anton Mitterer

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®