In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-27 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.