|
我才编译了2.6.0-test8新内核后,2.6新内核进不去,提示是
Mounting root filessytem
Mount:error 19 mounting ext3
pivotroot:pivot_root(/sysroot,/sysroot/initrd)failed:2
umount /initrd/proc failed:2
freeing unused kernel memory:232k freed
kernel panic:No init found.Try passing init=oprion to kernel
然后就停止不动了.我应该怎么办.我用的是RH9.0.下面是df
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/hda12 10388712 6961572 2899408 71% /
/dev/hda9 5036284 3083520 1696932 65% /Dfiles
/dev/hda2 210004 13246 185915 7% /boot
/dev/hda10 1004024 23532 929488 3% /home
none 127656 0 127656 0% /dev/shm
/dev/hda7 5034524 4970936 63588 99% /mnt/winDOC
/dev/hdb5 25851968 9477648 16374320 37% /mnt/winENT
下面是我的grub.conf
# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda12
# initrd /initrd-version.img
#boot=/dev/hda2
default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.6.0-test
root (hd0,1)
kernel /vmlinuz-2.6.0-test8 ro root=/dev/hda12
initrd /initrd-2.6.0-test8.img
title Red Hat Linux (2.4.20-
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
下面是我的/etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/Dfiles /Dfiles ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda11 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda7 /mnt/winDOC vfat iocharset=gb2312,umask=000,codepage=936,auto 0 0
/dev/hdb5 /mnt/winENT vfat iocharset=gb2312,umask=000,codepage=936,auto 0 0 |
|