Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > grub多启动菜单配置样本
【标  题】:grub多启动菜单配置样本
【关键字】:grub
【来  源】:http://blog.chinaunix.net/article.php?articleId=34650&blogId=6797

grub多启动菜单配置样本

Your Ad Here 包括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/hda
default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title 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.img
title turbolinux
        kernel (hd0,7)/boot/vmlinuz root=0308
        initrd (hd0,7)/boot/initrd
title 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/initrd
title 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/initrd
title WINDOWS2003
        rootnoverify (hd0,0)
        chainloader +1
title Solaris10
        rootnoverify (hd0,3)
        chainloader +1

[root@rhel4 grub]# fdisk -l
 
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = 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

linux安装:【上一篇】
man wget:【下一篇】
【相关文章】
  • 如何在重装Windows后,使用Grub引导linux
  • 忘记root密码(grub/lilo)
  • 修改grub启动时的背景图片
  • grub菜单
  • 修改Grub的显示标题
  • 用安装光盘来修复grub
  • 更改控制台的分辨率(grub)
  • 教你如何学习GRUB[转]
  • 用GRUB解决双系统引导问题
  • Hacking Grub for fun and profit
  • 【随机文章】
  • cglib的使用和解析(附proxy相关内容)
  • xx计费器 V2.xx算法分析
  • max00
  • linux下完全删除Oracle
  • PHP比ASP优秀的七个理由
  • 诚聘中间件工程师
  • Eclipse3.1+Lomboz3.1RC1+Tomcat5.5.9编写简单动态网页实践
  • 欢迎加入Linux521博客!
  • 恭喜微软中文社区2003年10月“社区之星”
  • 动态 iptables 防火墙
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.