error: hd0 out of disk

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
himandy
帖子: 100
注册时间: 2008-11-09 13:43

error: hd0 out of disk

#1

帖子 himandy » 2012-06-04 22:38

我的台式机是win7和Ubuntu12.04双系统,先在硬盘第一个分区(主分区)装了win7,然后在其中一个非主分区装了Ubuntu,用grub启动的时候,如果选进入Ubuntu,就会出现下面到错误,但等几秒钟后还是能进入系统,没有出现其他问题:

error: hd0 out of disk
press any key to continue...

上网搜索到一些朋友遇到类似情况,但又和我的情况不完全一致。于是我把分区信息贴出来,请高手指点一下如何解决这个问题,谢谢!

代码: 全选

~$ sudo fdisk -l
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: 0xf0b1ebb0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    48828187    24414062+   7  HPFS/NTFS/exFAT
/dev/sda2        48828414   976768064   463969825+   f  W95 Ext'd (LBA)
/dev/sda5       102414438   409625369   153605466    7  HPFS/NTFS/exFAT
/dev/sda6       409625433   716834417   153604492+  83  Linux
/dev/sda7       716836428   976768064   129965818+  83  Linux
/dev/sda8        48828416    52733951     1952768   82  Linux swap / Solaris
/dev/sda9        52736000   102414335    24839168   83  Linux

Partition table entries are not in disk order

代码: 全选

~$ sudo parted /dev/sda print
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  25.0GB  25.0GB  primary   ntfs            boot
 2      25.0GB  500GB   475GB   extended                  lba
 8      25.0GB  27.0GB  2000MB  logical   linux-swap(v1)
 9      27.0GB  52.4GB  25.4GB  logical   ext4
 5      52.4GB  210GB   157GB   logical   ntfs
 6      210GB   367GB   157GB   logical   ext4
 7      367GB   500GB   133GB   logical   ext4
回复