Я пытаюсь использовать новое ядро (2.6.32) на RHEL 5.10 32bit (ядро 2.6.18). Ядро .32 загружено с kernel.org, но не исправлено Redhat. Я знаю, что это глупо, но обновление до RHEL 6 для нас не вариант.
Я сделал make menuconfig; make; make modules; make modules_install; make install; reboot
. Потом у меня возникла паника ядра. Я собрал ядро 2.6.18 из исходников, исправлено ли оно Redhat или нет. Оба работали нормально.
У меня вопрос, можно ли использовать ядро 2.6.32 со всей файловой системой и библиотеками из установки RHEL 5.10 (2.6.18). Если это возможно, то что не так с моим процессом?
========
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
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: Nosuch file or dirctory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32.63 #1
Call Trace:
[<c0xxxxxx>] ? panic
[<c0xxxxxx>] ? do_exit
[<c0xxxxxx>] ? do_group_exit
[<c0xxxxxx>] ? sys_exit_group
[<c0xxxxxx>] ? syscall_call
В моем /boot/grub/grub.conf есть следующее.
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-63 ro root=LABEL=/ rhgb
initrd /boot/initrd-2.6.32-63.img
initrd
и сравнить их бок о бок. Это может быть просто отсутствующий или переименованный модуль ... - person thkala   schedule 23.08.2014