Re: Howto compile a kernel from scratch

From: Jost (jost.schulte_at_web.de)
Date: 10/05/03


Date: 4 Oct 2003 16:14:34 -0700

Hi,

thanks for your replies.

I read the HOWTO on TLDP before posting, but it starts with installing
sources from rpms, and I don't have them. So I thought there might be
problems if I unpacked the kernel-sources in a different directory. I
also searched a lot through posts here, but could not a definitive
guide to compiling a kernel.

So I will try, according to your explanations.

Regards,
Jost

Alan Connor <zzzzzz@xxx.yyy> wrote in message news:<ltEfb.1960$gA1.872@newsread3.news.pas.earthlink.net>...
> On 4 Oct 2003 08:09:33 -0700, Jost <jost.schulte@web.de> wrote:
> >
> >
> > Hi,
> >
> > I want to compile a kernel on my own and would like to know how to do
> > that. I dowloaded the sources from kernel.org and extracted them.
> > Do I have to copy them to /usr/src or isnt that necessary?
> >
> > Plz, anyone give me a short summary howto proceed.
> >
> > Greetings,
> > Jost
>
> You don't necessarily have to copy them to /usr/src. The steps are
> outlined in the README, and you definitely should have read at least
> that before posting.
>
> The real work is reading through Documentation/Configure.help to
> determine which features you want to include/exclude.
>
> By-all-means, use your current configuration file, probably called
> /boot/config-kernel_version, as a guideline.
>
> If any of the features are wrong for your new version, then delete that
> line. If it says something you want has been not-chosen, delete that line.
> Then put this edited script in your sources directory as .config and run
>
> make oldconfig
>
> as your first step.
>
> It's easier than you think.



Relevant Pages

  • SUMMARY: Boot 64-bit kernel on HP DL380?
    ... Solaris relies on EMT64 capability, so, it's impossible to boot a 64-Bit ... posting below). ... Or the latest kernel patches/updates? ...
    (SunManagers)
  • Re: FC3 core over RH9, now no BIND :(
    ... >>Reports and experience here suggest FC is not the best choice for such ... > posting are posting because they had an issue, ... If the advice to update the kernel is correct, ... I pretty sure way of hanging my laptop is to shut the lid, ...
    (Fedora)
  • Re: Unable to make virtual directory
    ... Read this URL for and explanation of background info, howto, ... troubleshooting, as well as several KBs that cover this topic. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.inetserver.iis)
  • Re: What do ZwXXX and RtlXXX functions link against?
    ... This posting is provided "AS IS" with no warranties, ... > Both sets of functions are exported from the kernel. ... >> my display driver is able to do an EngLoadImage successfull on the dll. ...
    (microsoft.public.development.device.drivers)
  • RE: unable to paste in MS Word from IE
    ... Go to Posting: Subject: Re: howto ... By: Graham Mayor ... > Everytime I try to paste to my MS Word from a text I copied from IE, ...
    (microsoft.public.word.docmanagement)