Re: Netroot cmdline arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With input from the current discussion and ignorance of upcoming
netroot patches the current documentation would/should look like
the following:

DHCP
----

Format:
	root=dhcp

Get IP from dhcp, use dhcp root-path option to specify root location.
Contents according to formats below.

Please note: Specifying root=dhcp will ignore further netroot options

NFS
---

Preferred format:
	root=nfs[4]:[server:]path[:options]

Legacy formats:
	root=[[/dev/]nfs[4]] nfsroot=[server:]path[,options]
	root=[[/dev/]nfs[4]] nfsroot=[server:]path[:options]

If the 'nfsroot' parameter is not given on the command line or is empty,
the dhcp root-path is used as [server:]path[:options] or the default
"/tftpboot/%s" will be used.

If server is unspecified it will be pulled from one of the following
sources, in order:
	static ip= option on kernel command line
	DHCP next-server option
	DHCP server-id option
	DHCP root-path option

NFSv4 is only used if explicitly requested; default is NFSv2 or NFSv3
depending on kernel configuration

iSCSI
-----

Preferred format:
	root=iscsi:[<servername>]:[<protocol>]:[<port>]:[<LUN>]:<targetname>

Legacy formats:
	root=[iscsi] iscsiroot=[<servername>]:[<protocol>]:[<port>]:[<LUN>]:<targetname>
	root=[iscsi] iscsi_firmware

NBD
---
Preferred format:
	root=nbd:srv:port[:fstype[:rootflags[:nbdopts]]]

Legacy formats:
	root=[nbd] nbdroot=srv,port
	root=[nbd] nbdroot=srv:port[:fstype[:rootflags[:nbdopts]]]

nbdopts is a comma seperated list of options to give to nbd-client

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux