标签:bytes rds 出现 还原 滚动条 1.2 ESS 添加 dev
1、[root@xiqukeke ~]# hexdump -C -n 512 /dev/sda|f.\..D..p.B.|<br/>000000d0 13 72 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 |.r...p.v....s.Z.|<br/>000000e0 d2 0f 83 de 00 be 85 7d e9 82 00 66 0f b6 c6 88 |.......}...f....|<br/>000000f0 64 ff 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 |d.@f.D..........|<br/>00000100 f4 40 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 |.@.D.......f..f.|<br/>00000110 60 7c 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 |
|f..uNf.|f1.f.|.|<br/>00000150 b9 00 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f |.....1..........|<br/>00000160 61 ff 26 5a 7c be 80 7d eb 03 be 8f 7d e8 34 00 |a.&Z|..}....}.4.|<br/>00000170 be 94 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 |..}.......GRUB .|<br/>00000180 47 65 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 |Geom.Hard Disk.R|<br/>00000190 65 61 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 |ead. Error......|<br/>000001a0 b4 0e cd 10 ac 3c 00 75 f4 c3 00 00 00 00 00 00 |.....<.u........|<br/>000001b0 00 00 00 00 00 00 00 00 bb 72 0d 00 00 00 80 20 |.........r..... |<br/>000001c0 21 00 83 aa 28 82 00 08 00 00 00 00 20 00 00 aa |!...(....... ...|<br/>000001d0 29 82 83 fe ff ff 00 08 20 00 00 00 40 06 00 fe |)....... ...@...|<br/>000001e0 ff ff 82 fe ff ff 00 08 60 06 00 00 40 00 00 fe |........
...@...||f.\..D..p.B.|<br/>000000d0 13 72 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 |.r...p.v....s.Z.|<br/>000000e0 d2 0f 83 de 00 be 85 7d e9 82 00 66 0f b6 c6 88 |.......}...f....|<br/>000000f0 64 ff 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 |d.@f.D..........|<br/>00000100 f4 40 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 |.@.D.......f..f.|<br/>00000110 60 7c 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 |
|f..uNf.|f1.f.|.|<br/>00000150 b9 00 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f |.....1..........|<br/>00000160 61 ff 26 5a 7c be 80 7d eb 03 be 8f 7d e8 34 00 |a.&Z|..}....}.4.|<br/>00000170 be 94 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 |..}.......GRUB .|<br/>00000180 47 65 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 |Geom.Hard Disk.R|<br/>00000190 65 61 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 |ead. Error......|<br/>000001a0 b4 0e cd 10 ac 3c 00 75 f4 c3 00 00 00 00 00 00 |.....<.u........|<br/>000001b0 00 00 00 00 00 00 00 00 bb 72 0d 00 00 00 80 20 |.........r..... |<br/>000001c0 21 00 83 aa 28 82 00 08 00 00 00 00 20 00 00 aa |!...(....... ...|<br/>000001d0 29 82 83 fe ff ff 00 08 20 00 00 00 40 06 00 fe |)....... ...@...|<br/>000001e0 ff ff 82 fe ff ff 00 08 60 06 00 00 40 00 00 fe |........
...@...|Disk /dev/sda: 214.7 GB, 214748364800 bytes, 419430400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000d72bb
Device Boot Start End Blocks Id System
6、reboot
7、进入救援模式,出现开机滚动条时,迅速按esc键,选择第三项:CD-ROM Drive,选择第三项:Troubleshooting,选择第二项:Rescue a CentOS system,当出现 Please make a selection from the above:【1】 出现 Please press <return> to get a shell时,按回车键,出现“ sh-4.2# ”,此时“ df ”发现无/sda,我们添加网络,centos7的ens33的ip192.168.141.254添加上,scp 192.168.141.130:/data/mbr .拷贝到当前目录下,ls --> 当前目录下有 mbr ,接着,dd if=mbr of=/dev/sda 即可还原分区表,exit后就能重新恢复数据,完成修复。
标签:bytes rds 出现 还原 滚动条 1.2 ESS 添加 dev
原文地址:http://blog.51cto.com/14128387/2349123