Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-26-2004, 05:42 AM
|
#1
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
custom kernel with Debian kernel-package
I have a new sarge net install that I have been trying to compile a new 2.6.6 kernel for.The boot hangs after freeing unused kernel memery,just stops.In /boot there isn't a initrd.img for this kernel.I have done this before on other machines without any problems,what am I missing,thanks david
|
|
|
06-26-2004, 10:57 AM
|
#2
|
Member
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302
Rep:
|
You need to give some extra option when compiling: --initrd or something, read the man-page of make-kpkg for details. Make sure you have an initrd option in your bootloader-configuration.
You can also compile a kernel without initrd: in that case you must compile the support for filesystems into the kernel, and not give an initrd option in your bootloader.
Succes
|
|
|
06-26-2004, 04:31 PM
|
#3
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Original Poster
Rep:
|
I checked the .config file I saved and filesystem support was compiled directly into the kernel.I don't know what I'm doing wrong?
|
|
|
06-27-2004, 02:47 AM
|
#4
|
Member
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302
Rep:
|
any log files, error messages?
|
|
|
06-28-2004, 06:37 AM
|
#5
|
Member
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302
Rep:
|
Try compiling a kernel with an existing .config (the config-files in you /boot), maybe you have forgotten something in you kernel...
|
|
|
06-28-2004, 10:03 AM
|
#6
|
Member
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235
Rep:
|
I've had this problem too. The kernel should work without an initrd but I've never managed to get it working without one even if the fielsystems are compiled into the kernel (+automatically mount at boot selected)
|
|
|
06-28-2004, 10:57 AM
|
#7
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Original Poster
Rep:
|
I can use a kernel-image I get from apt but I get a lot of errors because it is looking for stuff I don't have.The last kernel I did myself was 2.6.3 and it went well.I'm unable to get a 2.6.6 or 2.6.7 to work,stops right after freeing swap after the file system says it has been mounted then just hangs.thanks for the help,david
P.S. I'm going to do one and just take out one thing like laptop support and see what happens!
Last edited by comprookie2000; 06-28-2004 at 11:06 AM.
|
|
|
06-29-2004, 01:31 PM
|
#8
|
LQ Newbie
Registered: Dec 2002
Location: Swindon UK
Distribution: FC2, Slackware 8.1 and 10
Posts: 29
Rep:
|
Hi,
If you have a kernel in /boot but no initrd, you can use the mkinitrd command to generate an initrd.img file. It worked for me today - I must have compiled the kernel without the --initrd option.
Bob
|
|
|
06-29-2004, 04:01 PM
|
#9
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Original Poster
Rep:
|
Thanks Bob,Yea I tried that on the last one I couldn't get to work but it still hung up but a little later.If I * filesystem support into the kernel,I didn't think it needed a initrd.img?
|
|
|
06-29-2004, 05:30 PM
|
#10
|
Member
Registered: Jun 2004
Distribution: Debian
Posts: 46
Rep:
|
Chipset
You did compile in the chipset your mobo uses right and the ide drivers are compiled and not modules. Just make sure you have the drivers compiled in for your mother board, file system, and IDE. That should get it to work. It sounds like you are just missing one little thing.
|
|
|
All times are GMT -5. The time now is 05:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|