Anaconda Boot Options

From FedoraProject

Revision as of 15:42, 28 May 2008 by Katzj (Talk | contribs)

Jump to: navigation, search

Anaconda Options

allowwireless

Experimental option to allow use of wireless networking adapters in the loader.

askmethod

Do not automatically use the CD-ROM as the install source if we detect a Red Hat Linux CD in your CD-ROM drive.

asknetwork

Prompt for network configuration in the first stage of installation regardless of installation method.

autostep

Advance to the next screen automatically. This is mostly useful for debugging.

blacklist=<module>

Do not automatically load module <module>, even if the hardware exists on the system.

cmdline

Force command line install mode. This mode simply prints out text and does not allow any interactivity. All options must be specified either in a kickstart file or on the command line.

dd or driverdisk

Use a driver disk.

debug

Add a debug button to the UI that allows dropping into a python debugger.

dhcpclass=<class>

Sends a custom DHCP vendor class identifier. ISC's dhcpcd can inspect this value using "option vendor-class-identifier".

dhcptimeout=<sec>

Stop attempting to get a DHCP lease after <sec> seconds.

display=<DISPLAY>

Sets the $DISPLAY environment variable.

dns=<dns>

Comma separated list of nameservers to use for a network installation.

dogtail=<url>

Use the dogtail (automated UI testing framework) script found at <url>. Only makes sense on graphical installs.

essid=<essid>

Connect to the wireless network given by <essid> for a network installation. Only makes sense with allowwireless.

ethtool=<opts>

Specify certain additional network device settings. Valid options are duplex={full,half} and speed={1000,100,10}. Multiple options may be given as a string separated by spaces and surrounded by double quotes.

gateway=<gw>

Gateway to use for a network installation.

graphical

Force graphical install. Required to have ftp/http use GUI.

headless

Specify that the machine being installed onto does not have any display hardware, and that anaconda should not probe for it.

ip=<ip>

IP to use for a network installation, use 'dhcp' for DHCP.

ipv6=<ipv6>

IPv6 IP address to use for a network installation. Use 'auto' for automatic neighbor discovery.

keymap=<keymap>

Keyboard layout to use. Valid values are those which can be used for the keyboard kickstart command.

ks

Kickstart over NFS.

ks=cdrom:

Kickstart from CDROM

ks=file:<path>

Kickstart from a file (path = 'fd0/ks.cfg')

ks=ftp://<path>

Kickstart from FTP.

ks=hd:<dev>:<path>

Kickstart via harddrive (dev = 'hda1', for example)

ks=http://<path>

Kickstart from HTTP.

ks=nfs(:options):<server>:<path>

Kickstart from NFS. NFS mount options are optional.

ksdevice

Takes one of 4 types of argument which tells install what network device to use for kickstart from network:

  • An argument like 'eth0' naming a specific interface
  • An argument like 00:12:34:56:78:9a indicating the MAC address of a

specific interface

  • The keyword 'link' indicating that the first interface with link up
  • The keyword 'bootif' indicating that the MAC address indicated by the

BOOTIF command line option will be used to locate the boot interface. BOOTIF is automagically supplied by pxelinux when you include the option 'IPAPPEND 2' in your pxelinux.cfg file

kssendmac

Adds HTTP headers to ks=http:// request that can be helpful for provisioning systems. Includes MAC address of all network interfaces in HTTP headers of the form "X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab".

lang=<lang>

Language to use for the installation. This should be a language which is valid to be used with the lang kickstart command.

linksleep=<delay>

Check the network device for a link every second for <delay> seconds.

loglevel=<level>

Set the minimum level required for messages to be logged. Values for <level> are debug, info, warning, error, and critical. The default value is info.

lowres

Force GUI installer to run at 640x480.

mediacheck

Activates loader code to give user option of testing integrity of install source (if an ISO-based method).

method=cdrom

Do a CDROM based installation.

method=ftp://<path>

Use <path> for an FTP installation

method=hd://<dev>/<path>

Use <path> on <dev> for a hard drive installation

method=http://<path>

Use <path> for an HTTP installation

method=nfs:<path>

Use <path> for an NFS installation.

mtu=<num>

Set the MTU (maximum transmission unit) used during network installs to the given number. Uses the network stack default if this option is not specified.

netmask=<nm>

Netmask to use for a network installation.

nicdelay=<sec>

Sleep for <sec> seconds before trying again to bring up the network.

nodmraid

Disable support for dmraid.

nofirewire

Do not load support for firewire devices.

noipv4

Disable IPv4 networking during installation.

noipv6

Disable IPv6 networking during installation.

nokill

A debugging option that prevents anaconda from terminating all running programs when a fatal error occurs

nomount

Don't automatically mount any installed Linux partitions in rescue mode.

nompath

Disable support for multipath devices.

nopass

Don't pass keyboard/mouse info to stage 2 installer, good for testing keyboard and mouse config screens in stage2 installer during network installs.

noprobe

Do not attempt to detect hw, prompts user instead.

noselinux

Disable SELinux on the installed system.

noshell

Do not put a shell on tty2 during install.

nousb

Do not load USB support (helps if install hangs early sometimes).

nousbstorage

Do not load usbstorage module in loader. May help with device ordering on SCSI systems.

rescue

Run rescue environment.

resolution=<mode>

Run installer in mode specified, '1024x768' for example.

selinux[=0]

Disables selinux entirely. Defaults to on.

serial

Turns on serial console support.

stage2=

Specifies a path to a stage2.img file instead of to an installation source. Otherwise, follows the same syntax as method=.

syslog=<host>[[<port>]]

Once installation is up and running, send log messages to the syslog process on <host>, and optionally, on port <port>. Requires the remote syslog process to accept connections (the -r option).

telnet

Start a telnet server early during installation.

test

Run in test mode, which prevents anaconda from doing much of anything useful but can be helpful in debugging.

text

Force text mode install.

updates

Prompt for removable media containing updates (bug fixes).

updates=<url>

Image containing updates over FTP or HTTP.

upgradeany

Don't require an /etc/redhat-release that matches the expected syntax to upgrade.

usefbx

Use the framebuffer X driver instead of attempting to use a hardware-specific one.

utf8

Set the TERM variable to vt100.

vnc

Enable vnc-based installation. You will need to connect to the machine using a vnc client application.

vncconnect=<host>[[<port>]]

Once installation is up and running, connect to the vnc client named <host>, and optionally use port <port>.

vncpassword=<password>

Enable a password for the vnc connection. This will prevent someone from inadvertently connecting to the vnc-based installation. Requires vnc option to be specified as well. If you have specified vncconnect the <password> will not be used unless connection to host is not possible.

wepkey=<key>

Use <key> as the wireless key when doing a network installation via a wireless network. Requires use of essid. Only makes sense with allowwireless.

xdriver=<driver>

Use <driver> as the X driver to use during installation as well as on the installed system.