Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[solved!]cannot boot compiled kernel in grub (SUSE 9.1)
NICE!!! Thanks to Thoreau and Eagle_Seven for responding!!!
I finally got it all worked out
Ok, I installed SUSE 9.1 (installation was very smooth BTW), and proceeded to compile a new kernel (2.6.7)-- which worked fine. I have now inserted the following lines of code into grub:
title Linux kernel 2.6.7
root (hd0,3)
kernel /boot/vmlinuz-2.6.7 root=/dev/hda2
BTW, I was told that my new compiled linux kernel can be found on the same file system as SUSE9.1, so I basically copied the code. My default linux boot is also located at (hd0,3) and root=dev/hda2
So when I try to boot up my new kernel, it load for a few seconds, then hangs with the following error(s):
VFS: Cannot open root device "\dev\hdc4" or unknow block (0,0)
Please append correct root= boot option
Kernel Panic: VFS: Unable to mount root fs on unknow block (0,0)
Any ideas where I'm going wrong??
TIA
Last edited by stupidloser; 08-10-2004 at 04:34 AM.
You may not have compiled in your filesystem support like reiserfs, ext3, xfs, etc for the /boot directory. It cannot be a module if your kernel needs to mount it as boot. It must be checked as Yes, not modular. Or the kernel may not actually be there under that name in the /boot directory.
just an idea, but if Suse is the C drive, is that the third partition of the first hard drive? Because, if I remember Windows correctly, C is the first partition. IN that case, its root (hd0,0), and so it wouldn't find the Kernal on the third partition, if it don't exist. I has similar problems when I installed Suse last week. Just be sure you get the hard drives straight.
HD1, partion 1 (hd0,0)
HD1, partition 2 (hd0,1)
HD2, Partition 1 (hd1,0)
and so on
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.