当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > grub多启动菜单配置样本

Unix/Linux
实用技巧:sys 请求:内核严重错误?没问题[ZT]
LINUX 的 HOSTID
出现这个信息:neighbour table overflow,什么原因?
如果用的是SCSI硬盘,在GRUB中显示root(hd0,0)对吗?
介绍一个下载LINUX、UNIX资料的网站,很不错
大家谁知道jdk那种.bin的安装文件是怎么做的?
如何新增一块硬盘
大侠帮我看看,怎么多了条route?
不用root密码也可以執行root的程序--Sudo
访问控制大师,使用pam来支持login的访问控制
Linux知识宝库:Kylix经典十大难题解决方法
小技巧:自制c语言编制cgi实现搜索
数据库管理员的难题,选择MySQL还是SQLServer
一托N的实现GRUB引导多个操作系统
网络技术之Linux网络的IPv6应用(1)
网络技术之Linux网络的IPv6应用(2)
网络技术之Linux网络的IPv6应用(3)
MySQL的远程连接出现错误提示分析
利用Perl列出系统环境变量清单范例
系统管理员必备常识之RAID磁盘阵列

Unix/Linux 中的 grub多启动菜单配置样本


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 89 ::
收藏到网摘: n/a

包括grub menu.1st配置文件及fdisk -l信息
我的grub menu.1st配置文件及fdisk -l信息如下:
[root@rhel4 grub]# more menu.lst# grub.conf generated by anaconda## 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/hda6# initrd /boot/initrd-version.img#boot=/dev/hdadefault=0timeout=5splashimage=(hd0,5)/boot/grub/splash.xpm.gzhiddenmenutitle Red Hat Enterprise Linux AS (2.6.9-5.EL) root (hd0,5) kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.9-5.EL.imgtitle turbolinux kernel (hd0,7)/boot/vmlinuz root=0308 initrd (hd0,7)/boot/initrdtitle SUSELinux kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x317 selinux=0 splash=silent resume=/dev/hda4 elevator=cfq showopts initrd (hd0,2)/boot/initrdtitle SUSEFailsafe kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3 initrd (hd0,2)/boot/initrdtitle WINDOWS2003 rootnoverify (hd0,0) chainloader +1title Solaris10 rootnoverify (hd0,3) chainloader +1

[root@rhel4 grub]# fdisk -l Disk /dev/hda: 122.9 GB, 122942324736 bytes255 heads, 63 sectors/track, 14946 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 2550 20482843+ 7 HPFS/NTFS/dev/hda2 2551 9177 53231377+ f W95 Ext'd (LBA)/dev/hda3 9178 11621 19631430 83 Linux/dev/hda4 * 11622 13515 15206688 bf Unknown/dev/hda5 2551 3825 10241406 7 HPFS/NTFS/dev/hda6 3826 6119 18426523+ 83 Linux/dev/hda7 6120 6271 1220908+ 82 Linux swap/dev/hda8 6272 8183 15358108+ 83 Linux/dev/hda9 8184 8335 1220908+ 82 Linux swap