grub4dos引导 进不了XP ,在线等帮助

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

grub4dos引导 进不了XP ,在线等帮助

#1

帖子 小白兔的白 » 2010-01-18 22:45

本来是XP和ubuntu 9.10双系统,后来重装了XP,然后ubuntu进不去了,在论坛看了半天也不明白怎么搞,最后比划着用grub4dos引导,能进ubuntu了,进来后按照某篇帖子说的,修复一下grub,使用命令sudo grub-install /dev/sda ,然后我重启,终于看见和以前没重装的时候一样的界面,一个白线条的框,里边有5个项目,前四个是ubuntu的,最后一个是xp,然后选择xp,结果进不去了,显示是什么什么missing之类的,就一句话,然后任意键返回之前选择的界面,ubuntu倒是正常还能进来,这怎么搞啊,请大家帮帮我,我最近才接触的ubuntu,所以什么都还不懂,在论坛也不知道搜什么能解决问题,请大家帮帮我啊,在线等,谢谢了!

我又重启看了下,不是missing,是这样的:
error : no such device :56601c85601c6e4d
press any key to continue...

怎么搞啊?
上次由 小白兔的白 在 2010-01-18 23:15,总共编辑 1 次。
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#2

帖子 小白兔的白 » 2010-01-18 23:02

:em20 没有人吗?
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub4dos引导 进不了XP ,在线等帮助

#3

帖子 onshoestring » 2010-01-18 23:05

wubi安装?ntldr is missing?
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#4

帖子 小白兔的白 » 2010-01-18 23:09

onshoestring 写了:wubi安装?
不是,我也忘了那方法怎么说,肯定不是wubi安装,我没有选择这种安装方法。
现在是重装xp后,ubuntu找回来了,xp又不见了 ,怎么搞
:em06
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub4dos引导 进不了XP ,在线等帮助

#5

帖子 onshoestring » 2010-01-18 23:11

ntldr is missing?很头疼的,小苹果都说不好搞的,是xp的问题。
你先看看xp根目录有没有隐藏文件ntldr。
头像
staunch
帖子: 255
注册时间: 2008-07-28 19:29

Re: grub4dos引导 进不了XP ,在线等帮助

#6

帖子 staunch » 2010-01-18 23:16

应该是ntldr丢失,因为ntldr并不能用复制的方式放进去的,你可以用XP光盘修复启动项
神舟天运F5600
酷睿T5750
GMA X3100
1G DDR2

http://new.qzone.qq.com/422253866/
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#7

帖子 小白兔的白 » 2010-01-18 23:17

onshoestring 写了:ntldr is missing?很头疼的,小苹果都说不好搞的,是xp的问题。
你先看看xp根目录有没有隐藏文件ntldr。
不好意思哦,我刚才没看清,不是ntldr丢失,显示内容我写到帖子里了,是
error : no such device :
press any key to continue ....
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#8

帖子 小白兔的白 » 2010-01-18 23:19

staunch 写了:应该是ntldr丢失,因为ntldr并不能用复制的方式放进去的,你可以用XP光盘修复启动项
error : no such device :56601c85601c6e4d
press any key to continue...

那这样的话,就算是ntldr丢失? xp启动盘我有,能修复就好办多了
头像
staunch
帖子: 255
注册时间: 2008-07-28 19:29

Re: grub4dos引导 进不了XP ,在线等帮助

#9

帖子 staunch » 2010-01-18 23:21

哦这问题是吧,你进入GRUB,在那里面用ls 看一下,有没有硬盘显示,有的话用root (hd0,1) ; chainloader +1 ; boot进入XP
神舟天运F5600
酷睿T5750
GMA X3100
1G DDR2

http://new.qzone.qq.com/422253866/
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#10

帖子 小白兔的白 » 2010-01-18 23:22

这是我的grub.cfg,贴上来给大家看,怎么回事啊

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 380050d8-6180-4669-8abb-e228a08b2313
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 380050d8-6180-4669-8abb-e228a08b2313
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=380050d8-6180-4669-8abb-e228a08b2313 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 380050d8-6180-4669-8abb-e228a08b2313
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=380050d8-6180-4669-8abb-e228a08b2313 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 56601c85601c6e4d
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#11

帖子 小白兔的白 » 2010-01-18 23:23

staunch 写了:哦这问题是吧,你进入GRUB,在那里面用ls 看一下,有没有硬盘显示,有的话用root (hd0,1) ; chainloader +1 ; boot进入XP
麻烦您看下我10楼的grub.cfg内容,好像是有xp的,对吗?
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub4dos引导 进不了XP ,在线等帮助

#12

帖子 onshoestring » 2010-01-18 23:26

你把grub.cfg文件中红色字删除试试。
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 56601c85601c6e4d
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
上次由 onshoestring 在 2010-01-18 23:28,总共编辑 2 次。
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#13

帖子 小白兔的白 » 2010-01-18 23:27

onshoestring 写了:ntldr is missing?很头疼的,小苹果都说不好搞的,是xp的问题。
你先看看xp根目录有没有隐藏文件ntldr。
C盘的ntldr文件还在 :em06
小白兔的白
帖子: 17
注册时间: 2009-12-06 21:09

Re: grub4dos引导 进不了XP ,在线等帮助

#14

帖子 小白兔的白 » 2010-01-18 23:28

onshoestring 写了:### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 56601c85601c6e4d
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
你把grub.cfg文件中红色字删除试试。
删除那些,然后重启试试看?
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub4dos引导 进不了XP ,在线等帮助

#15

帖子 onshoestring » 2010-01-18 23:29

小白兔的白 写了:
onshoestring 写了:### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 56601c85601c6e4d
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
你把grub.cfg文件中红色字删除试试。
删除那些,然后重启试试看?
回复