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

CentOS7 delete / boot/initramfsxxx.img and try CD rescue mode repair

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

CentOS7 delete / boot/initramfsxxx.img and try CD rescue mode repair

PPT put it here.

Download: https://www.lanzous.com/i5sfqrg password: 85z3

Delete / boot/initramfs-3.10.0-957.el7.x8664.IMG [root @ switch ~] # rm-f / boot/initramfs-3.10.0-957.el7.x8664.IMG II, restart will not work

Insert the CD and enter the repair mode (press esc for VMWare boot)

Fourth, choose to repair the CentOS7 system

V. the election continues.

Press enter

7. Cutting the root

Use mkinitrd repair to create the image file to be loaded into ramdisk

About this command:

[root@linux5 ~] # mkinitrd-- helpusage: mkinitrd [--version] [--help] [- v] [--preload] [--image-version] [--with=] [--nocompress] (ex: mkinitrd / boot/initramfs-3.10.0-957.el7.x86_64.img 3.10.0-957.el7.x86_64) mkinitrd / boot/initramfs- `uname-r`img `uname-r`

9. Execute synchronous sync

Synchronize memory to hard disk

10. Perform exit restart

11. Restart successfully

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