| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-22-2007, 03:16 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2007
Location: Finland
Distribution: Gentoo Linux
Posts: 4
Rep:
|
Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block (1,0)
Hello everyone!
I'm running Gentoo Linux, and tried to compile the kernel from r7 to r6. Now when I boot into the newer kernel it throws the kernel panic message.
No filesystem could mount root, tried:reiserfs ext3 ext2 msdos fuseblk jfs vfat iso9660 ntfs. Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block (1,0)
And here is my grub menu.lst:
default 0
timeout 30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title=Gentoo Linux r6
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192$
title=Gentoo Linux r7
root (hd0,2)
kernel /boot/kernel-genkernel-x86-2.6.17-gentoo-r7 root=/dev/ram0 init=/linuxrc$
initrd /boot/initramfs-genkernel-x86-2.6.17-gentoo-r7
title=Win XP
rootnoverify (hd0,0)
makeactive
chainloader +1
I've been trying to get this to work for a day now and I'm all out of ideas. Thanks in advance! 
|
|
|
|
04-22-2007, 07:25 AM
|
#2
|
|
Member
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161
Rep:
|
IS your /boot on a seperate partition ??
|
|
|
|
04-22-2007, 07:47 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2007
Location: Finland
Distribution: Gentoo Linux
Posts: 4
Original Poster
Rep:
|
No, I have currently one S-ATA disk, and it is partitioned like this: hd(0,0)=Win XP, hd (0,1) swap, hd (0,2) root, hd(0,3) /home. My root and /home are both in ext3.
|
|
|
|
04-22-2007, 07:57 AM
|
#4
|
|
Member
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161
Rep:
|
Try changing the root=/dev/ram0 to /dev/sda3
And also if that dont work get rid of all those options after the kernel make it will make it easier to debug
|
|
|
|
04-22-2007, 08:41 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2007
Location: Finland
Distribution: Gentoo Linux
Posts: 4
Original Poster
Rep:
|
After I changed the root=, it threw another, different error;
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
Well, gotta try to remove the extra boot option thingies.
Edit: Removed them all, and no change happened. The error stayed as above ^
Last edited by Zenx; 04-22-2007 at 08:47 AM.
|
|
|
|
04-22-2007, 09:53 AM
|
#6
|
|
Member
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161
Rep:
|
ok sounds to me that you havent enabled the correct options for your file system in your kerenl conf. Hav a look.
|
|
|
|
04-22-2007, 10:32 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2007
Location: Finland
Distribution: Gentoo Linux
Posts: 4
Original Poster
Rep:
|
Allright, I tried enabling every SATA-controller in the kernel, but it still doesn't work! It still whines about that it can't mount root fs, although i've checked every ext2 and ext3 box in the filesystem screen.
|
|
|
|
05-05-2007, 09:45 AM
|
#8
|
|
LQ Newbie
Registered: Nov 2003
Distribution: RedHat 9
Posts: 4
Rep:
|
Hi all. I am getting the same error when updating from 2.6.18-r6 to 2.6.20-r7 (gentoo sources). I checked my .config for the new sources and my file systems are already compiled into the kermel. help please.
|
|
|
|
05-05-2007, 01:50 PM
|
#9
|
|
Member
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161
Rep:
|
it must be grub issues then. Are you specifying root=/dev/sda7 or similar in kernel opts line in grub.conf ??
|
|
|
|
05-06-2007, 11:50 AM
|
#10
|
|
LQ Newbie
Registered: Nov 2003
Distribution: RedHat 9
Posts: 4
Rep:
|
I think I found the problem. The new kernel sources have support for SATA in a new location from the old sources. I went and checked NVIDIA SATA (for my Motherboard) and recompiled. Everything works great now.
|
|
|
|
05-29-2009, 03:57 PM
|
#11
|
|
LQ Newbie
Registered: May 2009
Posts: 1
Rep:
|
Tnx It works fine
Quote:
Originally Posted by Adaptive
I think I found the problem. The new kernel sources have support for SATA in a new location from the old sources. I went and checked NVIDIA SATA (for my Motherboard) and recompiled. Everything works great now.
|
Yes exactly NVIDIA SATA SUPPORT .
|
|
|
|
06-03-2009, 02:45 PM
|
#12
|
|
LQ Newbie
Registered: Apr 2005
Location: Columbus
Distribution: Gentoo, LFS, Ubuntu
Posts: 2
Rep:
|
Thank you! I was having the same issue and about to put my head through the wall :]
|
|
|
|
08-04-2010, 05:33 AM
|
#13
|
|
LQ Newbie
Registered: Aug 2010
Posts: 1
Rep:
|
hardware malfunction
Hi. I had the same problem and finally figured out that it was a bad RAM item. After replacing it everything went good.
You need to run Memtest86 at start up and find if it is the issue.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|