Solve Linux grub startup Problems

Source: Internet
Author: User

Linux grub startup and lilo startup are two common methods for Linux system startup. If a problem occurs during Linux grub startup, the system cannot be started normally, here are some solutions for Linux grub startup.

Under grub boot, after the system is started, the grub boot menu appears. Select the linux system to be started with the upper and lower keys, and press the letter "e" to enter the editing mode. Then, select the system startup kernel items such as kernel hd0, 0)/boot/vmlinuz or root =/dev/hda1) and press the letter "e" again. The grub> prompt appears, as follows:

Grub> kernel hd0, 0)/boot/vmlinuz or root =/dev/hda1

In the preceding hda1 field, there is a space between init ninit and n. n indicates the running level required for the system to enter, and 1 indicates the single-user mode, in this mode, the root user logs on by default and does not require a password. Therefore, you can modify the root user password here if you forget the root password. 2 indicates that the multi-user text mode does not have NFS ), 3 is complete multi-user mode text), 5 is XWINDOWS Mode)

After completion, it is as follows:

Grub> kernel hd0, 0)/boot/vmlinuz or root =/dev/hda1 init 1

Then press enter to confirm and automatically return to the previous page. then press the letter "B" to start the system and enter the system at the modified running level. The modifications here only affect the current startup, does not modify the system's/etc/inittab file ).

After Windows xp is installed on the computer, linux is installed again. If you don't want to use linux, you can simply format the linux partition in windows.

Windows cannot be started. When started, the grub boot black screen is displayed. I believe some of my friends have done the same. Here is a solution from the Internet:

In fact, grub boot allows you to start windows, but you only need to enter some commands. These commands are not difficult:

Grub> root (hd0, 0) // [it can also be rootnoverify (see the final explanation)]

Grub> chainloader + 1

Grub> boot

After completing these three steps, you can start windows.

You may have to enter these three steps to start the system each time.

Therefore, you can directly Delete the Linux grub startup:

Method 1: Use the system boot disk, enter dos, execute fdisk/mbr, clear MBR.

Method 2: After Entering windows, download the restoration tool clsmbr.exe and directly clear MBR [not recommended].

  1. Detailed command 1 for running Linux background)
  2. Brief Introduction to Linux kernel Security Intrusion Detection System
  3. How to bind an IP address to a Linux dual Nic? 1)
  4. Detailed parsing of Linux user operation records
  5. Detailed introduction to the use of Linux redirection

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.