System Backup:
[root@localhost ~]# mkdir /abc
[root@localhost ~]# mount /dev/sdb1 /abc
[root@localhost ~]# dd if=/dev/sda of=/abc/sda-mbr-bak bs=512 count=1
Recording the reading of the 1 + 0
Recording the write 1 + 0
512 bytes (512 B) has been copied, 0.000224936 seconds, 2.3 MB / sec
[root@localhost ~]#cp /boot/grub2/grub.cfg /abc/grub.cfg
system Restore:
1、
2、
3、
4、
5, file corruption
Method One: rebuild grub.cfg file
Method two: advanced backup and recovery
6 , from damaging method: grub bootloader destruction