boot opts

最後更新: 2019-02-26

 

* Press <TAB> to add additional options


Options

 

# causes the CD-ROM to be fully loaded into memory.

docache

 

# keyboard

setkmap=us

 

# pauses x seconds during the startup to allow slow devices to initialize

scandelay=x

 


HW

 

# prevents generic hardware auto-detection

nodetect

 

 


UI

 

nomodeset

# Do not load the Kernel-Mode-Setting video driver

dostartx

load the X.Org graphical environment.

forcevesa

# Forces X.Org to use the safe VESA driver instead of the best video driver detected for your video card

 


Service

 

# This option allows one to start/stop a service at boot time.

initscript=service:action

i.e.

# /etc/init.d/samba start

initscript=samba:start

# /etc/init.d/NetworkManager

initscript=NetworkManager:stop

log

/var/log/initscript.log

initscript: found option initscript=NetworkManager:stop (service=NetworkManager and action=stop
initscript: /etc/init.d/NetworkManager stop --> 0

 


Network

 

nonm

# To disable the Network-Manager service that conflicts with the standard network command line tools

nonet

# this will disable the network auto detection at startup

dodhcp

request a DHCP server provide network attributes

(computer it will run the dhcp client on all interfaces )

nameif=xxx

# nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64

ethx=ipaddr/cidr

# Sets the static IP address of ALL the ethernet interfaces on the system.

i.e.

# eth0=192.168.10.1/24 eth1=192.168.20.1/24

eth0=ipaddr/cidr

similar to ethx=ipaddr/cidr but it configures only one interface at a time.

gateway=ipaddr

dns=ipaddr

nameif=xxx

interface name to give to a particular interface using the mac address.

i.e.

nameif=eth0!00:00:00:00:00:01,eth1!00:00:00:00:00:02

More

The pxeboot loader will set BOOTIF to the name of the interface used to boot.

nameif=eth0!BOOTIF


Login

 

# root password (SSH)

rootpass=123456

# VNC Login

vncserver=x:123456

configure the VNC-server and to start it automatically at boot time.

x:

0: reserved for X.Org
1:  tcp/5901

 


FileSystem

 

nodmraid (Disable dmraid, for some motherboards with built-in RAID controller. )

nomdadm (Disable mdadm, for software RAID)

 

backstore=?

By default, sysresccd automatically scan removable devices

backstore=alldev    # to scan ALL devices

backstore=off

loadsrm=?

off             # Do not load any SRM module

skipmount=/dev/xxx 

The system mounts all the storage devices at boot time to find the sysrcd.dat file.
(If your hard disk is broken it should not be mounted.)

i.e.

# to ignore these two partitions.

skipmount=/dev/sda1 skipmount=/dev/sda2

cow_label=xxxx

Set the filesystem label where upperdir/workdir files for overlayfs must be stored.

cow_directory=xxxx

Name of the directory where to store changes made on the system.

checksum

will trigger a verification of the squashfs cheksum during the boot so you know if the file has been corrupted

 


應用

 

修改

X:\isolinux\isolinux.cfg

TIMEOUT 30
ONTIMEOUT altker64_my_srcd

# MySetting
LABEL altker64_my_srcd
MENU LABEL 0) SystemRescueCd with My Setting
LINUX altker64
INITRD initram.igz
APPEND setkmap=us rootpass=123456 nomodeset vga=791 ethx=192.168.123.211/24 nodmraid nomdadm nodetect backstore=off loadsrm=off initscript=NetworkManager:stop

 


Doc

 

https://datahunter.org/syslinux