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

HTML background color gradient effect achieved through CSS style

Effect screenshots: Implementation code: Copy code...

Detailed explanation of how to use the Vue license plate input component

A simple license plate input component (vue) for ...

JavaScript to achieve all or reverse selection function

This article shares the specific code of JavaScri...

How to run sudo command without entering password in Linux

The sudo command allows a trusted user to run a p...

Docker uses a single image to map to multiple ports

need: The official website's resource server ...

Implementing Markdown rendering in Vue single-page application

When rendering Markdown before, I used the previe...

Detailed explanation of the practical use of HTML table layout

When is the table used? Nowadays, tables are gene...

Personalized and creative website design examples (30)

Therefore, we made a selection of 30 combinations ...

js to create a carousel effect

I think the carousel is a relatively important po...

Introduction to vim plugin installation under Linux system

Table of contents Install vim plugin manager Add ...

Installation and configuration of MySQL 5.7.17 free installation version

MYSQL version: MySQL Community Server 5.7.17, ins...

Vue3+TypeScript implements a complete example of a recursive menu component

Table of contents Preface need accomplish First R...

Realize the CSS loading effect after clicking the button

Since there is a button in my company's produ...

Several ways to set the expiration time of localStorage

Table of contents Problem Description 1. Basic so...

Tutorial on installing mysql5.7.23 on Ubuntu 18.04

This article shares with you the specific method ...