关于内核配置??
我在对内核进行配置编译,是内核尽可能的小。在make menuconfig 之后,我去掉了很多选项。编译成功后 bzImage 有465kb。
引导。。出现...之后不能引导。
modprobe :modprobe: Can't locate module net-pf-1
我想问
1)在配置中那些是必须选择的。老师要求我们只保留基本的功能。
2)另外我如何修改我的lilo.conf是他实现新老内核的选择启动。
我的linux : redhat 6.0
lilo.conf 如下
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=dos
image=/boot/vmlinuz
label=linux
read-only
root=/dev/hda6
other=/dev/hda1
label=dos cp u bzImage to /boot as vmlinuz-new, and add
image=/boot/vmlinuz-new
label=linux
read-only
root=/dev/hda6
after modifying the lilo.conf. run lilo to make the modification effective. check u /etc/module.conf, that net-pf-1 is unix domain protocol, used by kernel internally. so u have to choose< *> Unix domain sockets under network options. it can be removed however.
我这样改对不对!
boot=/dev/hdamap=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=dos
image=/boot/vmlinuz
label=linux
read-only
root=/dev/hda6
image=/boot/vmlinuz-new
label=linux-new
read-only
root=/dev/hda6
other=/dev/hda1
label=dos
这样后:在lilo 我输入 dos 就进入 windows ;输入 linux 就进入旧内核的linux ;输入linux-new就进入新内核的linux。
是这样改吗? nod,
页:
[1]