openeuler2203升级内核Kernel6.10后无法启动?
1,使用以下方法安装的内核。
tar zxvf linux-6.10.tar.gz -C /usr/src/
cd /usr/src/
mv linux-6.10 linux-kernel-6.10
cd linux-kernel-6.10/
rpm -ivh /root/kernel/kernel-source-6.6.0-28.0.0.34.oe2403.x86_64.rpm
cd linux-kernel-6.10/
cp …/linux-6.6.0-28.0.0.34.oe2403.x86_64/arch/x86/configs/openeuler_defconfig openeuler_defconfig arch/x86/configs/
make openeuler_defconfig
make -j2
make binrpm-pkg -j64
rpm -ivh ./rpmbuild/RPMS/x86_64/kernel-6.10.0-2.x86_64.rpm
rpm -Uvh ./rpmbuild/RPMS/x86_64/kernel-headers-6.10.0-2.x86_64.rpm
rpm -Uvh ./rpmbuild/RPMS/x86_64/kernel-devel-6.10.0-2.x86_64.rpm
2,启动后,kernel报错,
kernel panic: VFS: can’t mount root on unknown block(0,0)
另外发现安装新内核后,/boot目录 未生成 initramfs img文件。
如下图: 报错与分区信息