编译内核后不能起动
我用rh9 . xp我用rh9编译2.6.0-test11的内核总是不成功.
root (hd0,7)
Filesystem type is ext2fs , parition type 0x83
Kernel /vmlinuz-2.6.0-11ro root=LABLE=/ hdc=ide-scsi
显示Error13:
Invalid or unsupported executable format
我的步骤是;make mrproper
make xconfig
make dep
make bzImage
make modules
make modules_install
# cp /usr/src/linux/arch/i386/boot/linux.bin /boot/vmlinuz-2.6.0-11
# mkinitrd /boot/initrd-2.6.0-11img 2.6.0-11
在修改grub.conf
加入 title Red Hat Linux (2.6.0-11)
root (hd0,7)
kernel /vmlinuz-2.6.0-11 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.19.img
还有我用make dep总是不成功.
显示make dep ...unnecesssry..
那位大虾帮帮我! 2.6内河不需要 make dep 你可能需要修改kernel /vmlinuz-2.6.0-11 ro root=LABEL=/ hdc=ide-scsi
成kernel /vmlinuz-2.6.0-11 ro root=/dev/hdax
x具体是几在grub.conf开头的注释中会有。 "# cp /usr/src/linux/arch/i386/boot/linux.bin /boot/vmlinuz-2.6.0-11 "
u should cp bzImage
" make dep ...unnecesssry.. "
already tell u.unnecesssry..
页:
[1]