Analysis of Linux boot system methods

Analysis of Linux boot system methods

This article describes how to boot the Linux system. Share with you for your reference, the details are as follows:

1. Linux boot system

1. Select your operating system

/etc/grub.conf

Set the grub boot loader password. This password must be entered when using single-user mode.

password --md5 Password string after md5 (can be calculated by grub-md5-crypt)

2. Select the login interface

/etc/inittab

1) Linux operation level:

0 means shutdown
1 Single-user mode
2 Multi-user mode, without NFS
3 Multi-user (character mode)
4 Custom Mode
5 Graphics Mode
6 Restart Mode

3. Mount the file system

/etc/fstab

1) What is a mount?

Mapping an area on the hard disk to an operating system directory is called mounting.

2) View the file contents

Column 1: Hardware resources Column 2: Mount point Column 3: Mount system type Column 4: Mount parameters Column 5: Whether to back up Column 6: Self-check sequence (0: No self-check)

I hope this article will be helpful for everyone's Linux maintenance.

You may also be interested in:
  • PHP programmers play Linux series nginx beginner guide
  • Nasm implements the boot code of running a self-made Linux boot disk with vmware
  • Analysis of Linux boot process
  • Linux Administrator's Guide (5) -- Booting and Shutting Down
  • Linux system command notes
  • Summary of Linux system user management commands
  • Summary of methods to clear cache in Linux system
  • Detailed explanation of sudo command in Linux system
  • Linux system command to delete folders and files
  • How to use the dd command under Linux system
  • Summary of ten tips for sudo command in Linux system

<<:  Detailed explanation of the use of custom parameters in MySQL

>>:  Vue.js implements calendar function

Recommend

MySQL batch adding and storing method examples

When logging in to the stress test, many differen...

A brief discussion on React Component life cycle functions

What are the lifecycle functions of React compone...

Install Docker for Windows on Windows 10 Home Edition

0. Background Hardware: Xiaomi Notebook Air 13/In...

Sample code for displaying a scroll bar after the HTML page is zoomed out

Here is a record of how to make a scroll bar appe...

Using CSS3 to implement font color gradient

When using Animation.css, I found that the font o...

HTML table tag tutorial (32): cell horizontal alignment attribute ALIGN

In the horizontal direction, you can set the cell...

Example method to view the IP address connected to MySQL

Specific method: First open the command prompt; T...

Problems with using wangeditor rich text editing in Vue

wangEditor is a web rich text editor developed ba...

MySQL 5.7.18 MSI Installation Graphics Tutorial

This article shares the MySQL 5.7.18 MSI installa...

HTML head tag meta to achieve refresh redirection

Copy code The code is as follows: <html> &l...

JavaScript to achieve slow motion animation effect

This article shares the specific code for JavaScr...

How to remove the header from the element table

Document hints using the show-header attribute sh...

CentOS7 installation GUI interface and remote connection implementation

Use the browser (webdriver)-based selenium techno...

How to use JavaScript and CSS correctly in XHTML documents

In more and more websites, the use of XHTML is rep...