[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Optionen



Also sprach Andreas Pakulat <apaku@gmx.de> (Thu, 12 May 2005 11:16:50
+0200):
> Heino Tiedemann schrieb:
> > Andreas Pakulat <apaku@gmx.de> wrote:
> >>On 11.Mai 2005 - 19:50:16, Heino Tiedemann wrote:
> > 
> > [Kerel Config optionen]
> > Und wo liegt die kernel doku?

/usr/src/kernel-source-<version>/Documentation/
 
> >>>Gestern wurde ich bei make oldconfig gefragt nach einem Initrdimage
> >>>(komisch, schon beim kompilieren??), das Feld war wohl ein Textfeld
> >[] >>und ich wusste so gar nicht, was ich da jetzt eintragen hätte
> >>>sollen...
> >>
> >>Es gibt die Option CONFIG_INITRD, mit der du angibst ob der Kernel
> >>Unterstuetzung fuer die Nutzung einer initrd enthalten soll.
> > 
> > 
> > Das klingt jetzt eher nacheiner Ja/nein/modul Frage. 
> 
> Ich kann das grad nicht pruefen, aber...

ich neige eher zu make menuconfig. find ich u.a. (aber nicht nur) durch
die eingebaute hilfe angenehmer.

es gibt (2.6.1x) CONFIG_INITRAMFS_SOURCE:

<snip>

CONFIG_INITRAMFS_SOURCE:

This can be either a single cpio archive with a .cpio suffix or a   
space-separated list of directories and files for building the
initramfs image.  A cpio archive should contain a filesystem archive
to be used as an initramfs image.  Directories should contain a   
filesystem layout to be included in the initramfs image.  Files   
should contain entries according to the format described by the 
"usr/gen_init_cpio" program in the kernel tree.                   
                                                                  
When multiple directories and files are specified then the      
initramfs image will be the aggregate of all of them.       
  
See <file:Documentation/early-userspace/README for more details.   

</snip>

und CONFIG_BLK_DEV_INITRD in 2.4

<snip>

Initial RAM disk (initrd) support
CONFIG_BLK_DEV_INITRD
  The initial RAM disk is a RAM disk that is loaded by the boot loader
  (loadlin or lilo) and that is mounted as root before the normal boot
  procedure. It is typically used to load modules needed to mount the
  "real" root file system, etc. See <file:Documentation/initrd.txt>
  for details.

</snip>

> >>Du solltest
> >>dir vielleicht mal die anderen "Kommandos" bei oldconfig angucken,
> >>insbesondere "?".
> > 
> > 
> > Wo denn? Im Makefile? Oder wo ist das?
> 
> Wenn make oldconfig ausgefuehrt wird, duerfte da bei jeder Frage 
> hinterstehen welche Optionen du hast (y,n,m,?) oder nicht? Und ? gibt 
> normalerweise die Hilfe zu den Optionen aus. Jedenfalls gilt das fuer 
> menuconfig, ob es auch ? war bei oldconfig, weiss ich aus dem Kopf
> nicht...

das "?" in oldconfig wusst' ich auch noch nicht.

> Andreas

sl ritch



Reply to: