LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-26-2003, 02:15 AM   #1
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Wink deb package from the running kernel


I was wondering, Could I make a deb package that will include all the files necessary for the running kernel, including the kernel image?

I am thinking of changing to 2.4.20 or 2.4.18 but I am not sure if the new kernel will satisfy me and I don't want to loose the current kernel....I case the new one fails.

I also would like to have this backup in case I decide to customize my new kernel and I mess it up big time.

I don't have that much space on the hdd to make a backup.(By the way, Could this be a solution? If so how much space do I need?)
 
Old 08-26-2003, 02:21 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Usually you don't remove the old kernel until the new kernel is up and working fully. Kernels don't conflict.

When you install a kernel after the compile, you can add it to the boot list which comes up with LILO or grub, (In the install of a krenel-image deb if you use LILO it will ask do you want to add it automatically.)

If after a while you decide to remove the old kernel thats fine. Simply remove the files with the matching kernel numbers in /boot and the directory in /lib/modules.

USing make-kpkg is the best way to compile, and don't forget to use --appen_to_version.

Last edited by leonscape; 08-26-2003 at 02:23 AM.
 
  


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
How to make deb package chrisstooss Debian 6 09-16-2005 05:21 PM
the last installed deb package, how ? ag2uki Debian 7 08-15-2005 07:44 AM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 06:39 PM
NFS DEB Package? Al Hawley MEPIS 3 07-11-2005 10:16 AM
help with deb package on Xandros 3.0 xiongnu Debian 2 06-08-2005 11:03 PM

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

All times are GMT -5. The time now is 12:12 PM.

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