模拟centos6.9系统MBR故障
centos系统启动分2个阶段1、MBR
1.5、MBR之后的扇区
2、磁盘引导
我们只对MBR进行破坏,全程在虚拟机环境下进行。
首先将数据覆盖至硬盘主分区446字节
dd if=/dev/zero of=/dev/sda bs=1 count=446 //主要是破坏硬盘的引导
http://s1.运维网.com/images/20180511/1526042771831717.png
这时系统无法引导,当我们挂载光驱时,系统会自动把光驱当做引导。
http://s1.运维网.com/images/20180511/1526042833229916.png
http://s1.运维网.com/images/20180511/1526042848430433.png
http://s1.运维网.com/images/20180511/1526042853163287.png
http://s1.运维网.com/images/20180511/1526042859640843.png
http://s1.运维网.com/images/20180511/1526042867202312.png
http://s1.运维网.com/images/20180511/1526042876897826.png
http://s1.运维网.com/images/20180511/1526042880202831.png
http://s1.运维网.com/images/20180511/1526042887811350.png
http://s1.运维网.com/images/20180511/1526042902428941.png
http://s1.运维网.com/images/20180511/1526043857931078.png
http://s1.运维网.com/images/20180511/1526043909772606.png
http://s1.运维网.com/images/20180511/1526042908486829.png
http://s1.运维网.com/images/20180511/1526042916594295.png
http://s1.运维网.com/images/20180511/1526042932913322.png
页:
[1]