- 论坛徽章:
- 0
|
我的双硬盘.SATA上装XP和矮人DOS工具箱.IDE上装RHEL4U4.可GRUB好像出现了两个.默认的是IDE上的.但还不好使.得从SATA启动再进GRUB.再选WIN才有矮人DOS和XP选项.
我想要实现默认IDE的GRUB正常使用.可选择要进哪个系统.SATA上不要有GRUB.应该可以实现的吧.请大虾指点.最好附上点文章让我从根本上学习一下GRUB.
在网上找的那些被转来转去的烂文章就不要发了.因为都是千篇一律的垃圾.全是概念没有实用的东西.
THX~~
/boot/GRUB/menu.lst
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-42.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-42.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-42.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-42.EL.img
title windows xp
root (sd1,0)
chainloader +1
这样设置出错.
在GRUB提示符下.#ROOT (HD1,0)后.提示file system type is fat,partion type is 0Xc.
再#chainloader +1后.无反应
若root (sd1,0)后.提示invalid or unsupported executable format.
不解.请各位指点一下.THX~~
XP的部份是我自己写的.见笑了.
[ 本帖最后由 天气好冷 于 2006-12-21 19:53 编辑 ] |
|