LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 929|回复: 5

slackware10的内核怎么是2.4.26?

[复制链接]
发表于 2004-6-26 22:15:40 | 显示全部楼层 |阅读模式
slackware10的内核怎么是2.4.26?
怎么样的安装才是2.6的内核?
发表于 2004-6-26 22:24:38 | 显示全部楼层
第2张盘testing文件夹,源代码
 楼主| 发表于 2004-6-26 22:32:01 | 显示全部楼层

需要自己重新编译?

需要自己重新编译?
发表于 2004-6-28 17:22:17 | 显示全部楼层

需要自己重新编译?

no. There are 2.6.6 packages.
 楼主| 发表于 2004-7-1 22:01:31 | 显示全部楼层

能不能给个具体的安装说明阿?

而且tesing目录下的是2.6.7的内核不是2.6.6的阿?

thanks!
发表于 2004-7-1 22:13:10 | 显示全部楼层

From distro watch weekly

The new Slackware 10.0

The fans of the oldest surviving Linux distribution once again had a reason to celebrate last week as Slackware Linux entered the double-digit release figures with version 10.0. If you haven't tried it yet, do yourself a favour and get the release; unless you insist on having graphical utilities for all configuration tasks, you won't be disappointed - Slackware 10.0 continues in its tradition of simplicity and reliability. It comes with KDE 3.2.3, GNOME 2.6.1, and many other up-to-date applications.

Some users might be disappointed about the fact that the Linux kernel in Slackware 10.0 remains at version 2.4. But as we have seen with other distributions, the 2.6 kernel still has a long way to go before it becomes a truly stable kernel that can be given the responsibility to power important servers and desktops. Trust Patrick Volkerding on this one - he has been developing Slackware for over 10 years and he knows. At Slackware, technical decisions usually take precedence over marketing ones, which is not always the case with the big commercial distributions.

Of course, many of the more advanced users are already running Slackware Linux 10.0 with kernel 2.6.7. The relevant package can be found in the testing/packages/linux-2.6.7 directory on the second CD. There is no option to select this kernel during installation so you will have to install it manually with 'installpkg':

   installpkg kernel-generic-2.6.7-i486-1.tgz

You can also install the alsa-driver, kernel-headers and kernel-modules packages with the same command. Before you can boot the new kernel you will need to do two more things. Firstly, you will have to create initrd so that you can load certain kernel modules before mounting the root partition. The details are in the README.initrd file in the same directory as the kernel 2.6.7. The required command depends on the root partition's file system - you were given a choice between ReiserFS (default) and ext3; if you chose ext3, then navigate to the /boot directory and issue the following command:

   mkinitrd -c -k 2.6.7 -m jbd:ext3 -f ext3 -r /dev/hdb3

The /dev/hdb3 in the above command should of course be replaced with the root partition of your Slackware installation. If you chose ReiserFS, you can achieve the same with this command:

   mkinitrd -c -k 2.6.7 -m reiserfs

Secondly, you will have to update your /etc/lilo.conf file to look something like this:

   image = /boot/vmlinuz-ide-2.4.26
     root = /dev/hdb3
     label = Linux-2.4
     read-only
   image = /boot/vmlinuz-generic-2.6.7
     initrd = /boot/initrd.gz
     root = /dev/hdb3
     label = Linux-2.6
     read-only

Again, you need to replace /dev/hdb3 with the root partition of your own Slackware installation. Don't forget to execute the 'lilo' command after saving the modified lilo.conf file.

When you reboot, the lilo prompt will give you a choice to select between the two kernels. While the majority of users are unlikely to experience problems with the newer one, some hardware combinations are known to cause problems. If this is your case, the tried and tested kernel 2.4 is still available for your booting pleasure.

Whatever your choice, happy Slacking ;-)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表