[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gentoojp-users 915] Re: mozilla-firebird



竹島です。
いろいろお教え戴いたのですが、
まだ恐くて kernelのupができないでいます

genkernelはスクリプトですが、理解するには難しすぎます。
で、手動の方を目指しました。
gentooはdebianとファイルの配置の仕方が違うので、

 > > debianでは
 > > cd /usr/src
 > > apt-get install kernekl-source-2.4.21
 > > tar xvfj  kernekl-source-2.4.21
 > > rm -f  linux
 > > ln -s  kernekl-source-2.4.21  linux
 > > cd  linux
 > > cp /boot/config-2.4.20-3-686-smp .config
 > > make  oldconfig
 > > make  menuconfig
 > > というふうに make  menuconfig の前にmake  oldconfigをして 古い2.4.20カーネルのconfig
 > > をmake  oldconfigして 新しい2.4.21カーネルのconfigに再利用しようとする課程があるのですが、
 > > gentooでも同じ事をしてもいいのでしょうか?
 > 大丈夫です.というか僕なんかはいつもコピーしてから直接 menuconfig してますが
 > 特に不具合が出たことはないです.
 
自分の環境では
 gentoo root # cd /usr/src/
 gentoo src # ls
 linux  linux-2.4.20-gentoo-r7  linux-2.4.20-gentoo-r8
となっていて 
 
 gentoo src # ls -l linux
 lrwxrwxrwx    1 root     root           22 Oct  1 16:41 linux -> linux-2.4.20-gentoo-r7
とリンクがかかってます。 

 gentoo src # ls linux/.config
 linux/.config
 なので
 
cd /usr/src
rm -f  linux
ln -s  linux-2.4.20-gentoo-r8  linux
cd  linux
cp  /usr/src/linux-2.4.20-gentoo-r7/.config  ./
make  oldconfig
make  menuconfig

と いった具合でよろしいのでしょうか?
くどくて済みません。