sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget+/translations/zh_CN/admin-guide/nfs/nfsrootmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/zh_TW/admin-guide/nfs/nfsrootmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/it_IT/admin-guide/nfs/nfsrootmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ja_JP/admin-guide/nfs/nfsrootmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ko_KR/admin-guide/nfs/nfsrootmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/sp_SP/admin-guide/nfs/nfsrootmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h.Mounting the root filesystem via NFS (nfsroot)h]h.Mounting the root filesystem via NFS (nfsroot)}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhE/var/lib/git/docbuild/linux/Documentation/admin-guide/nfs/nfsroot.rsthKubh field_list)}(hhh]hfield)}(hhh](h field_name)}(hAuthorsh]hAuthors}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhKubh field_body)}(hXWritten 1996 by Gero Kuhlmann Updated 1997 by Martin Mares Updated 2006 by Nico Schottelius Updated 2006 by Horms Updated 2018 by Chris Novakovic h](h paragraph)}(h3Written 1996 by Gero Kuhlmann h](hWritten 1996 by Gero Kuhlmann <}(hhhhhNhNubh reference)}(hgero@gkminix.han.deh]hgero@gkminix.han.de}(hhhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:gero@gkminix.han.deuh1hhhubh>}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(h:Updated 1997 by Martin Mares h](hUpdated 1997 by Martin Mares <}(hhhhhNhNubh)}(hmj@atrey.karlin.mff.cuni.czh]hmj@atrey.karlin.mff.cuni.cz}(hjhhhNhNubah}(h]h ]h"]h$]h&]refuri"mailto:mj@atrey.karlin.mff.cuni.czuh1hhhubh>}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(hFUpdated 2006 by Nico Schottelius h](h"Updated 2006 by Nico Schottelius <}(hjhhhNhNubh)}(h#nico-kernel-nfsroot@schottelius.orgh]h#nico-kernel-nfsroot@schottelius.org}(hj'hhhNhNubah}(h]h ]h"]h$]h&]refuri*mailto:nico-kernel-nfsroot@schottelius.orguh1hhjubh>}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(h*Updated 2006 by Horms h](hUpdated 2006 by Horms <}(hjAhhhNhNubh)}(hhorms@verge.net.auh]hhorms@verge.net.au}(hjIhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:horms@verge.net.auuh1hhjAubh>}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(h4Updated 2018 by Chris Novakovic h](h!Updated 2018 by Chris Novakovic <}(hjchhhNhNubh)}(hchris@chrisn.me.ukh]hchris@chrisn.me.uk}(hjkhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:chris@chrisn.me.ukuh1hhjcubh>}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhubeh}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hXIn order to use a diskless system, such as an X-terminal or printer server for example, it is necessary for the root filesystem to be present on a non-disk device. This may be an initramfs (see Documentation/filesystems/ramfs-rootfs-initramfs.rst), a ramdisk (see Documentation/admin-guide/initrd.rst) or a filesystem mounted via NFS. The following text describes on how to use NFS for the root filesystem. For the rest of this text 'client' means the diskless system, and 'server' means the NFS server.h]hXIn order to use a diskless system, such as an X-terminal or printer server for example, it is necessary for the root filesystem to be present on a non-disk device. This may be an initramfs (see Documentation/filesystems/ramfs-rootfs-initramfs.rst), a ramdisk (see Documentation/admin-guide/initrd.rst) or a filesystem mounted via NFS. The following text describes on how to use NFS for the root filesystem. For the rest of this text ‘client’ means the diskless system, and ‘server’ means the NFS server.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hEnabling nfsroot capabilitiesh]hEnabling nfsroot capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hIn order to use nfsroot, NFS client support needs to be selected as built-in during configuration. Once this has been selected, the nfsroot option will become available, which should also be selected.h]hIn order to use nfsroot, NFS client support needs to be selected as built-in during configuration. Once this has been selected, the nfsroot option will become available, which should also be selected.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjhhubh)}(hIn the networking options, kernel level autoconfiguration can be selected, along with the types of autoconfiguration to support. Selecting all of DHCP, BOOTP and RARP is safe.h]hIn the networking options, kernel level autoconfiguration can be selected, along with the types of autoconfiguration to support. Selecting all of DHCP, BOOTP and RARP is safe.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hjhhubeh}(h]enabling-nfsroot-capabilitiesah ]h"]enabling nfsroot capabilitiesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hKernel command lineh]hKernel command line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK-ubh)}(hX0When the kernel has been loaded by a boot loader (see below) it needs to be told what root fs device to use. And in the case of nfsroot, where to find both the server and the name of the directory on the server to mount as root. This can be established using the following kernel command line parameters:h]hX0When the kernel has been loaded by a boot loader (see below) it needs to be told what root fs device to use. And in the case of nfsroot, where to find both the server and the name of the directory on the server to mount as root. This can be established using the following kernel command line parameters:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK/hjhhubhdefinition_list)}(hhh](hdefinition_list_item)}(hroot=/dev/nfs This is necessary to enable the pseudo-NFS-device. Note that it's not a real device but just a synonym to tell the kernel to use NFS instead of a real device. h](hterm)}(h root=/dev/nfsh]h root=/dev/nfs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK9hjubh definition)}(hhh]h)}(hThis is necessary to enable the pseudo-NFS-device. Note that it's not a real device but just a synonym to tell the kernel to use NFS instead of a real device.h]hThis is necessary to enable the pseudo-NFS-device. Note that it’s not a real device but just a synonym to tell the kernel to use NFS instead of a real device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhK9hjubj)}(hXnfsroot=[:][,] If the `nfsroot' parameter is NOT given on the command line, the default ``"/tftpboot/%s"`` will be used. Specifies the IP address of the NFS server. The default address is determined by the ip parameter (see below). This parameter allows the use of different servers for IP autoconfiguration and NFS. Name of the directory on the server to mount as root. If there is a "%s" token in the string, it will be replaced by the ASCII-representation of the client's IP address. Standard NFS options. All options are separated by commas. The following defaults are used:: port = as given by server portmap daemon rsize = 4096 wsize = 4096 timeo = 7 retrans = 3 acregmin = 3 acregmax = 60 acdirmin = 30 acdirmax = 60 flags = hard, nointr, noposix, cto, ac h](j)}(h0nfsroot=[:][,]h]h0nfsroot=[:][,]}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKVhj3ubj)}(hhh](h)}(hiIf the `nfsroot' parameter is NOT given on the command line, the default ``"/tftpboot/%s"`` will be used.h](hIf the }(hjHhhhNhNubhtitle_reference)}(hD`nfsroot' parameter is NOT given on the command line, the default ``h]hDnfsroot’ parameter is NOT given on the command line, the default `}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jPhjHubh"”/tftpboot/%s”`` will be used.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK Specifies the IP address of the NFS server. The default address is determined by the ip parameter (see below). This parameter allows the use of different servers for IP autoconfiguration and NFS. h](j)}(h9 Specifies the IP address of the NFS server.h]h9 Specifies the IP address of the NFS server.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKBhjmubj)}(hhh]h)}(hThe default address is determined by the ip parameter (see below). This parameter allows the use of different servers for IP autoconfiguration and NFS.h]hThe default address is determined by the ip parameter (see below). This parameter allows the use of different servers for IP autoconfiguration and NFS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhhhKBhjjubj)}(h Name of the directory on the server to mount as root. If there is a "%s" token in the string, it will be replaced by the ASCII-representation of the client's IP address. h](j)}(hC Name of the directory on the server to mount as root.h]hC Name of the directory on the server to mount as root.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKGhjubj)}(hhh]h)}(hsIf there is a "%s" token in the string, it will be replaced by the ASCII-representation of the client's IP address.h]hyIf there is a “%s” token in the string, it will be replaced by the ASCII-representation of the client’s IP address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKGhjjubj)}(hX Standard NFS options. All options are separated by commas. The following defaults are used:: port = as given by server portmap daemon rsize = 4096 wsize = 4096 timeo = 7 retrans = 3 acregmin = 3 acregmax = 60 acdirmin = 30 acdirmax = 60 flags = hard, nointr, noposix, cto, ac h](j)}(hH Standard NFS options. All options are separated by commas.h]hH Standard NFS options. All options are separated by commas.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKVhjubj)}(hhh](h)}(h!The following defaults are used::h]h The following defaults are used:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubh literal_block)}(hX port = as given by server portmap daemon rsize = 4096 wsize = 4096 timeo = 7 retrans = 3 acregmin = 3 acregmax = 60 acdirmin = 30 acdirmax = 60 flags = hard, nointr, noposix, cto, ach]hX port = as given by server portmap daemon rsize = 4096 wsize = 4096 timeo = 7 retrans = 3 acregmin = 3 acregmax = 60 acdirmin = 30 acdirmax = 60 flags = hard, nointr, noposix, cto, ac}hjsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1jhhhKLhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKVhjjubeh}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhhhKVhjhhubj)}(hXip=::::::::: This parameter tells the kernel how to configure IP addresses of devices and also how to set up the IP routing table. It was originally called nfsaddrs, but now the boot-time IP configuration works independently of NFS, so it was renamed to ip and the old name remained as an alias for compatibility reasons. If this parameter is missing from the kernel command line, all fields are assumed to be empty, and the defaults mentioned below apply. In general this means that the kernel tries to configure everything using autoconfiguration. The parameter can appear alone as the value to the ip parameter (without all the ':' characters before). If the value is "ip=off" or "ip=none", no autoconfiguration will take place, otherwise autoconfiguration will take place. The most common way to use this is "ip=dhcp". IP address of the client. Default: Determined using autoconfiguration. IP address of the NFS server. If RARP is used to determine the client address and this parameter is NOT empty only replies from the specified server are accepted. Only required for NFS root. That is autoconfiguration will not be triggered if it is missing and NFS root is not in operation. Value is exported to /proc/net/pnp with the prefix "bootserver " (see below). Default: Determined using autoconfiguration. The address of the autoconfiguration server is used. IP address of a gateway if the server is on a different subnet. Default: Determined using autoconfiguration. Netmask for local network interface. If unspecified the netmask is derived from the client IP address assuming classful addressing. Default: Determined using autoconfiguration. Name of the client. If a '.' character is present, anything before the first '.' is used as the client's hostname, and anything after it is used as its NIS domain name. May be supplied by autoconfiguration, but its absence will not trigger autoconfiguration. If specified and DHCP is used, the user-provided hostname (and NIS domain name, if present) will be carried in the DHCP request; this may cause a DNS record to be created or updated for the client. Default: Client IP address is used in ASCII notation. Name of network device to use. Default: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply. Method to use for autoconfiguration. In the case of options which specify multiple autoconfiguration protocols, requests are sent using all protocols, and the first one to reply is used. Only autoconfiguration protocols that have been compiled into the kernel will be used, regardless of the value of this option:: off or none: don't use autoconfiguration (do static IP assignment instead) on or any: use any protocol available in the kernel (default) dhcp: use DHCP bootp: use BOOTP rarp: use RARP both: use both BOOTP and RARP but not DHCP (old option kept for backwards compatibility) if dhcp is used, the client identifier can be used by following format "ip=dhcp,client-id-type,client-id-value" Default: any IP address of primary nameserver. Value is exported to /proc/net/pnp with the prefix "nameserver " (see below). Default: None if not using autoconfiguration; determined automatically if using autoconfiguration. IP address of secondary nameserver. See . IP address of a Network Time Protocol (NTP) server. Value is exported to /proc/net/ipconfig/ntp_servers, but is otherwise unused (see below). Default: None if not using autoconfiguration; determined automatically if using autoconfiguration. After configuration (whether manual or automatic) is complete, two files are created in the following format; lines are omitted if their respective value is empty following configuration: - /proc/net/pnp: #PROTO: (depending on configuration method) domain (if autoconfigured, the DNS domain) nameserver (primary name server IP) nameserver (secondary name server IP) nameserver (tertiary name server IP) bootserver (NFS server IP) - /proc/net/ipconfig/ntp_servers: (NTP server IP) (NTP server IP) (NTP server IP) and (in /proc/net/pnp) and and (in /proc/net/ipconfig/ntp_servers) are requested during autoconfiguration; they cannot be specified as part of the "ip=" kernel command line parameter. Because the "domain" and "nameserver" options are recognised by DNS resolvers, /etc/resolv.conf is often linked to /proc/net/pnp on systems that use an NFS root filesystem. Note that the kernel will not synchronise the system time with any NTP servers it discovers; this is the responsibility of a user space process (e.g. an initrd/initramfs script that passes the IP addresses listed in /proc/net/ipconfig/ntp_servers to an NTP client before mounting the real root filesystem if it is on NFS). h](j)}(hiip=:::::::::h]hiip=:::::::::}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(hX4This parameter tells the kernel how to configure IP addresses of devices and also how to set up the IP routing table. It was originally called nfsaddrs, but now the boot-time IP configuration works independently of NFS, so it was renamed to ip and the old name remained as an alias for compatibility reasons.h]hX4This parameter tells the kernel how to configure IP addresses of devices and also how to set up the IP routing table. It was originally called nfsaddrs, but now the boot-time IP configuration works independently of NFS, so it was renamed to ip and the old name remained as an alias for compatibility reasons.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhj0ubh)}(hIf this parameter is missing from the kernel command line, all fields are assumed to be empty, and the defaults mentioned below apply. In general this means that the kernel tries to configure everything using autoconfiguration.h]hIf this parameter is missing from the kernel command line, all fields are assumed to be empty, and the defaults mentioned below apply. In general this means that the kernel tries to configure everything using autoconfiguration.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hj0ubh)}(hXThe parameter can appear alone as the value to the ip parameter (without all the ':' characters before). If the value is "ip=off" or "ip=none", no autoconfiguration will take place, otherwise autoconfiguration will take place. The most common way to use this is "ip=dhcp".h]hX-The parameter can appear alone as the value to the ip parameter (without all the ‘:’ characters before). If the value is “ip=off” or “ip=none”, no autoconfiguration will take place, otherwise autoconfiguration will take place. The most common way to use this is “ip=dhcp”.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhj0ubj)}(hhh](j)}(hV IP address of the client. Default: Determined using autoconfiguration. h](j)}(h' IP address of the client.h]h' IP address of the client.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKkhj`ubj)}(hhh]h)}(h-Default: Determined using autoconfiguration.h]h-Default: Determined using autoconfiguration.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjrubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhhhKkhj]ubj)}(hX IP address of the NFS server. If RARP is used to determine the client address and this parameter is NOT empty only replies from the specified server are accepted. Only required for NFS root. That is autoconfiguration will not be triggered if it is missing and NFS root is not in operation. Value is exported to /proc/net/pnp with the prefix "bootserver " (see below). Default: Determined using autoconfiguration. The address of the autoconfiguration server is used. h](j)}(h+ IP address of the NFS server.h]h+ IP address of the NFS server.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKzhjubj)}(hhh](h)}(hIf RARP is used to determine the client address and this parameter is NOT empty only replies from the specified server are accepted.h]hIf RARP is used to determine the client address and this parameter is NOT empty only replies from the specified server are accepted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKnhjubh)}(h~Only required for NFS root. That is autoconfiguration will not be triggered if it is missing and NFS root is not in operation.h]h~Only required for NFS root. That is autoconfiguration will not be triggered if it is missing and NFS root is not in operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhjubh)}(hMValue is exported to /proc/net/pnp with the prefix "bootserver " (see below).h]hQValue is exported to /proc/net/pnp with the prefix “bootserver ” (see below).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjubh)}(haDefault: Determined using autoconfiguration. The address of the autoconfiguration server is used.h]haDefault: Determined using autoconfiguration. The address of the autoconfiguration server is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKzhj]ubj)}(h{ IP address of a gateway if the server is on a different subnet. Default: Determined using autoconfiguration. h](j)}(hM IP address of a gateway if the server is on a different subnet.h]hM IP address of a gateway if the server is on a different subnet.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK}hjubj)}(hhh]h)}(h,Default: Determined using autoconfiguration.h]h,Default: Determined using autoconfiguration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhK}hj]ubj)}(h Netmask for local network interface. If unspecified the netmask is derived from the client IP address assuming classful addressing. Default: Determined using autoconfiguration. h](j)}(h2 Netmask for local network interface.h]h2 Netmask for local network interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(h^If unspecified the netmask is derived from the client IP address assuming classful addressing.h]h^If unspecified the netmask is derived from the client IP address assuming classful addressing.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj)ubh)}(h-Default: Determined using autoconfiguration.h]h-Default: Determined using autoconfiguration.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj)ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(hX Name of the client. If a '.' character is present, anything before the first '.' is used as the client's hostname, and anything after it is used as its NIS domain name. May be supplied by autoconfiguration, but its absence will not trigger autoconfiguration. If specified and DHCP is used, the user-provided hostname (and NIS domain name, if present) will be carried in the DHCP request; this may cause a DNS record to be created or updated for the client. Default: Client IP address is used in ASCII notation. h](j)}(h! Name of the client.h]h! Name of the client.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjTubj)}(hhh](h)}(hXIf a '.' character is present, anything before the first '.' is used as the client's hostname, and anything after it is used as its NIS domain name. May be supplied by autoconfiguration, but its absence will not trigger autoconfiguration. If specified and DHCP is used, the user-provided hostname (and NIS domain name, if present) will be carried in the DHCP request; this may cause a DNS record to be created or updated for the client.h]hXIf a ‘.’ character is present, anything before the first ‘.’ is used as the client’s hostname, and anything after it is used as its NIS domain name. May be supplied by autoconfiguration, but its absence will not trigger autoconfiguration. If specified and DHCP is used, the user-provided hostname (and NIS domain name, if present) will be carried in the DHCP request; this may cause a DNS record to be created or updated for the client.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjfubh)}(h5Default: Client IP address is used in ASCII notation.h]h5Default: Client IP address is used in ASCII notation.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjfubeh}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(hX Name of network device to use. Default: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply. h](j)}(h, Name of network device to use.h]h, Name of network device to use.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hDefault: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.h]hDefault: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(hX2 Method to use for autoconfiguration. In the case of options which specify multiple autoconfiguration protocols, requests are sent using all protocols, and the first one to reply is used. Only autoconfiguration protocols that have been compiled into the kernel will be used, regardless of the value of this option:: off or none: don't use autoconfiguration (do static IP assignment instead) on or any: use any protocol available in the kernel (default) dhcp: use DHCP bootp: use BOOTP rarp: use RARP both: use both BOOTP and RARP but not DHCP (old option kept for backwards compatibility) if dhcp is used, the client identifier can be used by following format "ip=dhcp,client-id-type,client-id-value" Default: any h](j)}(h2 Method to use for autoconfiguration.h]h2 Method to use for autoconfiguration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(hIn the case of options which specify multiple autoconfiguration protocols, requests are sent using all protocols, and the first one to reply is used.h]hIn the case of options which specify multiple autoconfiguration protocols, requests are sent using all protocols, and the first one to reply is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hOnly autoconfiguration protocols that have been compiled into the kernel will be used, regardless of the value of this option::h]h~Only autoconfiguration protocols that have been compiled into the kernel will be used, regardless of the value of this option:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hXUoff or none: don't use autoconfiguration (do static IP assignment instead) on or any: use any protocol available in the kernel (default) dhcp: use DHCP bootp: use BOOTP rarp: use RARP both: use both BOOTP and RARP but not DHCP (old option kept for backwards compatibility)h]hXUoff or none: don't use autoconfiguration (do static IP assignment instead) on or any: use any protocol available in the kernel (default) dhcp: use DHCP bootp: use BOOTP rarp: use RARP both: use both BOOTP and RARP but not DHCP (old option kept for backwards compatibility)}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjubh)}(hoif dhcp is used, the client identifier can be used by following format "ip=dhcp,client-id-type,client-id-value"h]hsif dhcp is used, the client identifier can be used by following format “ip=dhcp,client-id-type,client-id-value”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(h Default: anyh]h Default: any}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(h IP address of primary nameserver. Value is exported to /proc/net/pnp with the prefix "nameserver " (see below). Default: None if not using autoconfiguration; determined automatically if using autoconfiguration. h](j)}(h/ IP address of primary nameserver.h]h/ IP address of primary nameserver.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhj'ubj)}(hhh](h)}(hMValue is exported to /proc/net/pnp with the prefix "nameserver " (see below).h]hQValue is exported to /proc/net/pnp with the prefix “nameserver ” (see below).}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9ubh)}(hbDefault: None if not using autoconfiguration; determined automatically if using autoconfiguration.h]hbDefault: None if not using autoconfiguration; determined automatically if using autoconfiguration.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9ubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(hA IP address of secondary nameserver. See . h](j)}(h1 IP address of secondary nameserver.h]h1 IP address of secondary nameserver.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjdubj)}(hhh]h)}(hSee .h]hSee .}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjvubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubj)}(hX IP address of a Network Time Protocol (NTP) server. Value is exported to /proc/net/ipconfig/ntp_servers, but is otherwise unused (see below). Default: None if not using autoconfiguration; determined automatically if using autoconfiguration. h](j)}(hA IP address of a Network Time Protocol (NTP) server.h]hA IP address of a Network Time Protocol (NTP) server.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(hYValue is exported to /proc/net/ipconfig/ntp_servers, but is otherwise unused (see below).h]hYValue is exported to /proc/net/ipconfig/ntp_servers, but is otherwise unused (see below).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hbDefault: None if not using autoconfiguration; determined automatically if using autoconfiguration.h]hbDefault: None if not using autoconfiguration; determined automatically if using autoconfiguration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj]ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(hAfter configuration (whether manual or automatic) is complete, two files are created in the following format; lines are omitted if their respective value is empty following configuration:h]hAfter configuration (whether manual or automatic) is complete, two files are created in the following format; lines are omitted if their respective value is empty following configuration:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0ubh bullet_list)}(hhh](h list_item)}(hX/proc/net/pnp: #PROTO: (depending on configuration method) domain (if autoconfigured, the DNS domain) nameserver (primary name server IP) nameserver (secondary name server IP) nameserver (tertiary name server IP) bootserver (NFS server IP) h](h)}(h/proc/net/pnp:h]h/proc/net/pnp:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh block_quote)}(hX#PROTO: (depending on configuration method) domain (if autoconfigured, the DNS domain) nameserver (primary name server IP) nameserver (secondary name server IP) nameserver (tertiary name server IP) bootserver (NFS server IP) h]h)}(hX#PROTO: (depending on configuration method) domain (if autoconfigured, the DNS domain) nameserver (primary name server IP) nameserver (secondary name server IP) nameserver (tertiary name server IP) bootserver (NFS server IP)h]hX#PROTO: (depending on configuration method) domain (if autoconfigured, the DNS domain) nameserver (primary name server IP) nameserver (secondary name server IP) nameserver (tertiary name server IP) bootserver (NFS server IP)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(h/proc/net/ipconfig/ntp_servers: (NTP server IP) (NTP server IP) (NTP server IP) h](h)}(h/proc/net/ipconfig/ntp_servers:h]h/proc/net/ipconfig/ntp_servers:}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(h (NTP server IP) (NTP server IP) (NTP server IP) h]h)}(h (NTP server IP) (NTP server IP) (NTP server IP)h]h (NTP server IP) (NTP server IP) (NTP server IP)}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj/ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhKhj0ubh)}(h and (in /proc/net/pnp) and and (in /proc/net/ipconfig/ntp_servers) are requested during autoconfiguration; they cannot be specified as part of the "ip=" kernel command line parameter.h]h and (in /proc/net/pnp) and and (in /proc/net/ipconfig/ntp_servers) are requested during autoconfiguration; they cannot be specified as part of the “ip=” kernel command line parameter.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0ubh)}(hBecause the "domain" and "nameserver" options are recognised by DNS resolvers, /etc/resolv.conf is often linked to /proc/net/pnp on systems that use an NFS root filesystem.h]hBecause the “domain” and “nameserver” options are recognised by DNS resolvers, /etc/resolv.conf is often linked to /proc/net/pnp on systems that use an NFS root filesystem.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0ubh)}(hXBNote that the kernel will not synchronise the system time with any NTP servers it discovers; this is the responsibility of a user space process (e.g. an initrd/initramfs script that passes the IP addresses listed in /proc/net/ipconfig/ntp_servers to an NTP client before mounting the real root filesystem if it is on NFS).h]hXBNote that the kernel will not synchronise the system time with any NTP servers it discovers; this is the responsibility of a user space process (e.g. an initrd/initramfs script that passes the IP addresses listed in /proc/net/ipconfig/ntp_servers to an NTP client before mounting the real root filesystem if it is on NFS).}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubj)}(hnfsrootdebug This parameter enables debugging messages to appear in the kernel log at boot time so that administrators can verify that the correct NFS mount options, server address, and root path are passed to the NFS client. h](j)}(h nfsrootdebugh]h nfsrootdebug}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hThis parameter enables debugging messages to appear in the kernel log at boot time so that administrators can verify that the correct NFS mount options, server address, and root path are passed to the NFS client.h]hThis parameter enables debugging messages to appear in the kernel log at boot time so that administrators can verify that the correct NFS mount options, server address, and root path are passed to the NFS client.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubj)}(hXrdinit= To specify which file contains the program that starts system initialization, administrators can use this command line parameter. The default value of this parameter is "/init". If the specified file exists and the kernel can execute it, root filesystem related kernel command line parameters, including 'nfsroot=', are ignored. A description of the process of mounting the root file system can be found in Documentation/driver-api/early-userspace/early_userspace_support.rst h](j)}(hrdinit=h]hrdinit=}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(hXITo specify which file contains the program that starts system initialization, administrators can use this command line parameter. The default value of this parameter is "/init". If the specified file exists and the kernel can execute it, root filesystem related kernel command line parameters, including 'nfsroot=', are ignored.h]hXQTo specify which file contains the program that starts system initialization, administrators can use this command line parameter. The default value of this parameter is “/init”. If the specified file exists and the kernel can execute it, root filesystem related kernel command line parameters, including ‘nfsroot=’, are ignored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hA description of the process of mounting the root file system can be found in Documentation/driver-api/early-userspace/early_userspace_support.rsth]hA description of the process of mounting the root file system can be found in Documentation/driver-api/early-userspace/early_userspace_support.rst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]kernel-command-lineah ]h"]kernel command lineah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(h Boot Loaderh]h Boot Loader}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hrTo get the kernel into memory different approaches can be used. They depend on various facilities being available:h]hrTo get the kernel into memory different approaches can be used. They depend on various facilities being available:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh](j)}(hXBooting from a floppy using syslinux When building kernels, an easy way to create a boot floppy that uses syslinux is to use the zdisk or bzdisk make targets which use zimage and bzimage images respectively. Both targets accept the FDARGS parameter which can be used to set the kernel command line. e.g:: make bzdisk FDARGS="root=/dev/nfs" Note that the user running this command will need to have access to the floppy drive device, /dev/fd0 For more information on syslinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ .. note:: Previously it was possible to write a kernel directly to a floppy using dd, configure the boot device using rdev, and boot using the resulting floppy. Linux no longer supports this method of booting. h](h)}(h$Booting from a floppy using syslinuxh]h$Booting from a floppy using syslinux}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj'ubj)}(hX When building kernels, an easy way to create a boot floppy that uses syslinux is to use the zdisk or bzdisk make targets which use zimage and bzimage images respectively. Both targets accept the FDARGS parameter which can be used to set the kernel command line. e.g:: make bzdisk FDARGS="root=/dev/nfs" Note that the user running this command will need to have access to the floppy drive device, /dev/fd0 For more information on syslinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ .. note:: Previously it was possible to write a kernel directly to a floppy using dd, configure the boot device using rdev, and boot using the resulting floppy. Linux no longer supports this method of booting. h](h)}(hXWhen building kernels, an easy way to create a boot floppy that uses syslinux is to use the zdisk or bzdisk make targets which use zimage and bzimage images respectively. Both targets accept the FDARGS parameter which can be used to set the kernel command line.h]hXWhen building kernels, an easy way to create a boot floppy that uses syslinux is to use the zdisk or bzdisk make targets which use zimage and bzimage images respectively. Both targets accept the FDARGS parameter which can be used to set the kernel command line.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9ubh)}(he.g::h]he.g:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj9ubj)}(h"make bzdisk FDARGS="root=/dev/nfs"h]h"make bzdisk FDARGS="root=/dev/nfs"}hjYsbah}(h]h ]h"]h$]h&]jjuh1jhhhMhj9ubh)}(heNote that the user running this command will need to have access to the floppy drive device, /dev/fd0h]heNote that the user running this command will need to have access to the floppy drive device, /dev/fd0}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj9ubh)}(hyFor more information on syslinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/h](h^For more information on syslinux, including how to create bootdisks for prebuilt kernels, see }(hjuhhhNhNubh)}(hhttps://syslinux.zytor.com/h]hhttps://syslinux.zytor.com/}(hj}hhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjuubeh}(h]h ]h"]h$]h&]uh1hhhhM hj9ubhnote)}(hPreviously it was possible to write a kernel directly to a floppy using dd, configure the boot device using rdev, and boot using the resulting floppy. Linux no longer supports this method of booting.h]h)}(hPreviously it was possible to write a kernel directly to a floppy using dd, configure the boot device using rdev, and boot using the resulting floppy. Linux no longer supports this method of booting.h]hPreviously it was possible to write a kernel directly to a floppy using dd, configure the boot device using rdev, and boot using the resulting floppy. Linux no longer supports this method of booting.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj'ubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hXBooting from a cdrom using isolinux When building kernels, an easy way to create a bootable cdrom that uses isolinux is to use the isoimage target which uses a bzimage image. Like zdisk and bzdisk, this target accepts the FDARGS parameter which can be used to set the kernel command line. e.g:: make isoimage FDARGS="root=/dev/nfs" The resulting iso image will be arch//boot/image.iso This can be written to a cdrom using a variety of tools including cdrecord. e.g:: cdrecord dev=ATAPI:1,0,0 arch/x86/boot/image.iso For more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ h](h)}(h#Booting from a cdrom using isolinuxh]h#Booting from a cdrom using isolinux}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hXjWhen building kernels, an easy way to create a bootable cdrom that uses isolinux is to use the isoimage target which uses a bzimage image. Like zdisk and bzdisk, this target accepts the FDARGS parameter which can be used to set the kernel command line. e.g:: make isoimage FDARGS="root=/dev/nfs" The resulting iso image will be arch//boot/image.iso This can be written to a cdrom using a variety of tools including cdrecord. e.g:: cdrecord dev=ATAPI:1,0,0 arch/x86/boot/image.iso For more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ h](h)}(hWhen building kernels, an easy way to create a bootable cdrom that uses isolinux is to use the isoimage target which uses a bzimage image. Like zdisk and bzdisk, this target accepts the FDARGS parameter which can be used to set the kernel command line.h]hWhen building kernels, an easy way to create a bootable cdrom that uses isolinux is to use the isoimage target which uses a bzimage image. Like zdisk and bzdisk, this target accepts the FDARGS parameter which can be used to set the kernel command line.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(he.g::h]he.g:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(h$make isoimage FDARGS="root=/dev/nfs"h]h$make isoimage FDARGS="root=/dev/nfs"}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhMhjubh)}(hThe resulting iso image will be arch//boot/image.iso This can be written to a cdrom using a variety of tools including cdrecord.h]hThe resulting iso image will be arch//boot/image.iso This can be written to a cdrom using a variety of tools including cdrecord.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(he.g::h]he.g:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM"hjubj)}(h0cdrecord dev=ATAPI:1,0,0 arch/x86/boot/image.isoh]h0cdrecord dev=ATAPI:1,0,0 arch/x86/boot/image.iso}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhM$hjubh)}(hyFor more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/h](h^For more information on isolinux, including how to create bootdisks for prebuilt kernels, see }(hj"hhhNhNubh)}(hhttps://syslinux.zytor.com/h]hhttps://syslinux.zytor.com/}(hj*hhhNhNubah}(h]h ]h"]h$]h&]refurij,uh1hhj"ubeh}(h]h ]h"]h$]h&]uh1hhhhM&hjubeh}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hXUsing LILO When using LILO all the necessary command line parameters may be specified using the 'append=' directive in the LILO configuration file. However, to use the 'root=' directive you also need to create a dummy root device, which may be removed after LILO is run. e.g:: mknod /dev/boot255 c 0 255 For information on configuring LILO, please refer to its documentation. h](h)}(h Using LILOh]h Using LILO}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM)hjKubj)}(hXsWhen using LILO all the necessary command line parameters may be specified using the 'append=' directive in the LILO configuration file. However, to use the 'root=' directive you also need to create a dummy root device, which may be removed after LILO is run. e.g:: mknod /dev/boot255 c 0 255 For information on configuring LILO, please refer to its documentation. h](h)}(hWhen using LILO all the necessary command line parameters may be specified using the 'append=' directive in the LILO configuration file.h]hWhen using LILO all the necessary command line parameters may be specified using the ‘append=’ directive in the LILO configuration file.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM+hj]ubh)}(hzHowever, to use the 'root=' directive you also need to create a dummy root device, which may be removed after LILO is run.h]h~However, to use the ‘root=’ directive you also need to create a dummy root device, which may be removed after LILO is run.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hj]ubh)}(he.g::h]he.g:}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM2hj]ubj)}(hmknod /dev/boot255 c 0 255h]hmknod /dev/boot255 c 0 255}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhM4hj]ubh)}(hGFor information on configuring LILO, please refer to its documentation.h]hGFor information on configuring LILO, please refer to its documentation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM6hj]ubeh}(h]h ]h"]h$]h&]uh1jhhhM+hjKubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hUsing GRUB When using GRUB, kernel parameter are simply appended after the kernel specification: kernel h](h)}(h Using GRUBh]h Using GRUB}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hjubj)}(hsWhen using GRUB, kernel parameter are simply appended after the kernel specification: kernel h]h)}(hrWhen using GRUB, kernel parameter are simply appended after the kernel specification: kernel h]hrWhen using GRUB, kernel parameter are simply appended after the kernel specification: kernel }(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM:hjubah}(h]h ]h"]h$]h&]uh1jhhhM:hjubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hXUsing loadlin loadlin may be used to boot Linux from a DOS command prompt without requiring a local hard disk to mount as root. This has not been thoroughly tested by the authors of this document, but in general it should be possible configure the kernel command line similarly to the configuration of LILO. Please refer to the loadlin documentation for further information. h](h)}(h Using loadlinh]h Using loadlin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM=hjubj)}(hXjloadlin may be used to boot Linux from a DOS command prompt without requiring a local hard disk to mount as root. This has not been thoroughly tested by the authors of this document, but in general it should be possible configure the kernel command line similarly to the configuration of LILO. Please refer to the loadlin documentation for further information. h](h)}(hX%loadlin may be used to boot Linux from a DOS command prompt without requiring a local hard disk to mount as root. This has not been thoroughly tested by the authors of this document, but in general it should be possible configure the kernel command line similarly to the configuration of LILO.h]hX%loadlin may be used to boot Linux from a DOS command prompt without requiring a local hard disk to mount as root. This has not been thoroughly tested by the authors of this document, but in general it should be possible configure the kernel command line similarly to the configuration of LILO.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM?hjubh)}(hBPlease refer to the loadlin documentation for further information.h]hBPlease refer to the loadlin documentation for further information.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMEhjubeh}(h]h ]h"]h$]h&]uh1jhhhM?hjubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hX Using a boot ROM This is probably the most elegant way of booting a diskless client. With a boot ROM the kernel is loaded using the TFTP protocol. The authors of this document are not aware of any no commercial boot ROMs that support booting Linux over the network. However, there are two free implementations of a boot ROM, netboot-nfs and etherboot, both of which are available on sunsite.unc.edu, and both of which contain everything you need to boot a diskless Linux client. h](h)}(hUsing a boot ROMh]hUsing a boot ROM}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMGhj! ubj)}(hXThis is probably the most elegant way of booting a diskless client. With a boot ROM the kernel is loaded using the TFTP protocol. The authors of this document are not aware of any no commercial boot ROMs that support booting Linux over the network. However, there are two free implementations of a boot ROM, netboot-nfs and etherboot, both of which are available on sunsite.unc.edu, and both of which contain everything you need to boot a diskless Linux client. h]h)}(hXThis is probably the most elegant way of booting a diskless client. With a boot ROM the kernel is loaded using the TFTP protocol. The authors of this document are not aware of any no commercial boot ROMs that support booting Linux over the network. However, there are two free implementations of a boot ROM, netboot-nfs and etherboot, both of which are available on sunsite.unc.edu, and both of which contain everything you need to boot a diskless Linux client.h]hXThis is probably the most elegant way of booting a diskless client. With a boot ROM the kernel is loaded using the TFTP protocol. The authors of this document are not aware of any no commercial boot ROMs that support booting Linux over the network. However, there are two free implementations of a boot ROM, netboot-nfs and etherboot, both of which are available on sunsite.unc.edu, and both of which contain everything you need to boot a diskless Linux client.}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMIhj3 ubah}(h]h ]h"]h$]h&]uh1jhhhMIhj! ubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubj)}(hXqUsing pxelinux Pxelinux may be used to boot linux using the PXE boot loader which is present on many modern network cards. When using pxelinux, the kernel image is specified using "kernel ". The nfsroot parameters are passed to the kernel by adding them to the "append" line. It is common to use serial console in conjunction with pxeliunx, see Documentation/admin-guide/serial-console.rst for more information. For more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ h](h)}(hUsing pxelinuxh]hUsing pxelinux}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMQhjQ ubj)}(hX+Pxelinux may be used to boot linux using the PXE boot loader which is present on many modern network cards. When using pxelinux, the kernel image is specified using "kernel ". The nfsroot parameters are passed to the kernel by adding them to the "append" line. It is common to use serial console in conjunction with pxeliunx, see Documentation/admin-guide/serial-console.rst for more information. For more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/ h](h)}(hkPxelinux may be used to boot linux using the PXE boot loader which is present on many modern network cards.h]hkPxelinux may be used to boot linux using the PXE boot loader which is present on many modern network cards.}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMShjc ubh)}(hX?When using pxelinux, the kernel image is specified using "kernel ". The nfsroot parameters are passed to the kernel by adding them to the "append" line. It is common to use serial console in conjunction with pxeliunx, see Documentation/admin-guide/serial-console.rst for more information.h]hXGWhen using pxelinux, the kernel image is specified using “kernel ”. The nfsroot parameters are passed to the kernel by adding them to the “append” line. It is common to use serial console in conjunction with pxeliunx, see Documentation/admin-guide/serial-console.rst for more information.}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMVhjc ubh)}(hyFor more information on isolinux, including how to create bootdisks for prebuilt kernels, see https://syslinux.zytor.com/h](h^For more information on isolinux, including how to create bootdisks for prebuilt kernels, see }(hj hhhNhNubh)}(hhttps://syslinux.zytor.com/h]hhttps://syslinux.zytor.com/}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhM\hjc ubeh}(h]h ]h"]h$]h&]uh1jhhhMShjQ ubeh}(h]h ]h"]h$]h&]uh1jhj$hhhhhNubeh}(h]h ]h"]h$]h&]jSjTuh1jhhhKhjhhubeh}(h] boot-loaderah ]h"] boot loaderah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hCreditsh]hCredits}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMcubj)}(hXWThe nfsroot code in the kernel and the RARP support have been written by Gero Kuhlmann . The rest of the IP layer autoconfiguration code has been written by Martin Mares . In order to write the initial version of nfsroot I would like to thank Jens-Uwe Mager for his help.h](h)}(hmThe nfsroot code in the kernel and the RARP support have been written by Gero Kuhlmann .h](hXThe nfsroot code in the kernel and the RARP support have been written by Gero Kuhlmann <}(hj hhhNhNubh)}(hgero@gkminix.han.deh]hgero@gkminix.han.de}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:gero@gkminix.han.deuh1hhj ubh>.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMehj ubh)}(hoThe rest of the IP layer autoconfiguration code has been written by Martin Mares .h](hRThe rest of the IP layer autoconfiguration code has been written by Martin Mares .}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhhj ubh)}(hwIn order to write the initial version of nfsroot I would like to thank Jens-Uwe Mager for his help.h](hWIn order to write the initial version of nfsroot I would like to thank Jens-Uwe Mager <}(hj hhhNhNubh)}(hjum@anubis.han.deh]hjum@anubis.han.de}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:jum@anubis.han.deuh1hhj ubh> for his help.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMkhj ubeh}(h]h ]h"]h$]h&]uh1jhhhMehj hhubeh}(h]creditsah ]h"]creditsah$]h&]uh1hhhhhhhhMcubeh}(h],mounting-the-root-filesystem-via-nfs-nfsrootah ]h"].mounting the root filesystem via nfs (nfsroot)ah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjn error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jH jE jjjjj j j@ j= u nametypes}(jH jjj j@ uh}(jE hjjjjj jj= j u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.