Chinaunix首页 | 论坛 | 博客
  • 博客访问: 798808
  • 博文数量: 770
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4950
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-09 17:49
文章分类

全部博文(770)

文章存档

2011年(1)

2008年(769)

我的朋友

分类:

2008-10-10 11:34:09

我用的是Red Hat Enterprise Linux 4,自带内核为2.6.9-22.EL
grub如下:
# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:  You have a /boot partition.  This means that

#          all kernel and initrd paths are relative to /boot/, eg.

#          root (hd0,0)

#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00

#          initrd /initrd-version.img

#boot=/dev/sda

default=2
timeout=10

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

title Red Hat Enterprise Linux AS (2.6.18.8)
        root (hd0,0)

        kernel /vmlinuz-2.6.18.8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

        initrd /initrd-2.6.18.8.img

title Red Hat Enterprise Linux AS (2.6.7)
        root (hd0,0)

        kernel /vmlinuz-2.6.7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

        initrd /initrd-2.6.7.img

title Red Hat Enterprise Linux AS (2.6.9-22.EL)

        root (hd0,0)

        kernel /vmlinuz-2.6.9-22.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet

        initrd /initrd-2.6.9-22.EL.img

title Red Hat Enterprise Linux AS (2.6.15.5)

        root (hd0,0)

        kernel /vmlinuz-2.6.15.5 ro root=/dev/VolGroup00/LogVol00 kgdb8250=0,115200 kgdbwait



title Red Hat Enterprise Linux AS (2.6.7-kgdb)

        root (hd0,0)

        kernel /vmlinuz-2.6.7-kgdb ro root=/dev/VolGroup00/LogVol00 kgdbwait kgdb8250=0,115200
        #initrd /initrd-2.6.7-kgdb.img

        
fdis -l的内容如下:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1305    10377990   8e  Linux LVM


请大哥再帮小妹瞧瞧,谢谢!      
--------------------next---------------------

阅读(306) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~