重装系统时断电或强制关机导致硬盘故障的解决 |
您所在的位置:网站首页 › 刷bios过程中断电电脑会坏吗 › 重装系统时断电或强制关机导致硬盘故障的解决 |
本文作者:Fezl 本文原地址:http://blog.csdn.net/u010147522/article/details/48369979
之前ghost还原操作系统,在最后的时候卡住了,无奈,于是长按关机键强制关机。结果重启后在第一屏就卡住了,F12选择启动顺序无效,所以进不去U盘或者光驱。F2也无效所以连BIOS也进不去。
上网搜索了一下,说是要给CMOS放电来恢复BIOS出厂设置,笔记本一大堆螺丝,害得我拆了半天。电是放了,BIOS也恢复出厂了,可是没有任何作用 ,故障依旧。
抱着试一试的心态,我把硬盘给拆下来,直接不要硬盘开机,结果奇迹发生了!可以进BIOS了!所以理所当然能进winPE,果然就是硬盘惹得祸。于是我试了一下直接在BIOS里面设置启动顺序第一为U盘启动,硬盘给放到最后。设置完毕保存关机,把硬盘给放回去。结果还是卡死在了第一屏,看来电脑地动的时候检查了硬盘。
于是这硬盘就不能接电脑内部了(主要是不敢冒风险热插硬盘,万一坏了可是好几百啊,主板要是也烧了。。。),所以买了一根SATA转USB的数据线。
在另外一台windows 7操作系统的电脑上,给硬盘插上数据线,接电脑USB。有反应,可是读不出来磁盘。没办法,windows上面不行。
换了另一台linux操作系统的电脑,还是硬盘插上数据线,接上电脑的USB,查看磁盘设备 ls /dev/sd* 能够看见除了主硬盘sda以外的一大堆sdb(从一到一百多) 再输入命令 fdisk -l /dev/sdb 这里的sdb是我有问题的这个硬盘,也许你的电脑上并不是sdb,得注意一下! 可以看见最后有一条信息 Partition table entries are not in disk order 就是说分区表有问题
好了,罗嗦半天,接下来最后几步,开始修复分区表 fidsk /dev/sdb The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) size boundary is recommended, or performance may be impacted. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): 输入m回车
Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): 输入x回车
Expert command (m for help): 输入m回车
Command action b move beginning of data in a partition c change number of cylinders d print the raw data in the partition table e list extended partitions f fix partition order g create an IRIX (SGI) partition table h change number of heads i change the disk identifier m print this menu p print the partition table q quit without saving changes r return to main menu s change number of sectors/track v verify the partition table w write table to disk and exit Expert command (m for help):
输入f回车 Done.Expert command (m for help):
输入m回车 Command action b move beginning of data in a partition c change number of cylinders d print the raw data in the partition table e list extended partitions f fix partition order g create an IRIX (SGI) partition table h change number of heads i change the disk identifier m print this menu p print the partition table q quit without saving changes r return to main menu s change number of sectors/track v verify the partition table w write table to disk and exit Expert command (m for help):
输入w 回车,将新的表写入硬盘
就这样,硬盘修复成功。将硬盘放回电脑,再对分区进行调整一下,重装系统即可。 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |