(责任编辑:A6)

安装两个系统时,选择默认系统的进入,可有时候,重装系统会引起另一个系统无法进入。

 

一、先说在windows下引导linux

 

在window下可用WinGrub工具生成的MENU.LST来引导linux , 编辑它, 这样就可以直接在硬盘上安装linux了。我的硬盘是WD 160G,以前用redhat9.0光盘安装时,识别不了硬盘,在网上下了个 Fedora-8-i386-DVD.iso

 

这是我编辑的MENU.LST,用记事本可以打开。

 

timeout 10

 

title Windows at (hd0,0)

root (hd0,0)

chainloader +1

 

title Fedora

root (hd0,6)

kernel (hd0,6)/vmlinuz

initrd (hd0,6)/initrd.img

 

注意,我这里写(hd0,6),是因为我挂载的iso在F盘,用WinGrub 点tools =》partioinlist 得

 

########

 

timeout 10

 

title Windows at (hd0,0)

root (hd0,0)

chainloader +1

 

title Fedora

root (hd0,6)

kernel (hd0,6)/vmlinuz

initrd (hd0,6)/initrd.img

 

########

 

改成

 

#######

 

timeout 10

 

title Windows at (hd0,0)

root (hd0,0)

chainloader +1

 

title Fedora

root (hd0,8)

 

kernel /boot/vmlinuz-2.6.24.3-12.fc8 ro root=LABEL=/rhgb quiet

initrd /boot/ initrd-2.6.24.3-12.fc8.img 注意:这里的文件名在第一次安装linux完成后就要记住,不同版本文件名可能不一样。我这里写的只是我自己的,请大家注意。去/boot/下记住文件名就行。

 

就可以在windows下引导linux,就算重装XP后,看不到linux菜单,也可以重新编辑它,就可以恢复linux菜单。

 

二、在linux下引导XP

 

vi 编辑 /boot/grub/ 下的grub.conf,

 

和上面的一样,就会出现XP菜单。

 

不会编写grub的,可以在第一次安装完成后把grub记住,以免以后麻烦。

本站文章仅代表作者观点,本站仅传递信息,并不表示赞同或反对.转载本站点内容时请注明来自-Linux伊甸园。如不注明,将根据《互联网著作权行政保护办法》追究其相应法律责任。

--------------------next---------------------