QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 852|回复: 3

三块硬盘装了两种不同的linux+一种winodw后,如何…

[复制链接]
发表于 2005-8-8 14:11:11 | 显示全部楼层 |阅读模式
如何出现 grub的选择菜单来选择不同的系统启动???

我是这样安装三个系统的,

先用一块硬盘安装一种linux

然后将这块硬盘取下来,换上第二块

又装了另一个版本的linux

再取下来,换上第三块硬盘装了windows

*************************************

现在我将三块硬盘全部安装上,

麻烦高手提供个解决方案,谢谢!
发表于 2005-8-8 14:32:03 | 显示全部楼层
用grub还是lilo引导?
哪块是主硬盘?
其它的两块硬盘呢?它们的分区情况如何?
回复

使用道具 举报

发表于 2005-8-8 15:02:19 | 显示全部楼层
建议将grub将在其中一块装linux中mbr中。
用它作为引导盘(bios中设)
进入该linux中,编辑/boot/grub/grub.conf或menu.lst文件,加入另两个操作系统的title。

win项中别忘了加入map映射。
回复

使用道具 举报

发表于 2005-8-8 15:05:18 | 显示全部楼层

Re: 三块硬盘装了两种不同的linux+一种winodw后,如何…

# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Fedora Core 3 (2.6.9-1.667)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img


title Windows 2003 Enterprise
rootnoverify (hd0,0)   # 修改这里得数字
chainloader +1

title SUN Solaris 10    # 换成另外一个Linux得启动菜单,按照上面得来做
rootnoverify (hd1,0)
chainloader (hd1,0)+1
makeactive
boot


按照上面这个菜单,使用Grub引导得硬盘里面(最好得是修改hda里面得grub.conf)

ps:上面得是我引导3个系统得Grub.conf  你修改相应得地方应该就可以直接引导3个系统了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-24 13:15 , Processed in 0.100414 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表