Name

root — Specify the root filesystem to boot from.

Synopsis

root= device

Tell the kernel which disk device the root filesystem image is on. device can be specified in one of the following ways:

nnnn

A device number in hexadecimal represents the major and minor number of the device in the internal format that the kernel expects. This method is not recommended unless you have access to kernel internals.

/dev/nfs

Use the NFS disk specified by the nfsroot boot option as the root disk.

/dev/ <diskname>

Use the kernel disk name specified by <diskname> as the root disk.

/dev/ <diskname><decimal>

Use the kernel disk name specified by <diskname> and the partition specified by <decimal> as the root disk.

/dev/ <diskname> p <decimal>

Use the kernel disk name specified by <diskname> and the partition specified by <decimal> as the root disk. This is the same as above, but is needed when <diskname> ends with a digit.

Get Linux Kernel in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.