On Thu, 2003-10-23 at 12:06, Dali Islam wrote:
> I have loaded a new kernel. Now what do I need to
> change so that when the system boots, it boot with the
> new kernel?
> 
> Can I run a script to do that. If so what can that be.

It's even easier than a script (IMHO).  You didn't say what version of
Red Hat you're using, so I'm not sure if you're using LILO or grub. 
Either way, you'll want to edit the appropriate configuration file
(/etc/lilo.conf or /etc/grub.conf).  The following directions assume
that you installed the new kernel via rpm, which also adds the relevant
entries to your config file.

If it's LILO, change the "default=" line to the label of the kernel you
wish to boot.  Then run "/sbin/lilo" to save your changes.  Make sure
you pay attention for any errors, they will tell you if your syntax is
incorrect.

If it's grub, change the "default=" to the index number of the kernel
you wish to boot (starting with 0).  For example, if you have two
kernels in your file, and you want to boot the 2nd one, change that line
to "default=1".  That's all you need to do with grub, just reboot to
test.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to