View previous topic :: View next topic |
Author |
Message |
ashish n00b
Joined: 23 Mar 2004 Posts: 2
|
Posted: Tue Mar 23, 2004 2:18 pm Post subject: help to install new kernel |
|
|
Hi
i want to install a new kernel (linux-2.6.3-gentoo-r1) but i do not want to disturb the old kernel (linux-2.4.22-gentoo-r5). I have a separate partition
/boot .
currently the ls -l /usr/src/linux shows
#ls -l /usr/src/linux
lrwxrwxrwx 1 root root 31 Feb 3 14:05 /usr/src/linux->/usr/src/linux-2.4.22-gentoo-r5
any ideas how to install the new kernel and make appropriate changes.
ashish |
|
Back to top |
|
|
50cc n00b
Joined: 19 Feb 2004 Posts: 49 Location: The Netherlands
|
Posted: Tue Mar 23, 2004 2:26 pm Post subject: |
|
|
What i would do is
Code: |
cd /usr/src
rm linux
emerge, copy whatever the new kernel
ln -s /usr/src/linux-2.6.3-gentoo-r1 /usr/src/linux
|
This is what my /usr/src looks like:
Code: |
bash-2.05b# ls /usr/src/ -l
total 3
lrwxrwxrwx 1 root root 12 Mar 16 06:03 linux -> linux-2.6.2/
drwxr-xr-x 16 root root 624 Feb 20 12:45 linux-2.4.22-gentoo-r7
drwxrwxr-x 19 1046 1046 1216 Mar 17 11:07 linux-2.6.2
|
|
|
Back to top |
|
|
|