Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the fault repair method of Red Hat 6 Enterprise Edition system?

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you to Red Hat 6 Enterprise Edition system fault repair method is how, the content is very detailed, interested friends can refer to, I hope to help you.

rm /boot/* -rf

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

rm -f /etc/inittab

rm -f /etc/rc.d/rc.sysinit

rm -f /etc/rc.d/rc.loacl

mv /etc/fstab /etc/fstab.bak

To sum up, there are four major steps:

1. restore fstab

2. reinstall kernel

3. Reinstall inittab,/etc/rc.d/rc.sysinit,/etc/rc.d/rc.loacl

4. Rewrite the boot file

Specifically:

1. Use CD or network boot, enter rescue mode all the way enter, press default, if use network boot, select URL mode, enter appropriate path, if use close disk, select Local cdrom, and then select continue.

2. First, you need to restore/etc/fstab, which is in the/etc/directory./etc/belongs to the following partition, so you must first find the following partition. The video I made/dev/sda2 is the following partition. Create a directory and mount/dev/sda2 to this directory.

3. Go to the directory where the partition is located and restore fstab.bak to fstab. If the file is missing or incorrect, you need to handwrite the contents of the file, and then enter exit to restart.

4. Enter rescue mode again to restore kernel files.

5. Restore boot program, all files in/boot are restored, manually create/boot/grub/grub.conf file

Then write content.

6./etc/inittab /etc/rc.d/sysinit

Then restart the computer.

Video link: v.qq.com/boke/page/w/i/g/w0101c0e5ig.html

About Red Hat 6 Enterprise Edition system fault repair method is how to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report