Dermot Daly wrote:
>> Hi All,
> I've a quick question before running make modules_install on a kernel
>> I've already done a make bzImage and a make modules.
Ah, a 2.4.x kernel, i suppose. You did say 'make dep' beforehand, didn't
> If I now do a make modules_install, where will it install the modules to
> ? I.e. will it overwrite my current kernel's modules, or will it
> install them elsewhere?
They will be installed in /lib/modules/[version] where [version] is the
one for which you compiled, perhaps the currently running kernel,
'make modules_install' will also call 'depmod -a', but most
distributions call that anyway from the init scripts next time you boot.
> Is there anything I should back up prior to running make modules_install
If you compiled for the currently running kernel, then it might be a
good idea to backup the /lib/modules/[current-version] and bzImage.
Also make sure to move bzImage to where your boot loader expects it and
then have it update the bootsector (for example '/sbin/lilo').
Dr Frank Boehme | Email: f.boehme at cs.ucc.ie
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science | fax: +353-21-4903113
Cork, Ireland |
Did you know that if you play a Windows XP cd backwards, you
will hear the voice of Satan?
That's nothing! If you play it forward, it'll install Windows XP.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!