Re: 关于编译核心的问题
Carlos 你好!
On Sat, Jul 01, 2000 at 02:20:53PM +0800, Carlos wrote:
> 大家好,我是Carlos,我最近下载了linux-2.2.16.tar.bz2
> 想把slink 从2.0.x升级,用modem就下载了差不多2天(13MB),
你不是去了国外的网站下载吧?台湾有很多 mirrors! ^_^
> 其中这个档案/usr/src/linux/Documentation/Changes,它告诉
> 我,若要成功安装2.2.16,某些套件不能太旧,像是gcc至少要在
> 2.7.2.3以上,但Changes档案中,所列出的某些套件,让我感到
> 疑惑,我把它列在下面:
> NFS 2.2beta40 ; showmount --version
> Ncpfs 2.2.0 ;ncpmount -v
> Pcmcia-cs 3.0.14 ; cardmgr -V
> isdn4k-utils v3.1beta7 ;isdnctrl 2>&1|grep version
>
> 像NFS,它说至少要在2.2beta40以上,才能成功安装2.2.16,但我
> 现在都是用apt-get,从不用NFS,那这样我还须要装吗?
你不用 NFS 的话,就不用安装 NFS。
> 另外上面列出的ncpfs,是专给Netware用的,所以我是不是不装
> 此套件,也不会影响到kernel的安装?而pcmcia-cs&isdn4k是否
> 也是如此?(我的是pc,非laptop,用ppp(modem)连线)
我全部都没有装。NFS 倒是装了,不过从来没有用过。
Changes 档案中列出的套件,只不过是你用到那些套件,才要
确保是新版而已。我也是用 ppp (modem) 连线。 ^_^)
记得编译 kernel 2.2.16 时,用 kernel-package (Debian 套件),
也要安装 fakeroot。再读 /usr/doc/kernel-package/README.gz。
用 make-kpkg 在 Debian 底下编译核心,会自动帮你制
kernel-image_2.2.16-custom.1.0_i386.deb,这样,安装和反安装,
一样方便了。就像以下所说的一样简单了。 ^_^
For the Brave and the impatient:
Phase ONE: Getting and configuring the kernel
1% cd <kernel source tree>
2% make config # or make menuconfig or make xconfig and configure
Phase TWO: Create a portable kernel image .deb file
3% make-kpkg clean
4% $Get_Root make-kpkg --revision=custom.1.0 kernel_image
(Get_Root is whatever you need to become root -- fakeroot or
sudo are examples that come to mind).
Phase THREE: Install the kernel image on one or more machines
5# dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb
6# shutdown -r now # If and only if LILO worked or you have a means of
# booting the new kernel. YOU HAVE BEEN WARNED!!
(读完 /usr/doc/kernel-package/README.gz 才来。)
另外,如果你不嫌等的话, Debian 2.2 将于七月底左右推出,
内含 kernel-2.2.17pre6。 ^_^
东东 <foka@debian.org> ^_^
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian Chinese Project -- http://www.debian.org/international/chinese/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
--
| This message was re-posted from debian-chinese@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to:
- References:
- 关于编译核心的问题
- From: "Carlos" <mildman@kimo.com.tw>