LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-19-2005, 02:01 AM   #1
donaldtalbert
LQ Newbie
 
Registered: Jun 2005
Location: USA / West Virginia
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Exclamation Cannot boot kernel (no initrd.img ??)


I just complied my first kernel for debian ver . 2.8.6 for intel 4 processors
and i think i might of messed up on configureing it.
after building it i get...
(this is when i boot it)
VFS: Cannot open root device "hda1" or unknown-block (0.0)
Please append a correct "root=" boot option
kernel panic: VFS:Unable root fs on unknown -block(0.0)

i think hda1 is my hard-drive but im not 100% sure. if that helps any.
if you need any more specs on my pc its few stock medion md1777 (didnt change any hardware yet). Thanks in advance.

btw other default kernels work fine.

Last edited by donaldtalbert; 06-19-2005 at 06:57 AM.
 
Old 06-19-2005, 02:49 AM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
how many hard-drives do you have?
how many partitions do you have? which one has debian on it?

post contents of /boot/grub/menu.lst (assuming grub is used) or /etc/lilo.conf (for lilo).
thanks
 
Old 06-19-2005, 03:06 AM   #3
donaldtalbert
LQ Newbie
 
Registered: Jun 2005
Location: USA / West Virginia
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
I have 1 hard drive
only 1 patition for debian

Contents of grub: (without comments)
_____________________________________________________
title Debian GNU/Linux, kernel 2.6.8.030320
root (hd0,0)
kernel /boot/vmlinuz-2.6.8.030320 root=/dev/hda1 ro
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8.030320 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8.030320 root=/dev/hda1 ro single
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-686 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot

title Debian GNU/Linux, kernel 2.4.27-2-386
root (hd0,0)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot

___________________________________________________________

I complied the "Debian GNU/Linux, kernel 2.6.8.030320" (date is wrong) and the one i am useing now that im using now that works is "Debian GNU/Linux, kernel 2.6.8-2-686"

Last edited by donaldtalbert; 06-19-2005 at 06:55 AM.
 
  


Reply


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
Problem booting udev-based distros on external hard drive mcphail Linux - General 1 09-02-2005 09:58 PM
cannot mount already formatted secondary hard drive on newly installed debian angmar Debian 8 08-05-2005 01:12 PM
problem copying knoppix kernel to hard drive fatblueduck Linux - General 4 06-14-2005 06:16 PM
Strange problem with lilo and booting other Hard Drive BajaNick Linux - General 5 01-15-2005 11:43 AM
New Redhat kernel chokes on external hard drive when booting notoneword Linux - Newbie 0 03-30-2003 05:29 PM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration