请问为什么我的grub2就是找不到xp的启动项呢?

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
grahamgan
帖子: 194
注册时间: 2008-09-07 14:47

请问为什么我的grub2就是找不到xp的启动项呢?

#1

帖子 grahamgan » 2010-07-15 9:35

用sudo grub-mkconfig -o /boot/grub/grub.cfg命令后返回的结果:

代码: 全选

graham@Gan-UBT:~$ sudo grub-mkconfig -o /boot/grub/grub.cfg 
Generating grub.cfg ...
Found background image: Wallpaper.png
Found linux image: /boot/vmlinuz-2.6.32-23-generic
Found initrd image: /boot/initrd.img-2.6.32-23-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found memtest86+ image: /boot/memtest86+.bin
ERROR: pdc: wrong # of devices in RAID set "pdc_cjheccejee" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_cjheccejee" [1/2] on /dev/sda
done
请问这两个ERROR是什么引起的?要怎么解决?
顺便贴上分区情况:

代码: 全选

graham@Gan-UBT:~$ df -lh
文件系统            容量  已用 可用 已用% 挂载点
/dev/sda8             9.2G  4.5G  4.3G  52% /
none                 1003M  280K 1002M   1% /dev
none                 1007M  196K 1007M   1% /dev/shm
none                 1007M  332K 1007M   1% /var/run
none                 1007M     0 1007M   0% /var/lock
none                 1007M     0 1007M   0% /lib/init/rw
/dev/sda1              21G   17G  3.3G  84% /media/[C]
/dev/sda5              31G   28G  2.2G  93% /media/[D]
/dev/sda6              36G   31G  4.7G  87% /media/[E]
/dev/sda7              45G   34G   11G  77% /media/[F]
/dev/sda10            9.2G  515M  8.2G   6% /home

graham@Gan-UBT:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x51035103

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2611    20972826    7  HPFS/NTFS
/dev/sda2            2612       19458   135317160    f  W95 Ext'd (LBA)
/dev/sda5            2612        6528    31463271    7  HPFS/NTFS
/dev/sda6            6529       11097    36700461    7  HPFS/NTFS
/dev/sda7           11098       16846    46178811    7  HPFS/NTFS
/dev/sda8           16847       18062     9764864   83  Linux
/dev/sda9           18062       18245     1464320   82  Linux swap / Solaris
/dev/sda10          18245       19458     9742336   83  Linux

graham@Gan-UBT:~$ sudo fdisk -lu

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x51035103

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    41945714    20972826    7  HPFS/NTFS
/dev/sda2        41945776   312580095   135317160    f  W95 Ext'd (LBA)
/dev/sda5        41945778   104872319    31463271    7  HPFS/NTFS
/dev/sda6       104872383   178273304    36700461    7  HPFS/NTFS
/dev/sda7       178273368   270630989    46178811    7  HPFS/NTFS
/dev/sda8       270632960   290162687     9764864   83  Linux
/dev/sda9       290164736   293093375     1464320   82  Linux swap / Solaris
/dev/sda10      293095424   312580095     9742336   83  Linux
上次由 grahamgan 在 2010-07-15 9:43,总共编辑 1 次。
卸载未使用的内核——sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
型号:联想Y450A-TSI(E)白色
处理器: Core 2 Duo T6600 2.2GHz
内存:DDR III 4G
硬盘:WD 320G
显卡:GeForce GT 240M
显示器:14' LED 1366x768
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: 请问为什么我的grub2就是找不到xp的启动项呢?

#2

帖子 leeaman » 2010-07-15 9:37

传说中的raid?
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
grahamgan
帖子: 194
注册时间: 2008-09-07 14:47

Re: 请问为什么我的grub2就是找不到xp的启动项呢?

#3

帖子 grahamgan » 2010-07-15 9:42

可我电脑里根本没做RAID啊…… :em06
卸载未使用的内核——sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
型号:联想Y450A-TSI(E)白色
处理器: Core 2 Duo T6600 2.2GHz
内存:DDR III 4G
硬盘:WD 320G
显卡:GeForce GT 240M
显示器:14' LED 1366x768
etheopia
帖子: 6
注册时间: 2010-07-14 19:37

Re: 请问为什么我的grub2就是找不到xp的启动项呢?

#4

帖子 etheopia » 2010-07-16 22:19

sudo whereis gaoshou
回复