Troubleshooting during linux Startup

Source: Internet
Author: User

Troubleshooting during linux Startup
Fault 1: The MBR is damaged www.2cto.com. If a CD is available, www.2cto.com will be directly installed to repair the MBR (Ensure that the hard disk has been installed with the system. first, we need to use the CD for boot to enter the installation item, type linux rescue to enter the First Aid Repair Mode 2. select language 3. select keyboard 4. select whether to enable the network. We only need to repair the system and do not need to enable the network function. try mounting the system 6. the system is mounted successfully. Wait for a shell, but the above prompt shows that it is only a temporary mount. Only wait for a shell. To become its system environment, run the command chroot/mnt/sysimage to fix the system restart failure. 2. If grub is damaged, the fault is fixed. If the system cannot be accessed, we can only manually specify the kernel and other programs to be loaded. enter grub>, enter the following command, and then use the boot command to restart grub> boot 2. normal System Access Then, manually add the startup configuration script to create the grub configuration file [root @ localhost ~] # Vim/boot/grub. add the following content to conf: default = 0 // default startup Item timeout = 5 // default wait time splashimage = (hd0, 0) /grub/splash.xpm.gz // grub option pattern hiddenmenu // hide menu title redhat 5.4 // set the title root (hd0, 0) // specify boot root boot disk kernel/vmlinuz-2.6.18-164.el5 ro root =/dev/sda2 quiet // specify kernel initrd/initrd-2.6.18-164.el5.img // specify driver file 3. restart, check the status of successful startup fault 3 mount file fstab configuration error fault troubleshooting according to the prompt, we can enter the system by entering the root password from the above error prompt, we can see that the Mount configuration of/boot is incorrect. You can enter After the password is entered, the system will correct the error. However, you will find that the/etc/fstab file is not writable and cannot be changed to remount the root partition, you can modify/etc/fstab !! Restart the system.

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.