LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 809|回复: 3

安装gentoo-64重启出现问题(已经解决)

[复制链接]
发表于 2006-12-28 12:43:47 | 显示全部楼层 |阅读模式
RAMDISK: Couldn't find valid RAM disk image starting at 0. VFS: Cannot open a root device "<NULL>" or unknown-block(8,4) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mout root fs on unknow-block(8,4)
本来google到了很多相关内容,但今天就是打不开国外网站,tmdgcd,只好求援了,thanks
发表于 2006-12-28 13:03:39 | 显示全部楼层
可能要贴下/etc/fstab和 /boot/grub/grub.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-28 13:16:48 | 显示全部楼层
grub.conf
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up
# Comment out if you don't have a graphics card installed
splashimage=(hd0,3)/boot/grub/splash.xpm.gz

title=Gentoo
# Partition where the kernel image (or operating system) is located
root (hd0,3)
kernel /boot/kernel-2.6.19-gentoo-r2 root=/dev/sda4
initrd /boot/kernel-2.6.19-gentoo-r2

title=Gentoo (rescue)
kernel /boot/kernel-2.6.19-gentoo-r2 root=/dev/sda4 ro single
initrd /boot/kernel-2.6.19-gentoo-r2
# Partition where the kernel image (or operating system) is located
title           Debian GNU/Linux, kernel 2.6.18-3-686
root            (hd0,1)
kernel          /vmlinuz-2.6.18-3-686 root=/dev/sda5 ro splash
initrd          /initrd.img-2.6.18-3-686
savedefault
                                                              
/etc/fstab
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda6               /home           xfs             noauto,noatime  0 2
/dev/sda4               /               reiserfs        defaults        0 1
/dev/sda5               /debian         reiserfs        noauto,notail   1 2
/dev/sda9               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
proc                    /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)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec 0 0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-29 12:48:48 | 显示全部楼层
呵呵,修改内核解决
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表