1) 如果你在vmware下重新编译内核,硬盘用的是scsi的,以下选项必选:(或者使用IDE的硬盘)
&">nbsp; Device Drivers --->;
SCSI device support --->;
<*>; SCSI disk support
Device Drivers --->;
SCSI device support --->;
SCSI low-level drivers --->;
<*>; BusLogic SCSI support
2) Device Drivers --->;
Fusion MPT device support --->;
<M>; Fusion MPT (base + ScsiHost) drivers
<M>; Fusion MPT misc device (ioctl) driver(这个要不要,不确定)
3) 编译过程
make menuconfig
make dep (2.6不需要)
make bzImage
make modules
make modules_install
make install
4) make bzImage报image too big
把sound,usb选为modules, 或去掉一些不需要的选项.
5) make install得到以下warnning
WARNING: No module mptbase found for kernel 2.4.26, continuing anyway
WARNING: No module mptscsih found for kernel 2.4.26, continuing anyway
make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot''
6) 如果文件系统挂不上或 "unable open initial console"
原因是root的启动选项没有设置对. root=LABEL=/ 改为 root=/dev/hda1
具体, 可以使用ls /etc/fstab 和 df命令来确定你的root目录挂在哪里.
注意:每次修改lilo.conf, 都要使用/sbin/lilo命令更新一下, 否则修改内存不会生效
7) 启动时还是modprobe错误, eth0初始化也失败, 不知怎么搞得.