运维开发网

模拟/boot目录误删恢复操作

运维开发网 https://www.qedev.com 2020-07-09 14:19 出处:网络
[[email protected] ~]# cp /boot/grub2/grub.cfg /tmp [[email protected] ~]# ls /tmp/ grub.cfg                 

[[email protected] ~]# cp /boot/grub2/grub.cfg /tmp

[[email protected] ~]# ls /tmp/

grub.cfg                                                                 systemd-private-807b399733714e39aa4ecd0d9014050b-rtkit-daemon.service-WEUPBL

ssh-NM7UekT31xY7                                                         systemd-private-807b399733714e39aa4ecd0d9014050b-vgauthd.service-uMUtwP

systemd-private-807b399733714e39aa4ecd0d9014050b-chronyd.service-95432r  systemd-private-807b399733714e39aa4ecd0d9014050b-vmtoolsd.service-MoVII8

systemd-private-807b399733714e39aa4ecd0d9014050b-colord.service-I1oIBH   tracker-extract-files.0

systemd-private-807b399733714e39aa4ecd0d9014050b-cups.service-SG5h3q

[[email protected] ~]# rm -rf /boot/grub2/grub.cfg

[[email protected]~]#ls /boot/grub2/

device.map  fonts  grubenv  i386-pc  locale

模拟/boot目录误删恢复操作

模拟/boot目录误删恢复操作

模拟/boot目录误删恢复操作

模拟/boot目录误删恢复操作

Boot误删

 

config-3.10.0-693.el7.x86_64

efi

grub

grub2

initramfs-0-rescue-d6b1971c9cfe4d5cac8ca7357e569311.img

initramfs-3.10.0-693.el7.x86_64.img

initramfs-3.10.0-693.el7.x86_64kdump.img

initrd-plymouth.img

symvers-3.10.0-693.el7.x86_64.gz

System.map-3.10.0-693.el7.x86_64

vmlinuz-0-rescue-d6b1971c9cfe4d5cac8ca7357e569311

vmlinuz-3.10.0-693.el7.x86_64

[[email protected] ~]# ls /boot/grub2

device.map  fonts  grub.cfg  grubenv  i386-pc  locale

0

精彩评论

暂无评论...
验证码 换一张
取 消