Red Hat Linux5 Startup Process and troubleshooting

Source: Internet
Author: User
RedHatLinux5 Startup Process and troubleshooting

RedHat Linux 5 Startup Process and troubleshooting

Related reading:

Linux troubleshooting TechnologyHttp://www.linuxidc.com/Linux/2013-07/88040.htm

Linux Startup ProcessHttp://www.linuxidc.com/Linux/2012-12/76406.htm

Linux Startup Process and the configuration file and script http://www.linuxidc.com/Linux/2013-04/82119.htm used for startup

Linux boot process learning notes http://www.linuxidc.com/Linux/2013-03/80395.htm

Linux Startup Process know how much mini system http://www.linuxidc.com/Linux/2012-10/71889.htm

Linux Startup Process introduction http://www.linuxidc.com/Linux/2012-09/70564.htm

1 power-on ----- cmos --- (post power-on self-check program ------ mbr boot ---- grub menu

Boot self-check, MBR guide, GRUB menu, kernel loading, init process running, read/etc/inittab configuration file, and execute/etc/rc. d/rc. sysinit script/run/etc/rc. d/rc Script run/etc/rc. d/rc. local is to start the mingetty process, that is, the page on which we need to log on to the interface.

Let's take a look at the/etc/grub. conf file.

There is an example of an exam: If you automatically lose power 5 seconds after the boot,

It may be a sentence in/etc/rc. d/rc. local.

Sleep 5; shutdown-h now we just need to remove this sentence.

If an mbr boot error occurs

For example, we use these commands to simulate an MBR error and overwrite it

Dd if =/dev/zero of =/dev/sda bs = 446 count = 1

Restart init 6

The system cannot boot, that is, the first stage mbr error.

If we need to re-build the mbr, We need to restart it. We can also boot it with a CD. In the first step, we will first mount the CD and then restart it,

 

Then the page appears.

At this time, we need to enter the first aid mode of the system,

Boot: linuxe rescue and press ENTER

We will be prompted about the language we need to use. We can select English. The default value is enough.

Next, we will be prompted about the input method.

Then, we will be prompted whether to enable network NO.

The next rescue will explain to us. If we find your system, it will mount it to/mnt/sysimage and we will choose to continue

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.