LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1478|回复: 0

用硬盘安装Red Hat Linux Enterprise 5的问题

[复制链接]
发表于 2008-6-12 00:01:20 | 显示全部楼层 |阅读模式
第一次用硬盘安装Red Hat Linux Enterprise 5,下载的是grub_climbing_v7.exe这个软件,运行这个软件后,在计算机启动boot.ini文件中出现的内容为:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\windows

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp professional" /noexecute=optin /fastdetect
c:\ghldr=一键GHOST v8.3 Build 061201

c:\grldr="启动Grub"


现把安装grub_climbing_v7.exe后menu.list的内容贴出
# ID: GRUB_MENU_CHS_4CLONE
# Grub 0.95 中文版配置文件 by Climbing(xclimbing@msn.com)
# 用于从硬盘上启动Grub(例如grldr)
# 中文图形界面
# 最后修改日期:2004-11-30
#

# 菜单颜色
#color white/blue yellow/red

# 默认延迟时间(秒)
timeout 30

# 第一项为默认值
default 0

# Fallback to the second entry.
fallback 1

# 将硬盘第一主分区设置为root
root (hd0,0)

# 设置中文支持的字体文件
fontfile (hd0,0)/boot/grub/fonts

# 设置图形背景文件
splashimage (hd0,0)/boot/grub/bj2008.xpm.gz

###############################################################################
# 使用memdisk启动本地软盘镜像
# 对映像文件的要求同上。
###############################################################################
title 使用memdisk启动硬盘(hd0,0)上的Corpnet软盘镜像文件
root   (hd0,0)
kernel /boot/grub/memdisk.gz
initrd /boot/corpnet.img

###############################################################################
# 使用 TFTP 协议加memdisk从网络启动一个软盘镜像
# 可以使用 winzip 压缩软件映像
# 对于软盘映像文件的大小没有限制
# 如果是超过2.88MB的软盘映像,需要在memdisk命令行指定参数,请参考瑞星的启动参数
###############################################################################
title 从网络启动Corpnet软盘压缩镜像文件
ifconfig --address=192.168.168.8 --mask=255.255.255.0 --gateway=192.168.168.254
tftpserver 192.168.168.1
kernel (nd)/memdisk.gz
initrd (nd)/corpnet.zip

title 从网络启动瑞星杀毒软盘压缩镜像文件
ifconfig --address=75.40.16.244 --mask=255.255.248.0 --gateway=75.40.16.254
tftpserver 75.40.16.2
kernel (nd)/memdisk.gz c=80 h=4 s=36 floppy
initrd (nd)/rav.zip

###############################################################################
# 使用memdisk启动本地软盘镜像
# 对映像文件的要求同上。
###############################################################################
title 使用memdisk启动硬盘(hd0,0)上的Corpnet软盘镜像文件
root   (hd0,0)
kernel /boot/grub/memdisk.gz
initrd /boot/corpnet.img

title 使用memdisk启动本地硬盘上的Corpnet软盘压缩镜像文件
root   (hd0,0)
kernel /boot/grub/memdisk.gz
initrd /boot/corpnet.zip

title 使用memdisk启动本地硬盘上的瑞星杀毒软盘压缩镜像文件
root   (hd0,0)
kernel /boot/grub/memdisk.gz c=80 h=4 s=36 floppy
initrd /boot/rav.zip

###############################################################################
# 使用map功能启动本地软盘镜像
# 软盘映像大小没有限制,但要求必须连续存放
# 检查映像是否连续存放的命令:blocklist (hd0,0)/boot/???.img
###############################################################################
title 使用map启动本地硬盘上的Corpnet软盘镜像文件
map (hd0,0)/boot/corpnet.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title 使用map启动本地硬盘上的瑞星杀毒软盘镜像文件
map (hd0,0)/boot/rav.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

###############################################################################
# 转到光盘启动
###############################################################################
title 从光盘启动
scdrom --bootcd
scdrom --bootcd

###############################################################################
# 转到软盘启动
###############################################################################
title 从软盘启动
rootnoverify (fd0)
chainloader  +1

###############################################################################
# 从本地磁盘的主分区启动
###############################################################################
title 启动第一主分区(hd0,0)上的操作系统
rootnoverify (hd0,0)
makeactive
chainloader  +1

title 启动第二主分区(hd0,1)上的操作系统
rootnoverify (hd0,1)
makeactive
chainloader  +1

title 启动第三主分区(hd0,2)上的操作系统
rootnoverify (hd0,2)
makeactive
chainloader  +1

###############################################################################
# 启动另一个功能强大的引导器Smart BootManager。
# 注意: 在Smart BootManager的界面里,不要做任何保存!!!!!
###############################################################################
title 运行Smart BootManager
root   (fd0)
kernel /boot/grub/memdisk.gz
initrd /boot/grub/sbm.bin

###############################################################################
# 改变菜单颜色
###############################################################################
title 改变菜单颜色(红色背景)
color yellow/red yellow/black
fontfile (hd0,0)/boot/grub/fonts
splashimage (hd0,0)/boot/grub/bj2008.xpm.gz

title 改变菜单颜色(青色背景)
color black/cyan yellow/cyan
fontfile (hd0,0)/boot/grub/fonts
splashimage (hd0,0)/boot/grub/bj2008.xpm.gz

title 改变菜单颜色(蓝色背景)
color white/blue yellow/red
fontfile (hd0,0)/boot/grub/fonts
splashimage (hd0,0)/boot/grub/bj2008.xpm.gz

###############################################################################
# 切换到英文版的Grub菜单
###############################################################################
title 切换到英文版的Grub菜单
configfile (hd0,0)/boot/grub/menu.eng

###############################################################################
# 搜寻硬盘上的其它Grub菜单
###############################################################################
title 寻找硬盘上的/boot/grub/menu.lst
findroot /boot/grub/menu.lst
configfile /boot/grub/menu.lst

title 寻找硬盘上的/grub/menu.lst
findroot /grub/menu.lst
configfile /grub/menu.lst

title 寻找硬盘上的/menu.lst
findroot /menu.lst
configfile /menu.lst

title 启动光盘上的/BOOT/GRUB/MENU.LST
scdrom --install
root (cd)
configfile /BOOT/GRUB/MENU.LST

title 启动光盘上的/boot/grub/menu.lst
scdrom --install
root (cd)
configfile /boot/grub/menu.lst
###############################################################################
# 重新启动计算机
###############################################################################
title 重新启动计算机
reboot

###############################################################################
# 关闭计算机
###############################################################################
title 关闭计算机
halt

###############################################################################
# 启动硬盘上的其它系统(用来演示启动方法,你可以动态改变参数)
###############################################################################
title Mandrake Linux on (hd0,7) (Sample)
kernel (hd0,7)/boot/vmlinuz root=/dev/hda8 quiet devfs=mount acpi=ht vga=788
initrd (hd0,7)/boot/initrd.img

title Red Hat Linux on (hd0,8) (Sample)
kernel (hd0,8)/boot/vmlinuz root=/dev/hda9

title DOS/Win9x(only) on (hd1,0) (Sample)
pause Warning: drive map used. Press any key to start DOS/Win9x on (hd1,0)...
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1

###############################################################################
# 安装Grub到硬盘的MBR
###############################################################################
title install GRUB on (hd0,0) to MBR (hd0) and reboot. Password: danger (Sample)
pause You requested to install GRUB onto MBR. We highly recommend you NOT to do so, basically for two reasons: 1. For some non-MS-compatible boot loaders(in case you might be using), the install is INDEED dangerous and may cause your whole disk(and all your operating systems on it) unaccessible. 2. Even if you are using(in MBR)an MS-compatible boot loader such as LILO and GRUB, you may encounter problems like hard-disk-boot-failure when you move or delete the /boot/grub/stage2 file, or even when disk defragmentation operations are made. Press any key to continue...
pause A password prompt will confirm that you want the operation anyway. Press any key to continue...
password danger
pause This will install GRUB in (hd0,0)/boot/grub/ to MBR. Press any key to begin...
root (hd0,0)
setup (hd0)
pause GRUB install OK! Press any key to reboot your machine...
reboot

###############################################################################
# 切换到英文版的Grub菜单
###############################################################################
title Switch to English menu
configfile (hd0,0)/boot/grub/menu.eng


问题是.我现在的Red Hat Linux Enterprise 5有五张安装盘,现放在D盘分区中(为NTFS),我有一个空的FAT32分区,想把这个系统安装在这个分区中,我该如何做?
请高手指教.........
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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