[ILUG] Before I do a make modules_insall..
Frank Boehme
f.boehme at cs.ucc.ie
Fri Jan 30 10:13:37 GMT 2004
Dermot Daly wrote:
>
> Hi All,
> I've a quick question before running make modules_install on a kernel
> build.
>
> 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
you?
> 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,
perhaps not.
'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').
F
--
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.
More information about the ILUG
mailing list