LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-13-2006, 04:19 PM   #1
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Rep: Reputation: 15
Unable to boot kernel


I compiled my own kernel following these instructions: http://www.debian.org/doc/FAQ/ch-kernel.en.html When I try to reboot in my new kernel I get this error message:

"Cannot open root device"

I checked my menu.lst everything appears to be fine:

Code:
title		Debian GNU/Linux, kernel 2.6.15-1-486
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro 
initrd		/boot/initrd.img-2.6.15-1-486
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.15-1-486 (single-user mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro single
initrd		/boot/initrd.img-2.6.15-1-486
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.15
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15 root=/dev/hda2 ro 
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.15 (single-user mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15 root=/dev/hda2 ro single
savedefault
boot
The 486 kernel boots fine, my own kernel doesn't. The only difference is the inird file which isn't mentioned in de Debian manual What can i do?

Last edited by erpe; 07-13-2006 at 04:21 PM.
 
Old 07-13-2006, 04:30 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Did you remember to compile in your chipset and root filesystem type (for example mine is piix and ext3)? If you don't use initrd, they have to be compiled in as "Y" instead of as "M".
 
Old 07-13-2006, 04:43 PM   #3
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
I think the chipset is the problem! Where can I set this?
 
Old 07-13-2006, 04:58 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
When you do make gconfig (or xconfig) to configure your kernel, it is buried under "Device Drivers". If you have ATA (i.e. IDE disks, not SATA or SCSI) you'll want to go under the ATA/ATAPI/IDE section and then into "PCI IDE Chipset Support" and then to "Generic PCI bus-master DMA support."

At leat that's how it is on the 2.6.16.19 kernel that I compiled last month.

You'll just have to poke around a bit under device drivers. Make sure you know what your chipset is.
 
  


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
Unable to boot any kernel after compile BobNutfield Slackware 13 03-14-2006 01:08 PM
kernel problem unable to boot jwijesundra Linux - General 1 01-08-2005 02:10 AM
dhcpd.conf (Unable to boot Kernel) Eileen Linux - Networking 3 11-16-2004 09:13 AM
unable to boot!!!!! kernel panic error Xavius Slackware 5 11-01-2004 07:20 PM
Unable to boot Kernel-2.6.5-mm6 on P4 with HT Support saqib Linux - Hardware 0 04-29-2004 02:14 AM

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

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