如何修复分区表?

Vy *_*ong 5 grub2 dual-boot windows-7 boot-partition

我有一台装有 Windows 7 和 Ubuntu 的双启动计算机。最近,我在 Windows7 下工作,我的闪存崩溃了,计算机重新启动以

错误:未找到分区。幼虫救援>

我制作了一张 Ubuntu Live CD 并尝试用 lilo 修复它,我设法让 Grub 工作,但我无法启动 Windows。

我回到 Live 并做了sudo apt-get install syslinuxsudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda. 在重新启动到 Windows7 失败后,我再次做了同样的事情,因为它抱怨无法加载内核。

我已经在 sda2 上完成了它,然后我重新启动以查看它说操作系统丢失了。现在,我做到了sudo fdisk -lu,我得到了以下信息:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0xe635605c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               0           0           0    6  FAT16
/dev/sda2   *        2048      206847      102400   de  Dell Utility
/dev/sda3          206848    20686847    10240000    7  HPFS/NTFS/exFAT
/dev/sda4        20686848   143566847    61440000    7  HPFS/NTFS/exFAT
Run Code Online (Sandbox Code Playgroud)

我确信 sda1 不是那样的......而且我不能做 cfdisk。它给了我这个错误:

致命错误:坏主分区 1:分区在扇区 0 之前结束

帮助??

Fra*_*que 3

用于gparted修复您的分区。
sudo apt-get install gparted && sudo gparted

您可以在此处gparted找到 有关使用情况的信息。


Lov*_*ntu 0

  1. 以这种方式修复 Windows ,直到您可以直接访问 Windows。
  2. 然后使用Boot-Repair恢复 GRUB 菜单