Can't boot to another Linux kernel from boot loader
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Can't boot to another Linux kernel from boot loader
I hope I am on the right forum. I am running Mepis. When I choose either the 2.4 or the 2.6 kernel to boot the live CD and then install from it I can't pick the other kernel in the boot loader when I reboot from the hard drive. I get "Kernel panic: VFS: unable to mount root fs on unknown-block(0,0)" This happens whether I am going from 2.4 to 2.6 or from 2.6 to 2.4. I have done a complete reformatting of the drive, not just the partition, and there is no change. As long as I always boot to the same kernel Mepis seems to run fine. I am at the point where all of my work and applications (Win4Lin, etc.) and settings are installed and I don't want to reformat again, especially since it didn't help before.
I have noticed that when I perform a successful boot these two messages appear:
"Mount: fs type sysfs not supported by the kernel"
"You didn't specify filesystem type for /dev/hdb3 I will try ext3"
How do I now specify this file type? Could this be related to the problem described above? If so, the root partition is hdb1. Home partition is hdb3.
If I am on the wrong forum, could someone point me in the right direction? Thanks in advance for your help.
also, notice it's trying to bring the root partition up on hd(0,0) where yours is actually hd(1,0) so something in the install didn't get configured (with the bootlader)
System configuration: Soyo MB SY-KT600 Dragon Plus v1.0, Athlon XP 2600 Barton, MSI GeForce 2 MX400 video card, 512 MB RAM, hda1 is a 6GB Seagate FAT32 Windows drive, hdb is a 80 GB Western Digital. hdb has three partitions: hdb1 is 9.7 GB ext3, hdb2 is a linux swap at 996MB, and hdb3 is 63.8 GB ext3 according to QTParted. Hope this is all you need.
The boot loader is Grub v 0.95 I found this in /boot/grub/menu.lst and thought it might be helpful:
title MEPIS at hdb1, kernel 2.6.7
kernel (hd1,0)/boot/vmlinuz-2.6.7 root=/dev/hdb1 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd1,0)/boot/initrd.mepis
savedefault
title MEPIS at hdb1, kernel 2.4.26
kernel (hd1,0)/boot/vmlinuz-2.4.26 root=/dev/hdb1 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi
initrd (hd1,0)/boot/initrd.mepis
savedefault
title Windows at hda1
rootnoverify (hd0,0)
chainloader +1
savedefault
Try replacing
/dev/hdb3 /home auto defaults,noatime 1 2
with
/dev/hdb3 /home ext3 defaults,noatime 1 2
Also, I could be wrong, but I think that
none /proc proc defaults 0 0
should be
proc /proc proc defaults 0 0
Lastly, I don't know Mepis, but see if you have a directory /etc/modules.autoload.d/ with a file in it called kernel-2.4 or kernel-2.6
If so, you may be having trouble with switching kernels because you haven't got the appropriate settings for the other kernel, ie if you have kernel-2.4 and you try to use 2.6, it'll be unable to find the necessary kernel-2.6 file
Well the above changes did get rid of "You didn't specify filesystem type for /dev/hdb3 I will try ext3", but I still have "Mount: fs type sysfs not supported by the kernel". Worst of all, it did not fix the problem of booting to a different kernel. Well, at least it didn't harm anything
I don't seem to have /etc/modules.autoload.d/ or anything that looked close.
Thanks for your time. I am willing to try other ideas.
I know this is an old thread, but I fixed my problem of not being able to switch kernels by disabling SATA in the BIOS. This also enabled the LAN in kernel 2.6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.