无法启动 sda

无法启动 sda

我使用的是 Ubuntu 12.04.1 64 位,但无法启动 /dev/sda。我尝试安装 grub,但失败了。

我的问题是

  1. 我是否必须重新安装?
  2. 我可以像以前一样修复“/dev/sda”吗?

catfdisk -l

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x0004c895

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0000bee1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  3907029167  1953513560   83  Linux

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0c1b08eb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048  3907029167  1953513560   83  Linux
ubuntu@ubuntu:~$ 

答案1

当 GRUB 无法正确加载或某些文件丢失或在加载时无法访问时,可能会发生这种情况,因此请尝试通过启动修复来修复您的 GRUB:-

$ grub-install -v (检查 ubuntu 的 GRUB 版本,这里是 GRUB 文件:- /boot/grub/grub.cfg )

$ sudo add-apt-repository ppa:yannubuntu/boot-repair

$ sudo apt-get 更新

$ sudo apt-get install -y 启动修复

$ boot-repair (启动 boot-repair)并查看高级选项:- http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

它将重新安装并修复您的 GRUB。

相关内容