Re: Custom kernel and mkinitrd on other machine

From: Brendan S (Scratch User) (gobnat_at_optusnet.com.au)
Date: 07/16/04


Date: Fri, 16 Jul 2004 11:25:25 +1000

Tommy Reynolds wrote:
> On Fri, 16 Jul 2004 11:07:47 +1000, Brendan S (Scratch User) wrote:
>
>
>>(c) I'd like to keep the vanilla install as a failsafe. Can I do this or
>>do new modules conflict with the old ones?
>
>
> I'm assuming that both the host and target machines are of the same
> architecture. If not, life will get more complicated but it is still
> possible.

yes. i386. Host = pentium M, target = Pentium 4
 
> Question not asked: kernels are named according to the first four
> lines of the kernel Makefile. Usually you need only change the
> EXTRAVERSION line so that you have a uniquely-named kernel fileset.

yes. I have done that. Thanks
 
> (c) No problem. Just don't overwrite any files on your target
> machine. To tell the bootloader which files to use, just edit
> the "/etc/grub.conf" file, duplicating your existing lines and
> substituting your new kernel filenames.

Oh, ok, so the unique kernel name from EXTRAVERSION means the directories are different and the modules that are loaded are therefore also different and not overwritten?
 
When compiling the modules I get some deprecated function warnings - I assume these are safe (ish) to ignore?

> Happy compiling.

Thanks for the quick response.

Brendan



Relevant Pages

  • Re: Custom kernel and mkinitrd on other machine
    ... > EXTRAVERSION line so that you have a uniquely-named kernel fileset. ... Just don't overwrite any files on your target ... Oh, ok, so the unique kernel name from EXTRAVERSION means the directories are different and the modules that are loaded are therefore also different and not overwritten? ...
    (linux.redhat.install)
  • Re: [SLE] vmware again
    ... > demo RPM of vmware 3, ... I'm unsure whether this is a complete kernel recompilation, ... these sufficed to have the compilation insisted on by ... > overwrite the kernel modules. ...
    (SuSE)
  • migrating 2.4->2.6 & binutils
    ... I'm migrating an RH9 laptop to the 2.6 kernel and I have a question re. ... making binutils. ... I want 'make install' to overwrite the old 2.13 bits ...
    (Fedora)
  • [SLE] Updated Athlon kernel and vmware 4.05
    ... I am running SuSE 9.0 Professional. ... Naturally when I started up vmware it told me to run vmware-config.pl. ... ME IF I WANTED TO OVERWRITE THE EXISTING ONES. ... default ahtlon kernel of 9.0. ...
    (SuSE)
  • Re: IDE HPA
    ... >> HPA in the disc area. ... they could, which would require eg. a kernel option, but anyway). ... not a big risk that the BIOS will overwrite something there? ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)