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. |
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 |
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" |
All times are GMT -5. The time now is 12:59 PM. |