LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-03-2003, 06:16 AM   #1
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Rep: Reputation: 15
Question new kernel with dpkg -i


howdie,

I would like to install a newer kernel "the debian way", as it seems to be called. I read the "very verbose howto" (http://ftp.sun.ac.za/ftp/linux/docs/...ianKernel.html). Eeverything seems logical to me (it is the debian-easy way I guess).

Finally what needs to be done is dpkg -i MyCuteLittleKernel.deb
this will install the kernel and also make changes to lilo so that I can boot my new kernel. Could someone tell me what sort of changes are being made to the lilo bootloader? or where I find this information...
Suppose something goes wrong and I want to return to my old kernel. I have to change things again in lilo? Or is there automatically a choice in the lilo menu between old and new kernel?

thanks for your time
 
Old 12-03-2003, 07:10 AM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Just go ahead and make sure that prompt is uncommented. The dpkg -i customkernel.deb will rotate the symlinks in / and have it point to the new one. This doesn't reboot your system though, so after it's done, just take a quick look-see at lilo.conf and make sure it is what you want. Then rerun lilo -v to be sure your multiple kernels are seen.

Good luck!
 
Old 12-03-2003, 10:26 AM   #3
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
thanks for your help!

I'll give it a try tomorrow :-)
 
Old 12-04-2003, 03:21 PM   #4
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
yipie... my 2.4.23 kernel is working
ok I first screwed up lilo and had to boot from a gentoo cdrom to get things running again (I am one of those stupid people that does not create boot floppies), after fixing lilo everything worked fine except the network interfaces (dhcp wouldn't start.. something with CONFIG_PACKET and CONFIG_FILTER), but it's fixed!

now waiting for the 2.6 to become stable :-)
 
Old 12-04-2003, 03:25 PM   #5
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yes, for dhclient, those must be enabled. I always forget them too. Nothing a quick make menuconfig and recompile can't fix though.
 
  


Reply



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
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
During 2.6.6 kernel compile, make-dpkg not found? R00ts Debian 5 07-06-2004 11:56 PM
dpkg rch Linux - Distributions 6 05-15-2003 08:25 AM
dpkg -l dunkyb Linux - Software 5 02-04-2003 03:18 PM

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

All times are GMT -5. The time now is 03:10 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