LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Custom Kernel 2.4.27 install problems (sarge) (https://www.linuxquestions.org/questions/debian-26/custom-kernel-2-4-27-install-problems-sarge-274934/)

KaraK 01-07-2005 04:15 AM

Custom Kernel 2.4.27 install problems (sarge)
 
following my bigmem problems (see: "Sarge + 1GB How?") I installed the packages kernel-package and kernel-source-2.4.27 and attempted to re-compile the kernel, I used

make menuconfig

and turned the bigmem 4GB option on and then did

make-kpkg kernel_image

in the kernel source tree it built ok and provided me with a .deb file of the new kernel image which I installed with a

dpkg -i packagename.deb

which updated grub's menu.lst for me. Rebooted the system and selected the new kernel option from the boot menu and it kernel panicked complaining that I need to append a "root=/" option to the kernel but the the thing is that it already has the appropriate root=/dev/md0 option according to grub.

Where did I go wrong? apart from the names the only other difference I can see to the previous kernel boot option (which still works fine) is that the old one has an initrd line pointing to an initrd.img file (no corresponding line nor .img file appears to exist for the new version)

what have I done wrong/missed out? I've built a custom kernel before but didnt use kernel-package to do it and I was using LILO as a boot loader then as well so I'm in new territory...

m_yates 01-07-2005 08:12 AM

Try re-compiling again with an initrd. Do
Code:

cd /usr/src/linux
make-kpkg clean
make-kpkg --initrd --append-to-version=-bigmem kernel_image

The new .deb file will automatically create the initrd image when you install it using dpkg.

KaraK 01-07-2005 10:47 AM

yeppers - that solved it :)

should have guessed that one really, am booting from software RAID so without an initrd image I wouldnt be going very far would i? :)


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