我用的是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---------------------
阅读(320) | 评论(0) | 转发(0) |