两周前安装了 Ubuntu 12.04 和 Windows 7。最初没有任何问题。前天在 Ubuntu 上安装了更新,重启系统后发现 Grub 列表中没有 Win7。之前硬盘被分成两个卷:磁盘 C 和工作磁盘(不记得名字了)。执行以下操作时fdisk -l
:
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa93031e0
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 408833842 204415897+ 7 HPFS/NTFS/exFAT
/dev/sda2 488386560 976773119 244193280 7 HPFS/NTFS/exFAT
/dev/sda3 408834046 488386559 39776257 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 408834048 484421631 37793792 83 Linux
/dev/sda6 484423680 488386559 1981440 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
49 heads, 48 sectors/track, 3292 cylinders, total 7744512 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 7744511 3868160 b W95 FAT32
何时sudo mount /dev/sda ~/1 -o offset [488386560*512]
- 打开并安装 WORK 磁盘。
需要帮助:如何查看和挂载磁盘 C。如何查看和调整 Grub 以在加载时在 Grub 菜单中显示两个系统?
答案1
也许在更新过程中重建 grub 时出现了一点错误,请尝试执行
sudo update-grub
看看它是否生成它