Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-07-2005, 04:15 AM   #1
LQ Newbie
Registered: Jan 2005
Location: UK
Distribution: Mint
Posts: 15

Rep: Reputation: 0
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...
Old 01-07-2005, 08:12 AM   #2
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Try re-compiling again with an initrd. Do
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.
Old 01-07-2005, 10:47 AM   #3
LQ Newbie
Registered: Jan 2005
Location: UK
Distribution: Mint
Posts: 15

Original Poster
Rep: Reputation: 0
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compiling custom Kernel from install cd turtlespit Slackware - Installation 27 10-09-2006 09:48 PM
Custom kernel for Fedora 3 install godhugh Fedora - Installation 0 01-13-2005 02:32 PM
Debian install with custom kernel... robbow52 Debian 2 02-24-2004 04:38 PM
custom install kernel with NTFS support gokul Fedora - Installation 6 02-10-2004 08:21 AM
Custom install with newer kernel bones996 Red Hat 3 11-12-2003 04:06 AM > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration