Tech Support > Operating Systems > Linux / Variants > one kernel, multiple distros
one kernel, multiple distros
Posted by rihad on November 24th, 2003


Is there a way to "multicast" make modules_install? I.e. if I have Debian
and SourceMage GNU/Linux on my home machine, but only want to maintain a
single kernel and give it specific root= on boot, I run into problems
since /lib/modules is only present on one of them (where I build the
kernel).

I mean, if cp -r /lib/modules/`uname -r` /mnt/sourcemage/lib/modules, or
even better, a symlink, is cool, just say so

TIA

Posted by Keith Keller on November 24th, 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2003-11-24, rihad <rihad@mail.ru> wrote:
I would suggest sharing the kernel source between both distros,
and running make modules_install in both.

- --keith

- --
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD4DBQE/wnNfhVcNCxZ5ID8RAvOTAJicdy09syGYrQ746btYEXJlOMZqAJ 9y7dNM
kaA+vmrYDJcg1nE7E+Xr7w==
=hPzs
-----END PGP SIGNATURE-----

Posted by Alan Connor on November 24th, 2003


On Tue, 25 Nov 2003 00:47:08 +0400, rihad <rihad@mail.ru> wrote:
This usually wouldn't be possible, because the different distros apply
different patches to the kernel to facilitate whatever they want to
do...Whatever makes them unique.

As far as I know, Slackware is the only distro that uses a stock kernel.

AC


Posted by Jim Richardson on November 26th, 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 24 Nov 2003 21:32:27 GMT,
Alan Connor <zzzzzz@xxx.yyy> wrote:

You can use a stock kernel with pretty much any distro AFAIK. I for one
don't use the std Debian kernels in my laptop, I "roll my own" for
several reasons.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/xCkVd90bcYOAWPYRAqS6AKCrPD/toEREzWCm21tqkMq3q3vZRwCgsnM9
EOhZe3VDEak4gkd2jcba2yQ=
=lHBS
-----END PGP SIGNATURE-----

--
Jim Richardson http://www.eskimo.com/~warlock
One man's theology is another man's belly laugh.
-- Lazarus Long


Similar Posts