[求助]安装winxp和ubuntu双系统的问题

系统安装、升级讨论
回复
qixianzioo
帖子: 39
注册时间: 2008-09-05 23:39
送出感谢: 0
接收感谢: 0

[求助]安装winxp和ubuntu双系统的问题

#1

帖子 qixianzioo » 2010-12-24 9:04

我先是装好Winxp,分了一个C盘(20G),然后后面的都分成一个扩展分区,我在扩展分区上分了3个逻辑驱动器,还剩大概13G的容量是空的,装好Winxp之后我就开始装ubutun10.04,就在后面扩展分区所剩的13G里面装,也分了三个区(/boot、/、交换分区),装好之后重启进到启动菜单,选择Winxp时闪了一下,又回到这个菜单,就是说Winxp无法正常启动了,请教大家这是什么回事呢?我把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 $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 86e38d7a-2529-49aa-b77a-10bead4d4bf6
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
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set a5ed1ad0-29bf-473b-911b-b5ed04e24788
set locale_dir=($root)/grub/locale
set lang=zh
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set a5ed1ad0-29bf-473b-911b-b5ed04e24788
linux /vmlinuz-2.6.32-21-generic root=UUID=86e38d7a-2529-49aa-b77a-10bead4d4bf6 ro quiet splash
initrd /initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set a5ed1ad0-29bf-473b-911b-b5ed04e24788
echo 'Loading Linux 2.6.32-21-generic ...'
linux /vmlinuz-2.6.32-21-generic root=UUID=86e38d7a-2529-49aa-b77a-10bead4d4bf6 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set a5ed1ad0-29bf-473b-911b-b5ed04e24788
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set a5ed1ad0-29bf-473b-911b-b5ed04e24788
linux16 /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 b0b400a2b4006ce2
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 ###
头像
编程新兵
帖子: 189
注册时间: 2010-12-14 18:17
送出感谢: 0
接收感谢: 0

Re: [求助]安装winxp和ubuntu双系统的问题

#2

帖子 编程新兵 » 2010-12-24 20:33

用Ubuntu中的磁盘工具看看,可能是XP的分区坏了!用WINPE修复一下
也可能是XP中的启动文件被你误删了看看XP盘中的ntldr还在吗
#############################################
开心了装个系统,伤心了崩个系统,生活真美好!!!!!
#############################################
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53
送出感谢: 0
接收感谢: 108 次

Re: [求助]安装winxp和ubuntu双系统的问题

#3

帖子 onshoestring » 2010-12-24 21:29

viewtopic.php?f=139&t=302935
9楼方法2.不修复pbr
回复

回到 “系统安装和升级”