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

Basic HTML directory problem (difference between relative path and absolute path)

Relative path - a directory path established based...

jQuery canvas generates a poster with a QR code

This article shares the specific code for using j...

Beginners learn some HTML tags (2)

Related article: Beginners learn some HTML tags (1...

WeChat Mini Programs are shared globally via uni-app

In actual use, it is often necessary to share the...

A brief analysis of the usage of USING and HAVING in MySQL

This article uses examples to illustrate the usag...

mysql having usage analysis

Usage of having The having clause allows us to fi...

Nginx restricts IP access to certain pages

1. To prohibit all IP addresses from accessing th...

mysql8.0.11 winx64 installation and configuration tutorial

The installation tutorial of mysql 8.0.11 winx64 ...

Solution to MySQL master-slave delay problem

Today we will look at why master-slave delay occu...

Detailed explanation of the group by statement in MySQL database group query

1: Statement order of grouping function 1 SELECT ...

What are the new features of Apache Spark 2.4, which will be released in 2018?

This article is from the Apache Spark Meetup held...

How to use CSS counters to beautify ordered lists of numbers

In web design, it is very important to use an org...

Solution to ERROR 1054 (42S22) when changing password in MySQL 5.7

I have newly installed MySQL 5.7. When I log in, ...

How to use Docker Compose to implement nginx load balancing

Implement Nginx load balancing based on Docker ne...