Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

/boot: how do I change the current kernel?

Login or Register to Reply

Thread Tools Search this Thread
# 1  
/boot: how do I change the current kernel?

Slackware 14.0

I once changed the smp kernel running in my system by another one in /boot. What I did was to relink /boot/, /boot/vmlinuz and /boot/config. But I don't remember if I did something else. Would that alone be OK.
# 2  
Yes, I think that should do it.

Another way to do so, the way I prefer to do it, is to alter the settings for your bootloader so it loads the new kernel instead of the old. That way I don't need to rename files inside /boot all the time. Makes me nervous, doing that.

Be careful to have a livecd or some such handy to fix it, if the new kernel doesn't work.
This User Gave Thanks to Corona688 For This Post:
# 3  
I did switch to a generic kernel, and the OS is booted fine (I had to add an initrd, besides). But lilo's menu screen shows garbage. Everything in the screen looks well save for a letter U printed within the red box. At this time, lilo is waiting keyboard input, I mean lilo has the control (of course lilo calls some BIOS routines). So, what has the kernel to do with all this? How can the fact of having changed the kernel produce this effect? Something is wrong in the code in the MBR and the other sectors that contain lilo's bootloader. Is there a way to check this code? Or check the BIOS?

---------- Post updated at 03:06 AM ---------- Previous update was at 02:18 AM ----------

I think the letter U has been printed by lilo as an indicator, but I do not know what it means. The red box menu has two entries, 'slack14' and 'xp'. The 'U' is beside 'slack14'. Does anybody know it's meaning?
# 4  
Originally Posted by stf92
I did switch to a generic kernel, and the OS is booted fine (I had to add an initrd, besides). But lilo's menu screen shows garbage.
You're still using lilo ? I wasn't sure that still even existed.

You have to run the lilo command after you change files or anything like that, since lilo is too primitive to load a config file on boot. It reads the config file when you run lilo and saves offsets somewhere else, so it can just read from raw disk sectors on boot.
# 5  
Corona, of course I have run the lilo command after updating the configuration file. But please do read the updated part of post #3.

About lilo, I do not know things like Grub, more sophisticated and friendly, but I stick to lilo for its simplicity.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

2. Red Hat

Kernel can not boot after upgrade on Fedora OS 15.

Hello, everyone. I am using Fedora 15, and want to upgrade to version 16. I follow the official link Upgrading Fedora using yum - FedoraProject to upgrade my OS by the following command: yum update kernel* --releasever=16 yum groupupdate Base --releasever=16 reboot After reboot, OS... (2 Replies)
Discussion started by: 915086731
2 Replies

3. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

4. UNIX for Dummies Questions & Answers

New kernel won't boot

I compiled new kernel in linux 10.04 called linux-, it runs alongside the other kernel, but when I want to boot it I get an error message saying: Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda5 does not exist. After making the modules and headers I made the... (4 Replies)
Discussion started by: mdop
4 Replies

5. UNIX for Advanced & Expert Users

how to display pid and other parameters of current process through kernel module ?

how to display pid and other parameters of current process in linux platform ? i know it can be done through a linux commmand ps -F but i want it done through kernel program thanks in advance (1 Reply)
Discussion started by: vaibhavkorde
1 Replies

6. UNIX for Advanced & Expert Users

How to check what are the current kernel parameter settings

Hi all, I have four (4) different UNIX flavours and I want to know whether the following commands are correct with respect to wanting to check on what are my current kernel parameter settings. I just want to clear the doubts hanging over my head whether the commands below are the right ones... (2 Replies)
Discussion started by: newbie_01
2 Replies

7. Programming

How to stop other processes and kernel from printing output on current virtual term

Hello All, Background ======== I am creating a virtual appliance console for a software stack on VMware ESXi. I am using Centos 5.x as the Linux distro (Guest OS). I have created a ncurses based application that does the user authentication and present him with some basic controls to do basic... (2 Replies)
Discussion started by: ku@ntum
2 Replies

8. SCO

Wanting to boot from a previous kernel

I tried to add ppp on a serial line tty1b and I relink the kernel. Now, I would like to boot from the previous kernel because I lost the connexion for the others terminal (serial lines) too. I would appreciate any help. (3 Replies)
Discussion started by: pacctono
3 Replies

9. SCO

Is there a way to give the name of another kernel from 'boot:' prompt.

Can I choose a kernel at 'boot:' prompt. (1 Reply)
Discussion started by: pacctono
1 Replies

10. News, Links, Events and Announcements

Current Kernel Development

Information on current kernel development status & Compatibality Status. (0 Replies)
Discussion started by: killerserv
0 Replies

Featured Tech Videos