Linux Kernel boot parameters-general Linux technology-Linux programming and kernel information. For more information, see the following section. 1. "boot ="
This parameter indicates the name of the device that contains the boot sector (for example,/dev/had). If this option is ignored, the boot sector is read from the current root partition.
2. "root ="
This parameter indicates which device is used as the root file system when the kernel is started. The set value is the device name of the root file system when the kernel is constructed. The available device names include:
(1)/dev/hdaN ~ /Dev/hddN: ST-506 compatible hard drive, N partitions from a to d
(2)/dev/sdaN ~ /Dev/sdeN: SCSI compatible hard disk, N partitions from a to e
(3)/dev/xdaN ~ /Dev/xdbN: XT compatible hard disk, N partitions from a to B
(4)/dev/fdN: floppy disk, A :( N = 0) or B :( N = 1)
(5)/dev/nfs: Mark of the root file system obtained by the Network
3. "nfsroot ="
If you need to use NFS to provide a root file system to boot a diskless workstation, this parameter specifies the program, directory, and NFS where the network root file system is located for the kernel. The format is: nfsroot = (<server_ip> :) <root_dir> (, nfs_options> 〉)
4. "nfsaddrs ="
Set the network interface addresses required for network communication. If this parameter is not specified, the kernel will try to use the Reverse Address Resolution Protocol (RARP) or startup protocol (BOOTP) to find these parameters, the format is:
Nfsaddrs = <Client IP address >:< Server IP address >:< gateway IP address >:< subnet mask >:< client name >:< network device name >:< auto> 〉
5. "image ="
Specify the Linux Kernel File.
6. "delay ="
Set the waiting time before the first image is booted.
7. "disk ="
This parameter defines non-standard parameters for a special hard disk.
8. "append ="
An optional parameter line is passed to the kernel. A typical application is to specify parameters for hard disks that cannot be fully recognized by the system, such as append = "hd = 64, 32, 202"
9. "label ="
This parameter specifies a name for each image for selection during boot.
10. "read-only"
Set to mount the root file system in read-only mode for file system consistency check (fsck ).
11. "install ="
Install a specified file as the new boot sector. The default value is/boot. B.
12. "loader ="
The default value of chain loader is/boot/chain. B. If it is not started from the first hard disk or floppy disk, this option must be described.
13. "table ="
Indicates the name of the device that contains the partition table. If this parameter is ignored, the boot loader does not
Partitions can be transferred to the operating system that has been guided.
14. "init ="
The program that is run during kernel initialization. The process is init, getty, rc, and sh. Linux kernel versions 1.3.43 and later can run the command lines described in/sbin/init, if a problem occurs during the boot process, you can set init =/bin/sh to directly jump to Shell.
15. "ramdisk_start ="
Because the kernel cannot be placed in a compressed memory file system image, to enable the kernel image to be placed in a floppy disk with the compressed memory image, add "ramdisk_start = <offset> 〉", in this way, the kernel can start execution.
16. "mem ="
One of the purposes of this parameter is to specify the amount of memory used for Linux: for example, mem = 96 MB. The second goal is to specify mem = nopentium to tell the kernel not to use a 4 MB paging table.
17. "vga ="
Set the display mode, such as 80x50 and 132x44.
18. "linear ="
Generate the linear sector address used to replace the hard disk sector/head/cylinder address (Hard Disk geometric parameter. The linear address is generated at runtime and does not depend on the hard disk geometric parameters. This parameter may be required for some SCSI hard disks and some IDE hard disks used in LBA mode.
19. "prompt ="
The "boot:" prompt is displayed. Force bootloader to wait for the user's keyboard input. Press the Enter key to guide the default Operating System immediately, and press the Tab key to print the available operating system. When "prompt" is set but "timeout" is not set, the system will remain in the waiting state without guiding any operating system. If this parameter is not set, bootloader directly directs the default Operating System without the "boot:" prompt, unless you press Shift, Ctrl, or Alt.
20. "timeout ="
Set the length of time to wait for the keyboard input, in the unit of 0.1 seconds. If no input exceeds this period, the system times out and the default Operating System is automatically guided. If this parameter is not set, the default timeout length is infinite.
21. "other ="
Sets a file or device that contains a non-Linux operating system, such as DOS, sco unix, and Windows 95.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service