- qiqi132452010-10-23论坛元老882

一升级就出错啊。
带grubconfig是
default=0
timeout=5
title CentOS (2.6.18-194.17.1.el5xen)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-194.17.1.el5xen console=xvc0 root=/dev/sda1 ro
initrd /boot/initrd-2.6.18-194.17.1.el5xen.img
title vmlinuz-2.6.18-194.11.1.el5xen
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-194.11.1.el5xen console=xvc0 root=/dev/sda1 ro
initrd /boot/initrd-2.6.18-194.11.1.el5xen.img如果1的话就是旧内核
升级方法 yum update
错误提示
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-[devel@redhat.com](mailto:devel@redhat.com)
Loading dm-log.ko module
Loading dm-region_hash.ko module
Loading dm-message.ko module
Loading dm-raid45.ko module
device-mapper: dm-raid45: initialized v0.2594l
Scanning and configuring dmraid supported devices
Creating root device.
mkrootdev: expected fs options
ERROR: failed in exec of /dev/sda2: Permission denied
Mounting root filesystem.
mount: missing mount point
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory