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.
I use apt-get install kernel-image-2.4.26-1-686 and after I rebooted, I got the lovley message "Kernel Panic: VFS: Unable to Mount root fs on 03:01"
I looked through the start and 1 mager thing is missing, the IDE control is not getting loaded.
this most likely means that the kernel cannot find the initrd file. this is a root fs image that the kernel mounts as a type virtual file system for boot purposes(hence 'type vfs'). you should try getting a rescue disk and booting into your system. If you use lilo you need to edit /etc/lilo.conf and add the line 'initrd=/initrd.img' or wherever the image is located. oh, and make sure the file _exists_.
I'm sorry, I don't know much about how debian manages things. The only thing I can ask is whether or not you entered the root='/dev/your_root_drive' correctly in the lilo.conf. The root option should point to the disk partition where your '/' directory is installed. Here an example from my lilo.conf
Hello there,
I had the exact problem before but fortunately a friend of mine is a debian
developer so he solved it on the fly.
As for as I remember, the problem was with the initrd.And thats what one
of the previous replies suggested.
u need to add the initrd line to ur lilo. However, that line should be pointing
to the initrd location in ur file system. so in order to create that initrd u need
to use the command make-kpkg with the --initrd option which generates the
necessary file which u need to refrence in the lilo.
U can read through the man page of "make-kpkg" and how to use the --initrd
option.
Here is where my initrd is located in /
lrwxrwxrwx 1 root root 27 Jun 6 05:02 initrd.img -> boot/initrd.img-2.6.6-1-686
so as u c what means by initrd=/initrd.img line in the lilo ,is that it is pointing to that
symbolic link which in turn points to the location of the actual initrd (the one u should
get form make-kpkg). And if I understand well u can even replace that initrd=/initrd.img
by initrd=/location_of_generated_initrd. creatin a symbolic link is just a fancy thing I think.
I am completely new to linux and thats all I remembered from that kernel panic
problem I had. I hope it helps. ah, and dont 4get to type "lilo" after editin and
saving lilo.conf
Last edited by OneManArmy; 06-22-2004 at 01:00 PM.
I got it to boot the kernel in the weirdest way (as I see it) I added the old kernel to the lilo.conf file and it booted the new kernel all the way but it didnt load my network card. So am I missing something or is my kernel lacking the support for that card??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.