LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   During 2.6.6 kernel compile, make-dpkg not found? (https://www.linuxquestions.org/questions/debian-26/during-2-6-6-kernel-compile-make-dpkg-not-found-201630/)

R00ts 07-06-2004 03:31 AM

During 2.6.6 kernel compile, make-dpkg not found?
 
I know that we don't need yet another kernel compilation thread, but this didn't fit into any of the others. I am using the following guide to compile the 2.6.6 kernel for my Debian sarge system which is currently running the 2.4.25 kernel. I already did make menuconfig and everything is set to go according to this guide: http://www.desktop-linux.net/debkernel.htm. But when I go to make the source here is what I get:

Code:

localhost:/usr/src/linux# make-kpkg buildpackage -rev Custom.1 kernel_image
bash: make-kpkg: command not found

I don't know what to do from here. I tried using apt-cache search to see if I was missing something but I couldn't find anything. :confused: Please help me, I'm really anxious/excited to get my newly configured kernel up and running :D Thanks in advance!

vimico 07-06-2004 03:44 AM

you're right. it seems they forgot to install the most important part - the kernel-package.

The following apt-get should install everything else you need (if it is not already there).

Code:

apt-get install libncurses5-dev make gcc bin86 libc6-dev kernel-package

R00ts 07-06-2004 03:52 AM

Yup I was missing kernel-package. Thanks a lot sir/madam, now everything is great! :cool:

R00ts 07-06-2004 06:55 AM

I spoke too soon.....
 
So I installed the kernel successfully after it compiled, but things aren't great. :( I get the following messages during boot-up:

Code:

VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root= " boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

Ok.....so I hope all I need to do to fix this is to append a correct root= boot option! :p The question is, where? I followed that guide completely, but it didn't say anything about making/installing the modules. Should I have done this, or were the modules already made/compiled into my .deb custom kernel? Thanks, and don't hate the :newbie: :D

comp12345 07-06-2004 01:38 PM

The most common problem is either you did not compile built-in support for your IDE chipset(under Device Drivers->ATA/ATAPI/MFM/RLL) or you compiled it as a module. Check and make sure you have it built-in.

R00ts 07-06-2004 11:56 PM

Quote:

Originally posted by comp12345
The most common problem is either you did not compile built-in support for your IDE chipset(under Device Drivers->ATA/ATAPI/MFM/RLL) or you compiled it as a module. Check and make sure you have it built-in.
I checked and it was a module, so I re-compiled but still the same problem. I asked my friend and he said he had the same problem, but after he changed his bootloader from grub to lilo it worked fine. So I'm going to try that and see if it works. Thanks anyway though.


All times are GMT -5. The time now is 04:38 AM.