加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

如何恢复这个Linux分区?

发布时间:2020-12-14 02:35:12 所属栏目:Linux 来源:网络整理
导读:我有这个上网本,分区表看起来像这样 ~$fdisk netbook.dd Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)Command (m for help): pDisk netbook.dd: 320.1 GB,320072933376 bytes255 heads,63 sectors/track,38913 cylinder
我有这个上网本,分区表看起来像这样
~$fdisk netbook.dd 
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Command (m for help): p

Disk netbook.dd: 320.1 GB,320072933376 bytes
255 heads,63 sectors/track,38913 cylinders,total 625142448 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 identifier: 0x89c52b31

     Device Boot      Start         End      Blocks   Id  System
netbook.dd1   *        2048      616447      307200    7  HPFS/NTFS
netbook.dd2          616448   287338589   143361071    7  HPFS/NTFS
netbook.dd3       589484032   620941311    15728640    7  HPFS/NTFS
netbook.dd4       287338590   589473044   151067227+   5  Extended

Partition table entries are not in disk order

Command (m for help):

曾经有一个en EXT3 Linux分区,GRUB可以从中启动.现在发生了一些事情,所以它已经消失了.我假设还有一个交换分区,但不确定.

任何人都可以做出任何事吗?或者也许建议我可以尝试将EXT3分区带回数据?

解决方法

就像它说的那样,写回分区表应该设置正确的标志 – 但是必须有一个原因,他们在第一个空格中更改为0 – 你可能会发现你必须在分区上运行fsck – 即使这样,磁盘也可能不可恢复.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读