linux - 用fdisk误删除了当前系统的根目录那个分区,怎么恢复?
伊谢尔伦
伊谢尔伦 2017-04-17 13:41:19
0
2
376

写分区表的时候提示重启才能生效,才发现不太对劲…
由于系统正在这个分区上运行,Linux内核尚且认为这个分区存在,但硬盘的分区表中已经不存在这个分区了。
现在还没重启系统,怎么恢复?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
左手右手慢动作

Done.
First try to find the offset of this partition;
Then create a partition of the same type as the original but slightly larger in size;
Finally e2fsck -f + resize2fs.

Peter_Zhu

Cannot be restored. Remember that once deleted on Linux, it is an irreversible operation!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!