ubuntu下面
代码: 全选
sudo gdisk /dev/sda
然后输入r进入二级目录
然后输入f
再输入w保存
认真看了一下gdisk 的文档才发觉gdisk下的f与fdisk下输入f用处不一样。
gdisk下输入f Load MBR and build fresh GPT from it. Use this option if your GPT is corrupt or conflicts with the MBR and you want to use the MBR as the basis for a newset of GPT partitions.大概意思是加载MBR并新建一个GPT分区表。
因为英文不太好,还以为和fdisk一样是修复分区顺序。
现怎么恢复GPT以前的分区表啊?ubuntu里面好有好多东西没有备份,咋办啊!
