LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-05-2004, 06:57 PM   #1
PeaceTank
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 55

Rep: Reputation: 15
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
 
Old 12-05-2004, 07:32 PM   #2
PeaceTank
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 12-05-2004, 08:25 PM   #3
xucaen
Member
 
Registered: Feb 2004
Location: Boston
Distribution: Kubuntu 22.04
Posts: 101

Rep: Reputation: 16
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
 
  


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
no printer in debian sarge 2.6 kernel Daveb3 Debian 22 07-27-2005 01:31 AM
Debian [sarge] installation kilaker Debian 3 06-17-2005 09:28 AM
Debian Sarge Installation grilledsalad Linux - Newbie 6 02-27-2005 02:07 AM
Cube + Debian (Sarge, Kernel 2.6.6-k7) Tsumeone Linux - Games 0 06-17-2004 02:46 AM
Persistent installation failures (Debian Stable, Sarge, Sid) massai Debian 10 02-08-2004 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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