LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel Installation Under Debian (Sarge) (https://www.linuxquestions.org/questions/linux-software-2/kernel-installation-under-debian-sarge-263006/)

PeaceTank 12-05-2004 06:57 PM

Kernel Installation Under Debian (Sarge)
 
Trying to install kernel 2.6.8 under Debian (Sarge) and I've been getting quite an odd message.

I compile the kernel normally and recieve no error messages. Yet when I go to reboot I get a kernel panic stating that something is wrong with my grub configuration (either my partition like (hd0,0) or root fs flag like /dev/sda1 is wrong.

That's all fine, but the thing is that I did this all using deb packages and the grub menu.lst was automatically updated.

I'll give you all a copy of the entries in /boot/grub/menu.lst and an fdisk partition scheme to see if you all can catch anything I missed. Thanks a lot.

Entries in /boot/grub/menu.lst (the 2.4.27-1-386 entries work fine)

title Debian GNU/Linux, kernel 2.6.8
root (hd0,0)
kernel /boot/vmlinuz-2.6.8 root=/dev/sda1 ro
savedefault
boot

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

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

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


fdisk scheme (reiserfs)

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19685 158119731 83 Linux
/dev/sda2 19686 20023 2714985 f W95 Ext'd (LBA)
/dev/sda5 19686 20023 2714953+ 82 Linux swap

PeaceTank 12-05-2004 07:32 PM

just fyi the exact kernel panic is:


VFS: Cannot open root device "sda1" or unknown block (0,0)
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on unknown block (0,0)


I'm still at a loss

xucaen 12-05-2004 08:25 PM

Quote:

Originally posted by PeaceTank
just fyi the exact kernel panic is:


VFS: Cannot open root device "sda1" or unknown block (0,0)
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on unknown block (0,0)


I'm still at a loss

This just happened to me on my debian sarge system. I did a dist-upgrade and everything went to hell.. then I did some google searches from my laptop and found this

http://groups.google.com/groups?q=di...bofh.it&rnum=4

apparently there is a critical bug that causes an upgrade to fail. I am searching for a recovery CD now. I am going to attempt to use the Sarge CD disk one as a recovery disk. Not sure if it will work.
I will post what I find.

Good luck..

Jim


All times are GMT -5. The time now is 12:54 PM.