我是昨天才安装的 Ubuntu ,所以我菜得不能再菜了 。求求各位大大能帮帮我这小菜鸟~
安装的是 ubuntu 10.4 LTS (DVD)的
Linux jie-xin 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux一、问题描述: 进入不了windows启动菜单。在安装 UBUNTU 分区的时候,由于手贱,点了Advanced,然后选了第二个选项(忘记第二个是啥了,只记得默认的第一个好像有个/sda0 啥的),玩了一下午并且安装了很绚的Compize,感觉很有意思,鼓捣到晚上,重启,选择最后一项也就是 进入windows的启动界面的一项,结果不行,还是返回到了ubuntu选择启动项的界面。
我怀疑就是安装的时候 在高级选项那儿整拐了。
二、相关信息: 我原本有两个系统 win7和xp ,并且如果 重建主引导记录的话,原先的两个启动选项就会出来。
win7在C盘,Winxp在D盘。【当然这是在进入win7的时候,是如此显示的】【如果进入 xp系统,情况又变了,winxp反而在C盘,至于win7则跑到最后】 (不过,我觉得winxp里才是正确的,因为win7是我在xp下安装的)。【刚才我用磁盘工具看了下,发现他们所在的sdax信息如图所示】
1、ubuntu所在的分区是sda10、11、12、13
附件:
文件注释: ubuntu所在的几个分区
disk_ubuntu_sda10+11+12+13.png [ 34.04 KiB | 被浏览 1223 次 ]
2、win7所在分区 sda9
附件:
文件注释: win7所在的那啥sdax
disk_win7_sda9.png [ 42.9 KiB | 被浏览 1223 次 ]
3、winxp所在位sda1
附件:
文件注释: xp所在
disk_winxp_sda1.png [ 86.69 KiB | 被浏览 1223 次 ]
4、扩展卷位于 sda3
附件:
文件注释: 扩展卷在 sda3
disk_extension_sda3.png [ 30.63 KiB | 被浏览 1223 次 ]
另外: /boot/grub/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,10)'
search --no-floppy --fs-uuid --set 70ac4d45-321d-4fab-945e-294337a023f6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backrd compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,11)'
search --no-floppy --fs-uuid --set d256842f-0329-4974-9dda-a19b1349c4b4
set locale_dir=($root)/grub/locale
set lang=en
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,11)'
search --no-floppy --fs-uuid --set d256842f-0329-4974-9dda-a19b1349c4b4
linux /vmlinuz-2.6.32-21-generic root=UUID=70ac4d45-321d-4fab-945e-294337a023f6 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,11)'
search --no-floppy --fs-uuid --set d256842f-0329-4974-9dda-a19b1349c4b4
echo 'Loading Linux 2.6.32-21-generic ...'
linux /vmlinuz-2.6.32-21-generic root=UUID=70ac4d45-321d-4fab-945e-294337a023f6 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,11)'
search --no-floppy --fs-uuid --set d256842f-0329-4974-9dda-a19b1349c4b4
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,11)'
search --no-floppy --fs-uuid --set d256842f-0329-4974-9dda-a19b1349c4b4
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3ee82aede82aa35f
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy y to add custom menu entries. Simply type the
# menu entries you nt to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
我搜了一下,大家说的 那个 menu.lst 我打开后 里面啥都没有阿
提供两张 win7和xp盘下的几个文件的截图1、win7
附件:
WIN7_files.png [ 84.68 KiB | 被浏览 1223 次 ]
2、xp
附件:
XP_files.png [ 84.32 KiB | 被浏览 1223 次 ]
三、目的:我就是想在win7下能进入ubuntu启动菜单,从ubuntu菜单里又能返回到win7启动菜单,并且默认启动为ubuntu的启动菜单。
有点多、乱阿,先谢谢各位大神了哈~