[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] how??
On Sun, Mar 11, 2001 at 05:07:35PM +0000, Barrie Bremner wrote:
> I'm assuming that you've got Linux Format?
>
> I bought the mag for the first time this month. Probably the last time
> too. £5! Ouch!
Mmmmmm, profit..... although, having said that, I think for some reason Future have always valued shiney paper over making the mag cheap. Amiga Shopper, for example, in the old days was printed on bog roll, cost about £2.99, and was fantastic. Later, it got shiney, more expensive and less good. Wierd.
> The basic steps are:
>
> su -
> tar -zxvf /wherever/the/kernel/tar/is/kernel-2.4.1
> mv linux /usr/src/linux-2.4.1
> ln -s /usr/src/linux-2.4.1 /usr/src/linux
Ewwww, and not recommended. Don't ever change /usr/src/linux!! Making it different over a MAJOR Linux version is even worse!! There is a linux/README, you know, and it's pretty readable ;) I install to /usr/local/src/kernel/v2.4.0/linux, and then 'ln -s /usr/local/src/kernel/[latest]/linux /usr/local/src/linux'. Much nicer, and patches apply too :) Obviously, version numbers change with the different trees.
To quote linux/README:
"Do NOT use the /usr/src/linux area!"
:-)
> cd /usr/src/linux
> make mrproper
I don't usually bother with that :) Worth doing though!!
> make menuconfig
> make bzImage
> cp /usr/src/linux/arch/i386/boot/vmlinuz /boot/vmlinuz-2.4.1
> make modules
> make modules_install
> cp System.map /boot/System.map-2.4.1
> emacs /etc/lilo.conf
> lilo
> reboot -n
Depending on your system, you may need a mkinitrd or something, but that only usually applies if you have a SCSI root system, or something. You'd know, anyway!
And, of course, Debian simplifies a lot of the above with make-kpkg (not much use in this case, I know)
One thing I think is often worth doing - before upgrading your kernel, upgrade to GRUB if you think you're able. Getting GRUB installed is a bit of a bitch in the first place, because the documentation is about the biggest pile of pants I have ever seen in my whole entire life _ever_. But, once in, it's good, and you stand much less chance of really buggering things up. GRUB is good :)
And I wish you luck :) Compiling a kernel makes you feel big and clever the first time you do it :-)
Cheers,
Alex.
---------------------------------------------------------------------
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.