DebianThis forum is for the discussion of Debian Linux.
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.
Hi there. I tried to install anew kernel in Woody, but i have done something thing and i get errors. Still i can boot in the old linux. How can i get rid of the new configuration, and try again?
Could you explain what you mean by "I get errors?" When do you get the errors, and what do they say?
When you say "I tried to install a new kernel in Woody," which kernel did you get, and how did you install it? In a console as root type
# uname -r
and it will tell you the kernel version.
What do you mean by "I can boot into the old linux?" Which kernel did you use when you installed Woody? Did you use the bf2.4, or vanilla, or linux, or which one?
Are you still using lilo as your boot loader? If so, post the contents of your /etc/lilo.conf file here.
No one can help you very much until you provide some more information.
Hello there.After installing kernel 2.4.22 in woody, when it reboots i get a screen with the following messages:
"The superblock could not be read or does not describe a correct ext2 filesystem.
fsck failed. Please repair manually and reboot. Please note that the root filesystem is currently mounted read-only. To remount it read-write:
#mount -n -o remount,rw/
Give root password for maintenance, or press CONTROL+D for normal startup."
As i did not what else to do i typed CONTROL+D for normal startup, BUT it just reboot and the same screen came up.
I am still using lilo for boot loader. Lilo gives me two options for linux:
LINUX
LINUX OLD
When i press Linux in lilo, then it tries to boot with the new kernel, and i get the above errors.
When i press Linux Old in lilo, then it is the previous kernel.
Could someone help? When i installed the new kernel i was as user, and then su. The kernel i tried to install was the latest stable 2.4.22.
Any thoughts of how could i remove or correct that kernel?
What file system do you use on your hard drive? It sounds like it could be a filesystem type not supported by the new kernel (I don't know...jfs, reiserfs, ext3fs, whatever). If you have built your kernel by yourself you should go back to kernel configuration and verify the fs types you use are supported by the new kernel.
Also, an incorrect root= line in /etc/lilo.conf could cause similar problems.
You could try replacing the root= line in the image section for the new kernel with the root line from the old (working) kernel. Rerun /sbin/lilo and try again.
Be warned - create a boot floppy before you start fooling around with lilo.conf!
Check what hw-tph said. Perhaps in the new kernel, you did not include support for the type of filesystem you are using. That's what he's saying. Compile your kernel again, and be sure to include support for ext2, ext3, and reiserfs. I don't think from the Woody base install you would have had any other choice. I know the bf24 doesn't give you anything else. It looks like if you get the correct filesystems installed, then you can boot that new kernel. You lilo is okay. Don't mess with it. Unless you changed something in it before, it's still got the correct partition. Check what he said, though. And post your /etc/lilo.conf contents in here. You can get them by opening a terminal and as root type
# nano /etc/lilo.conf
Just post the part after where it says
Boot up Linux by default.
You're getting good advice. Definitely make a boot floppy if you didn't already do that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.