Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
ca-valencia:slackware:beginners_guide [2014/12/31 13:07 (UTC)] – [Actualitzant el Sistema] el_pinux_penat | ca-valencia:slackware:beginners_guide [2015/01/08 10:32 (UTC)] – [Switch to a generic kernel] first translation el_pinux_penat |
---|
| |
| |
===== Switch to a generic kernel ===== | ===== Canvia a un nucli Genèric ===== |
| |
It's recommended that you switch to Slackware's //generic// kernel. This is easy to do but there are a few steps to follow. | Es recomana que canvies al nucli //generic// d'Slackware. Açò és fàcil de fer però hi ha uns pocs passos a seguir. |
| |
<note tip>What is the difference between a "generic" kernel and the "huge" kernel which has been installed as the default kernel? \\ The "huge" kernel is essentially a kernel which has every hardware driver built in which you might need for a successful installation of your computer. Think of storage and (wired) network drivers, filesystem and encryption drivers and a lot more. All these built-in drivers result in a big kernel image (hence the name "huge"). When this kernel boots it will use up a lot your RAM (relatively speaking... with 1 GB of RAM you will not really be troubled by a few MB less RAM). \\ The "generic" kernel on the other hand, is a kernel which has virtually no drivers built in. All drivers will be loaded into RAM on demand. This will make your kernel's memory consumption lower and the boot process a bit faster. The smaller size allows for the use of an initial RAM disk or "initrd". An initial RAMdisk is required in certain configurations, like software RAID, or a fully encrypted hard drive.\\ For now, you need to remember that a "huge" kernel will not support an intial RAM disk, but the "generic" kernel will. We go for maximum flexibility and use a "generic" kernel.</note> | <note tip>Quina és la diferència entre el nucli "generic" i el "huge", que s'ha instal·lat com a nucli per defecte? \\ El nucli "huge" és essencialment un nucli que té tots els controladors de maquinari que pugues necessitar per a un instal·lació satisfactòria del teu ordinador. Pensa en controladors de disc i de xarxa (de cable), sistemes de fitxers, xifrat i molt més. Tots aquests controladors incorporats donen com a resultat una imatge del nucli gran (d'ahí el nom "huge" (enorme)). Quan este nucli arranca utilitzarà molt la teua RAM (relativament parlant... amb 1 GB de RAM uns pocs MB menys no suposaran un problema). \\ Per una altra banda, el nucli "generic", és un nucli que virtualment no té controladors incorporats. Tots els controladors es carregaran a la RAM baix demanda. Açò farà que el consum de memòria del teu nucli siga més baixa i el procés d'arrancada una miqueta més ràpid. La menor mida permet l'ús d'un RAM disc inicial o "initrd". Un RAMdisk inicial és requisit indispensable en certes configuracions, com RAID de programari, o un disc dur completament xifrat.\\ Per ara, necessites recordar que un nucli "huge" no suportarà un disc en RAM, però el "generic" sí. Nosaltres optem per la màxima flexibilitat i usem un nucli "generic".</note> |
| |
* You will need to create an initial RAM disk ("//initrd//" for short). The //initrd// functions as a temporary root file system during the intial stage of the kernel booting, and it helps get the actual root system mounted when your system boots. Run this, as root: <code> | * Caldrà què crees un disc RAM inicial (abreviat "//initrd//"). L'//initrd// funciona com un sistema de fitxers arrel temporal durant la fase inicial de l'arrancada del nucli, i ajuda a fer que el sistema de fitxers arrel siga muntat quan el teu sistema s'inicia. Executa açò, com a root: <code> |
# /usr/share/mkinitrd/mkinitrd_command_generator.sh | # /usr/share/mkinitrd/mkinitrd_command_generator.sh |
</code> This command will not actually //do// anything. It is informational only, and will output something like this - depending on your kernel version, your hardware configuration, the root filesystem you chose when you installed Slackware and so on: <code> | </code> Aquesta ordre de fet no //farà// res. És només informatiu, i mostrarà alguna cosa com açò - depenent de la teua versió del nucli, la configuració del teu maquinari, el sistema de fitxers arrel que vas triar al instal·lar Slackware i demés: <code> |
# | # |
# mkinitrd_command_generator.sh revision 1.45 | # mkinitrd_command_generator.sh revision 1.45 |