杀手2攻略第三关:关于linux

来源:百度文库 编辑:中科新闻网 时间:2024/05/02 18:29:23
我安装的是WINDOWS XP系统 然后再用分区魔术师
分区安装了linux桌面3.2版 可是安装完成后
硬盘直接引导启动LINUX而无法进入XP
问:
这是什么原因,怎样解决?

引导程序的原因,LINUX的引导程序把WIN的给覆盖了。
你用的GRUB还是LILO?反正都差不多啦。如果是GRUB的话就找/boot/grub/grub.conf---右键用GEDIT编辑:下面是我的GRUB.CONF
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,7)
# kernel /vmlinuz-version ro root=/dev/hda9
# initrd /initrd-version.img
#boot=/dev/hda 以上是注释。
default=2 默认引导顺序,这个1指的是下边的第2个,也就是WIN XP
timeout=5 默认显示引导菜单的时间
splashimage=(hd0,7)/grub/splash.xpm.gz
title Red Hat Linux 9.0
root (hd0,7)
kernel /vmlinuz-2.4.20-8bigmem ro
title Microsoft Windows XP
rootnoverify (hd0,1)
chainloader +1
title Microsoft Windows 2000
rootnoverify (hd0,2)
title Microsoft Windows 98
rootnoverify (hd0,0)
上边的hd0是第一个IDE接口上的主盘的意思。逗号后边的数字是第几个驱动盘,也就相对与C、D、E盘什么的。
chainloader +1就是这个是默认的引导系统。
如果你用的LILO的话,就找/etc/lilo.conf来编辑。
都一样的。