|
新装Gentoo2004.3启动出错
我的grub.conf配置如下:
[PHP]
default 0
timeout 8
splashimage=(hd0,5)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.9-r1
root (hd0,5)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda8 vga=79
title=Windows XP Professional
rootnoverify (hd0,0)
chainloader +1
[/PHP]
fstab配置如下:
[PHP]
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6 /boot ext2 noauto,noatime 1 2
/dev/hda8 / ext3 noatime 0 1
/dev/hda7 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /winxp ntfs,nls=cp936 noauto,noatime 0 0
/dev/hda5 /wind ntfs,nls=cp936 auto,noaitme 0 0
/dev/sda1 /usb vfat noauto,noatime 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
[/PHP]
启动后出现如下错误提示:
[PHP]
VFS:Cannot open root device "hda8" or unknow-block(3,8)
Please append a correct "root=" boot option
Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block(3,8)
[/php]
用LiveCD引导后想chroot进入安装好的系统出错提示:
[PHP]
#mount /dev/hda6 /mnt/gentoo
EXT2-warning:mounting unchecked fs,running e2fsch is recommended
#chroot /mnt/gentoo
Chroot:cannot run command '/bin/sh':No such file or directory
#chroot /mnt/gentoo /bin/sh
Chroot:cannot run command '/bin/sh':No such file or directory
[/php]
我是自己配置内核的
请问上述问题如何解决? |
|