(stupid) how to specify the root-device via kernel parameters

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Anton Mitterer
Date: Saturday, June 26, 2010 - 4:59 am

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.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(stupid) how to specify the root-device via kernel parameters, Christoph Anton Mitterer, (Sat Jun 26, 4:59 am)
Re: (stupid) how to specify the root-device via kernel par ..., Christoph Anton Mitterer, (Sat Jun 26, 7:13 am)