LinuxQuestions.org
Help answer threads with 0 replies.
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 02-25-2004, 03:43 PM   #1
Maximus2000
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Rep: Reputation: 0
Using make-kpkg


Ok I have been trying to get my Mepis system from 2.4.22 to 2.6.3. I am runing into some issues and was wondering if instead of doing
# make xconfig
# make
#make install
# make modules_install

should I use:

#make-kpkg

If so what are the steps in doing this any help would be great.
 
Old 02-25-2004, 03:57 PM   #2
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Re: Using make-kpkg

Hi,

Quote:
Originally posted by Maximus2000
Ok I have been trying to get my Mepis system from 2.4.22 to 2.6.3. I am runing into some issues and was wondering if instead of doing
# make xconfig
# make
#make install
# make modules_install

should I use:

#make-kpkg

If so what are the steps in doing this any help would be great.
first of all install the "kernel-package" - package.

after that do a make [menu|x]config in your kernel tree

after doing that, do a "make-kpkg kernel_image" there

This builds the kernel image with the kernel modules that are from the kernel. If you also want to build modules that are not from the kernel, f.e. the nvidia kernel module you have to to a "make module_image" in the kernel tree. This builds all modules that resid in /usr/src/modules.

Btw. make-kpkg --help helps (surprise ! ) and make-kpkg --targets shows all the targets you can build ...

cu
 
Old 02-25-2004, 04:03 PM   #3
bdwilso2
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
# make menuconfig [to configure your kernel]
# make-kpkg clean [ removes debian dirs, etc from previous builds ]
# make-kpkg --revision=1.0myNewKernel+SMP kernel_image
# make-kpkg modules_image [ just in case you have any addon modules in /usr/src/modules .. like openafs ]

You will have 2 debian packages (or just 1 if you don't have any external non-kernel modules - NOT kernel modules, they will be included in the kernel_image) under /usr/src

# dpkg -i kernel-image-xxxx-1.0myNewKernel+SMP_i386.deb

Your kernel is now in /boot/vmlinuz and the old kernel is moved to /boot/vmlinuz.old


Hope that helps,
Brian
 
Old 02-27-2004, 07:24 PM   #4
reetep
Member
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 122

Rep: Reputation: 15
A complete guide is here:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

The document includes some useful advice about which packages you should have installed to make this process work properly and some "advanced issues" towards the end.
 
Old 02-27-2004, 09:20 PM   #5
Maximus2000
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks all

Thanks all I read the --help page and veiwed the web site and know I am going to try it out. This seems to be easier which is scary. Thanks alll again
 
  


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
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
where do i get make-kpkg linuxmandrake Debian 4 09-27-2005 04:42 AM
make-kpkg and distcc zerg4141 Debian 3 07-29-2005 10:22 AM
make-kpkg fails. Royle Debian 1 01-13-2005 03:07 AM
make-kpkg: command not found Leonig Mig Debian 3 09-09-2003 10:09 AM

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

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