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

Re: Ricompilazione Kernel - dubbi



Il sabato, 27 dicembre, 2003 at 09:24:02 +0100, Mattia Dongili Scrisse: 
>   On Sat, Dec 27, 2003 at 09:00:51PM +0100, windfall wrote:
>   > Grazie mille a tutti per le risposte!
>   > .... a proposito di initrd ho letto su appunti linux
>   > che viene utilizzato ed e' indispensabile per lo SCSI
>   > in fase di boot...
>   > domanda scema... ma serve solo se ho dischi SCSI? se
>   > ho una scheda es. per lo scanner non serve?
>   
>   potrei stare per dire un'idiozia, ma da quello che so initrd serve per
>   rendere disponibili al kernel dei moduli che e' necessario caricare in
>   fase di boot.
>   Io ho sempre compilato statiche queste opzioni (tipo il filesystem di /)
>   e non ho mai usato initrd.
>   
>   se nessuno mi corregge probabilmente non ho mancato di molto il
>   bersaglio :)
>   
>   aloha
>   -- 
>   mattia
>   :wq!
Confermo: ho un pc con dischi SCSI e non ho mai usato initrd per l'avvio.
basta mettere i moduli indispensabili al boot come statici qualora lo
permettano: se poi ci sono dei moduli o drivers aggiuntivi necessari al boot
che non possono essere compilati staticamente si deve per forza di cose
ricorrere all'initrd (io per ora non ne ho mai avuto bisogno).
Da man initrd:

NAME
       initrd - boot loader initialized RAM disk
 
DESCRIPTION
       The  special  file  /dev/initrd  is  a  read-only block device. 
Device /dev/initrd is a RAM disk that is initialized (e.g. loaded) by the
boot loader  before  the kernel is started.  The kernel then can use the
the block device /dev/initrd's contents for a two phased system boot-up.
       In the first boot-up phase, the kernel starts up and mounts an
initial root  file-system  from the contents of /dev/initrd (e.g. RAM disk
initialized by the boot loader).  In the second phase, additional
drivers or  other  modules  are loaded from the initial root device's
contents.
       After loading the additional modules, a new root file system (i.e. 
the normal root file system) is mounted from a different device.
[snip] 

-- 
     Ciao Umberto
#------------------------------------------------------------------------#
|	Umberto Genovese (Seldon)	E-mail: <tanto.un@te.lo.dico>	 |
|PGP  fingerprint =  526A B526 2BF4 E3FF 6200  30B4 AD2C D110 D0F3 66E4  |
|		       <GNU & Linux: the dynamic duo>			 |
#------------------------------------------------------------------------#

Attachment: pgp7EbJ1q9CMo.pgp
Description: PGP signature


Reply to: