[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] newbie questions



On Tue, 5 Sep 2000, Matt Fairtlough wrote:

> >and then you
> >can download a recent kernel and move the disc actoss controllers. It's a
> >pain but it should work.
> 
> fine: but a) where to put the kernel and b) how to reconfigure the installation
> so I can boot from it?  

(I use RedHat 6.2 - disclaimer)
Put the kernel source tree in either /usr/src/linux
("traditional" location) or anywhere else that takes your fancy.
When you've compiled a kernel copy it to /boot/vmlinuz-<version number>
or any other place or name as long as it's on the boot partition.
Edit /etc/lilo.conf with your favourite editor and change e.g.

image=/boot/vmlinuz-2.2.16 # The kernel image
        label=linux        # The label you want to give LILO too boot it
        read-only          # fs mounted read only
        root=/dev/hda2     # The / partition on my machine

to

image=/boot/vmlinuz-<your new kernel>
        label=linux
        read-only
        root=/dev/hda2

It is also a good idea to have a label called maybe "old" that boots a
previous version of the kernel (I have a 2.2 kernel that I know boots OK
and is bug free-ish) so you aren't left stranded on a reboot if the
kernel doesn't work.

Then run:

/sbin/lilo -v

To install the new configuration.

Reboot, and hopefully it works.
 


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.