LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-05-2004, 07:10 AM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
Need some advice on upgrading kernel via make-kpkg


From http://www.osnews.com/story.php?news_id=2949&page=2

What is the reason behind creating a symbolic link called "linux" in :-

Step 7: (Creating a symbolic link called "linux", which points to "linux-2.4.20")
Finally, we can create a symbolic link called "linux" that will point to our new kernel source code, which is located in the "linux-2.4.20" directory. Enter "ln -s linux-2.4.20 linux" at the command line to create this symbolic link. If you type "ls -l" at the prompt, you should now see a symbolic link called "linux" that is pointing to the "linux-2.4.20" directory (or the directory for whichever version of the kernel you decided to download).

Is this step necessary?

Thanks !
 
Old 04-06-2004, 02:46 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have not found it necessary with the make-kpkg but you would need it if later you want to compile other apps that need to reference the kernel source. Perhaps someone else can comment.
 
Old 04-07-2004, 06:26 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
it is necessary when you don't know why. check lilo.conf
 
Old 04-07-2004, 11:08 AM   #4
Outabux
Member
 
Registered: Apr 2003
Location: Greenwood Mississippi
Distribution: Debian.
Posts: 241

Rep: Reputation: 30
several drivers including nvidia's will look for the source, unless its there u'll have to do some fudging with its options to get it pointed in the right direction

it makes upgrades easier also, just rm -r linux, and redo ...
 
Old 04-07-2004, 07:02 PM   #5
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
In my / directory, my vmlinuz is linked to my latest kernel.

david:/# ls -l vmlinuz
lrwxrwxrwx 1 root root 26 Apr 8 14:56 vmlinuz -> boot/vmlinuz-2.4.25.040801

Grub's menu.lst:

title Debian GNU/Linux, kernel 2.4.25.040801
root (hd0,2)
kernel /boot/vmlinuz-2.4.25.040801 root=/dev/hda3 ro
savedefault
boot

title Debian GNU/Linux, kernel 2.4.25.040801 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.25.040801 root=/dev/hda3 ro single
savedefault
boot

title Debian GNU/Linux, kernel 2.4.18-bf2.4
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hda3 ro
savedefault
boot

title Debian GNU/Linux, kernel 2.4.18-bf2.4 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hda3 ro single
savedefault
boot

However, as shown above, if I boot into the older kernel 2.4.18-bf2.4, the vmlinuz will be pointing to the wrong directory? Will that have any effect?

Thanks !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
build kernel with make-kpkg wrong processor type stockerz Debian 4 02-03-2005 11:14 PM
Kernel make-kpkg error TaNeK Debian 7 01-09-2005 12:24 PM
make-kpkg not working, so no kernel includes genixpro Linux - Hardware 3 09-14-2004 06:56 PM
"make-kpkg --revision=foo.1.0 kernel_image" gives some errors (kernel 2.6.3) Duukkis Debian 14 05-23-2004 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration