msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2011-09-05 14:12+0600\n" "PO-Revision-Date: 2011-01-21 01:40+0500\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):6 msgid "Gentoo Linux Genkernel Guide" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author:title):8 msgid "Author" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(mail:link):9 msgid "plasmaroo@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(mail):9 msgid "Tim Yamin" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author:title):12 #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author:title):22 msgid "Contributor" msgstr "" #. folajimi@speakeasy.net #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author):12 msgid "Jimi Ayodele" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author:title):16 msgid "NFS Support" msgstr "" #. thseiler@gmail.com #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author):16 msgid "Thomas Seiler" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(author:title):19 msgid "Editor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(mail:link):20 msgid "nightmorph" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(mail:link):23 msgid "sping" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(abstract):26 msgid "" "This guide intends to provide a reference of all the functions provided by " "genkernel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(version):35 msgid "7" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(date):36 msgid "2011-09-03" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):39 msgid "Introduction" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):41 msgid "Rationale" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):44 msgid "" "For users who don't want to manually compile their kernels, genkernel is a " "tool to automate this process. It can help you create a kernel image akin to " "those available on Gentoo Installation CDs, which are designed to auto-" "detect the hardware configuration of your system. Some users may also be " "interested in using genkernel for hardware requiring initialization and a " "working kernel before the system starts up." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):56 msgid "Target Audience" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):59 msgid "" "If you are either uncertain about how to compile a kernel, or are just " "unfamiliar with your hardware configuration, genkernel is a very handy tool. " "It is designed to take the pain out of the kernel compiling process, and " "supports most hardware by default." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):66 msgid "" "However, if you know what drivers are required by your system, you may be " "able to further reduce the time taken to compile the kernel. This is " "possible since you can direct genkernel to only build drivers relevant to " "your hardware. Oftentimes, the number of drivers required by your system " "will be fewer (implying a shorter kernel compilation time) than the default " "configuration provides." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):78 msgid "Installing genkernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):81 msgid "" "To obtain genkernel, run emerge genkernel from the command line. " "Consult genkernel --help for help on how to use the version of " "genkernel installed on your system." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):92 msgid "Working with genkernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):94 msgid "How to use genkernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):97 msgid "" "Although there are several ways to run genkernel, the least-intrusive " "approach is provided by genkernel all. Here, a generic configuration " "which works well for most systems is used. As was mentioned earlier, this " "approach is not without drawbacks; most of the modules created are useless " "to the average user and may increase compile time. Below is an illustration " "of a more efficient approach, achieved by passing certain flags to genkernel " "as root:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):106 msgid "Running genkernel (with flags)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):106 #, no-wrap msgid "" "\n" "# genkernel --splash --no-install --no-clean --menuconfig all\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):110 msgid "" "The above operation causes genkernel to create a framebuffer splash-enabled " "kernel (--splash) that will have to be manually installed (--no-" "install). While preparing the kernel source tree, genkernel will refrain " "from cleaning out any preexisting object files present in the source tree " "(--no-clean). A menu-driven kernel configuration utility will be " "displayed that allows the user to select which modules will be built for the " "system (--menuconfig)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):120 msgid "" "There are other flags which alter the result provided by genkernel. For " "instance, replacing --no-install with the --install flag " "allows genkernel to automatically install the new kernel in the /boot directory, and will create symlinks for you if --symlink is " "specified. Using the --mountboot flag allows genkernel to mount your " "/boot partition automatically, if necessary." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):129 msgid "" "Remember, genkernel is designed to make kernel compilation easy and stress-" "free. For this reason, genkernel features several flags to ease the kernel " "compilation effort. For example, there are flags to help with kernel " "configuration, while others affect the actual compilation. Some flags even " "help debug the compilation process. For those interested in further " "optimization, there are flags that affect kernel assembling, packaging and " "even kernel initialization." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):139 msgid "" "The rest of this chapter examines the functionality of various flags, " "configuration variables, and actions available for genkernel. For a more " "complete list, please refer to man genkernel and the comments in " "/etc/genkernel.conf. Some of the flags have variants which " "perform a converse operation. The converse variants carry the no- prefix, and their effects are enclosed within the square brackets, []." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):151 msgid "Configuration Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):154 msgid "" "The configuration flags listed below exist to help you decide what features " "should be enabled or disabled in the kernel prior to compilation. You can " "even choose whether or not the configuration file created in the process " "should be saved. The following are the primary configuration flags:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):162 msgid "" "--no-menuconfig: Activates [or deactivates] the make " "menuconfig command (which invokes an interactive, menu-based kernel " "configuration utility), before building the kernel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):167 msgid "" "--gconfig: Provides a kernel configuration utility which depends on " "the GTK+ libraries. The advantage of this option is that most users find it " "easier and clearer to configure the kernel using this tool, since it relies " "on the X-windowing system. The disadvantage of this option is that you " "need the X-windowing system to use it, so it will not work on the " "command line." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):175 msgid "" "--xconfig: Provides a kernel configuration utility which depends on " "the QT libraries. The advantage of this option is that most users find it " "easier and clearer to configure the kernel using this tool, since it relies " "on the X-windowing system. The disadvantage of this option is that you " "need the X-windowing system to use it, so it will not work on the " "command line." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):183 msgid "" "--no-save-config: Saves [or does not save] the kernel " "configuration to a file in the /etc/kernels/ directory for " "later use." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):193 msgid "Compilation Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):196 msgid "The following flags usually take effect during the actual compilation:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):201 msgid "" "--kerneldir=/path/to/sources/: Specifies an alternative " "kernel source location, rather than the default /usr/src/linux/ " "location." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):206 msgid "" "--kernel-config=/path/to/config-file: Specifies what " "alternative kernel configuration will be used, rather than the default " "/path/to/sources/.config file." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):211 msgid "" "--module-prefix=/path/to/prefix-directory/: Specifies a " "prefix to the directory where kernel modules will be installed (default path " "is the /lib/modules/ directory.)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):219 msgid "" "--no-clean: Activates [or deactivates] the make " "clean command before compiling your kernel. The make clean " "command removes all object files and dependencies from the kernel's source " "tree." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):225 msgid "" "--no-mrproper: Activates [or deactivates] the make " "mrproper command before kernel compilation. Like the make clean " "command, make mrproper removes all object files and dependencies from " "the kernel's source tree. However, any previous configuration files (in " "/path/to/sources/.config or /path/to/sources/.config.old) will also be purged from the kernel's source tree." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):234 msgid "" "--oldconfig: Issues the make oldconfig command, which attempts " "to collect configuration information for the system's architecture from a " "generic script in /usr/share/genkernel/. This is a non-" "interactive process; no user input is entertained. Also, if --oldconfig is used in conjunction with --clean, the latter flag is negated, " "resulting in the activation of the --no-clean flag." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):245 msgid "" "--callback=\"echo hello\": Calls the specified arguments " "(echo hello, in this case) after the kernel and the relevant modules " "have been built, but before building the initrd image. This may be useful if " "you want to install external modules in the initrd image by emerging the " "relevant item(s) with the callback feature, and then redefining a genkernel " "module group." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):256 msgid "" "--no-install: Activates [or deactivates] the make " "install command, which installs your new kernel image, configuration " "file, initrd image and system map onto your mounted boot partition. Any " "compiled modules will be installed as well." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):262 msgid "" "--no-ramdisk-modules: Refrains from copying any modules to the " "genkernel-created initrd image. This flag is an exception to the rule about " "the no- prefix; omission of this prefix creates an invalid genkernel " "flag." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):268 msgid "" "--all-ramdisk-modules: Copies all available modules to the genkernel-" "created initrd image." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):272 msgid "" "--genzimage: Creates the initrd image, prior to the kernel image. " "(This hack currently applies only to PPC Pegasos systems.)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):281 msgid "Compiler Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):284 msgid "" "The following flags are supported by genkernel, and are passed to the " "relevant applications while the kernel is being assembled. These flags " "affect the compiler used for the kernel compilation process, albeit " "at a much lower level." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):292 msgid "" "--kernel-cc=someCompiler: Specifies the compiler employed " "during the kernel compilation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):296 msgid "" "--kernel-ld=someLinker: Specifies the linker employed during " "the kernel compilation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):300 msgid "" "--kernel-as=someAssembler: Specifies the assembler employed " "during the kernel compilation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):304 msgid "" "--kernel-make=someMake: Specifies an alternative to the GNU " "make utility employed during the kernel compilation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):311 msgid "" "--utils-cc=someCompiler: Specifies the compiler employed " "during the compilation of support utilities." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):315 msgid "" "--utils-ld=someLinker: Specifies the linker employed during " "the compilation of support utilities." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):319 msgid "" "--utils-as=someAssembler: Specifies the assembler employed " "during the compilation of support utilities." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):323 msgid "" "--utils-make=someMake: Specifies an alternative to the GNU " "make utility employed during the compilation of support utilities." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):330 msgid "" "--makeopts=-jX: Specifies the number of concurrent threads " "that the make utility can implement while the kernel (and utilities) are " "being compiled. The variable 'X' is a number obtained by adding one " "(1) to the number of CPUs used by the system. So, for a system with one CPU, " "the appropriate flag is -j2; a system with two CPUs will use the -" "j3 flag, and so on. (A system with one processor that supports Hyper-" "Threading™ (HT) Technology can use the -j3 flag, " "provided Symmetric Multi-Processing (SMP) support is enabled in the kernel.)" "" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):346 msgid "Debugging Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):349 msgid "" "The use of debugging flags during the kernel compilation process controls " "the amount of information reported, as well as the presentation of said data." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):355 msgid "" "--loglevel=verblevel: Controls the level of verbosity for " "information provided by genkernel. The variable verblevel is an " "integer between 0 and 5. The level '0' represents minimal output, while '5' " "provides as much information as possible about genkernel's activities during " "the kernel compilation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):362 msgid "" "--logfile=/path/to/outputfile: Ignores the value set by " "the --loglevel argument, and sends all debugging data produced " "by genkernel to the specified output file, which is located at /var/" "log/genkernel.log by default." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):368 msgid "" "--no-color: Activates [or deactivates] colored output of " "debugging information (reported by genkernel) using escape sequences." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):378 msgid "Initialization Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):381 msgid "" "The flags here are used to create certain effects during system startup. " "Some of these flags are primarily for aesthetics, while others may be " "essential for enabling certain features on the system." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):388 msgid "" "--no-splash: Activates [or deactivates] support for " "framebuffer splash support in the genkernel-built initrd image. To override the default " "theme used by fbsplash, use --splash=PreferredTheme (where " "PreferredTheme is the title of one of the directories inside the " "/etc/splash/ directory." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):396 msgid "" "--splash-res=PreferredResolution: This flag allows you to " "select which splash screen resolutions will be supported in the initrd " "during the start-up of the system. This is useful for two reasons: First, " "you are able to select only the splash screen resolution(s) relevant to your " "system. Second, you avoid the unnecessary increase in the disk space " "required by initrd (since the initrd does not have to support resolutions " "that are irrelevant for your system configuration.) However, you may want to " "omit this flag if the kernel is being compiled for an Installation CD; this " "allows splash support for all possible resolutions." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):407 msgid "" "--do-keymap-auto: Force keymap selection during the boot sequence." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):410 msgid "" "--lvm: Includes support for storage using via Logical Volume Management (LVM2) from " "static binaries, if available to the system. Relevant (static) LVM2 " "binaries are compiled if they are unavailable. Be sure to install the lvm2 " "package on your system with emerge lvm2 before enabling this flag, " "and review the Gentoo LVM2 Installation " "guide." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):419 msgid "" "--dmraid: Includes support for DMRAID; the utility which creates RAID " "mappings using the kernel device-mapper subsystem. DMRAID discovers, " "activates, deactivates and displays properties of software RAID sets " "(ATARAID, for example) and contained DOS partitions." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):426 msgid "" "--luks: Includes support for Linux Unified Key Setup or LUKS. This will allow you to use a " "device encrypted by LUKS which contains the root filesystem. On the " "bootloader, you then set that encrypted device as the value of crypt_root " "(and real_root shall be the unencrypted device LUKS creates)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):434 msgid "" "--disklabel: Adds support for disk label and UUID support to your " "initrd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):438 msgid "--iscsi: Adds support for iSCSI to your initrd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):441 msgid "" "--multipath: Adds support for Multipath to your initrd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):445 msgid "" "--linuxrc=/path/to/your/linuxrc: Specifies a user-created linuxrc— a script that is initialized during the start-up stage of the " "kernel, prior to the actual boot process. (A default linuxrc script should " "be in the /usr/share/genkernel/ directory.) This script allows " "you to boot into a small, modularized kernel and load the drivers that are " "needed (as modules) by the system." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):453 msgid "" "--cachedir=/path/to/alt/dir/: Overrides the default cache location " "used while compiling the kernel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):457 msgid "" "--tempdir=/path/to/new/tempdir/: Specifies the location of the " "temporary directory used by genkernel while compiling the kernel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):461 msgid "" "--unionfs: Includes support for the Unification File System in the " "initrd image." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):471 msgid "Miscellaneous Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):474 msgid "" "The assortment of flags listed below are supported by genkernel, but do not " "fit neatly into any of the other categories:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):480 msgid "" "--mountboot: Detects whether or not the /boot/ directory " "needs to be mounted on a separate partition. It will check /etc/fstab script for instructions on how to mount the boot partition on a file " "system (if needed)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):486 msgid "" "--kernname=NickName: Allows you to modify the name of the " "kernel and initrd images in the /boot/ directory, so that the " "images produced are kernel-NickName-version and initramfs-" "NickName-version." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):497 msgid "Possible Actions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):500 msgid "" "An action tells genkernel what to build. Currently, the following actions " "are supported:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):506 msgid "" "all: Builds all stages — the initrd, kernel image and modules." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):509 msgid "bzImage: Only builds the kernel image" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):510 msgid "kernel: Only builds the kernel image and modules" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):511 msgid "initramfs: Only builds the initramfs/ramdisk image" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):512 msgid "ramdisk: Only builds the initramfs/ramdisk image" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):515 msgid "" "The first action, all, is recommended for most users since it builds " "the stages required for a functional kernel. Remember, an action " "simply tells genkernel what to build, not install." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):524 msgid "Bootloader Configuration" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):527 msgid "" "To set up genkernel to work with your bootloader, three or four changes " "should be applied to the bootloader's configuration file:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):533 msgid "" "Add real_root=/dev/sda3, for example, to the kernel parameters passed " "to the kernel image, if /dev/sda3 contains your root partition." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):538 msgid "" "If you are using splash, add a suitable mode line such as vga=0x317 " "to the parameters passed to the kernel and also add splash=verbose or " "splash=silent depending on the verboseness you require from your " "bootloader." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):544 msgid "" "Add the initrd information as required by the bootloader. Consult the Bootloader " "Configuration Chapter of the Gentoo Handbook for details on how to " "make your bootloader initrd-aware." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):557 msgid "Configuration Options" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):559 msgid "Editing /etc/genkernel.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):562 msgid "" "Passing flags to genkernel from the command line can be cumbersome, " "especially if you have about a dozen flags:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):567 msgid "Running genkernel (overloaded with flags)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):567 #, no-wrap msgid "" "\n" "# genkernel --loglevel=5 --no-color --no-mrproper --clean --splash \\\n" "--kerneldir=/path/to/alternate/kernel/sources --install --menuconfig \\\n" "--kernel-config=/path/to/preferred/configfile --save-config --mountboot all\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):573 msgid "" "Fortunately, there is a configuration file where most of the basic options " "can be set (or changed) as necessary: /etc/genkernel.conf. What " "follows is a rundown of the more relevant options:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):580 msgid "" "MENUCONFIG=[yes|no]: This option is equivalent to the --" "menuconfig flag used by genkernel, which in turn uses the make " "menuconfig command to invoke a command-line based kernel configuration " "utility. To invoke the utility automatically during kernel configuration via " "this script, set this option to 'yes' here; otherwise, choose 'no'." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):587 msgid "" "CLEAN=[yes|no]: Setting this option to 'yes' is equivalent to " "the --clean flag used by genkernel, and invokes the make clean " "command to remove all object files and dependencies from the kernel's source " "tree. Setting this option to 'no' creates a cascade effect — it is " "equivalent to genkernel's --no-clean flag, which disables the make " "clean command and implies genkernel's --no-mrproper flag — " "essentially nullifying the make mrproper command." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):597 msgid "" "MRPROPER=[yes|no]: Setting this option to 'yes' is equivalent " "to --mrproper flag used by genkernel, and invokes the make " "mrproper command, which purges the kernel source tree of any " "configuration files. Selecting 'no' here is equivalent to genkernel's --" "no-mrproper flag, which disables the make mrproper command." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):604 msgid "" "MOUNTBOOT=[yes|no]: Setting this option to 'yes' is equivalent " "to the --mountboot flag, and automatically mounts the /boot/ directory (if needed) at compile time. If the /boot/ " "directory is on a separate partition, consider enabling this option; it will " "make for one less (essential) step to remember later." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):611 msgid "" "SAVE_CONFIG=[yes|no]: After configuring the kernel, the " "selected options are stored as .config in the kernel source " "tree. This script may be overwritten during the next kernel compilation, or " "even purged from the kernel source tree. Choosing 'yes' here is equivalent " "to the --save-config flag, and stores all options selected during " "kernel configuration as a script in the /etc/kernels/ " "directory. Choosing 'no' preserves the status quo." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):620 msgid "" "USECOLOR=[yes|no]: Setting this option to 'yes' is equivalent " "to the --color flag, which colors genkernel's output to ease " "debugging (when needed.)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(li):625 msgid "" "LOGLEVEL=[0|1|2|3|4|5]: This option is for adjusting the " "verbosity of the output produced by genkernel — setting this option to " "'0' with --loglevel=0 will suppress all output produced by genkernel; " "setting this option to '5' with --loglevel=5 provides the user with " "all output produced by genkernel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(note):634 msgid "More options are described in /etc/genkernel.conf." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):638 msgid "" "By choosing the appropriate options in /etc/genkernel.conf, you " "can halve the number of flags passed to genkernel from the command line:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):643 msgid "Running genkernel (with flags), after employing genkernel.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):643 #, no-wrap msgid "" "\n" "# genkernel --splash --kerneldir=/path/to/alternate/kernel/sources \\\n" "--kernel-config=/path/to/preferred/configfile --install all\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):648 msgid "" "Identical results are obtained from both approaches, but the latter has most " "of the options stored in a script that can be modified at a later date." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):658 msgid "Network-Booting with genkernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):660 msgid "Network Booting from an Installation CD" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):663 msgid "" "The genkernel utility can build kernel and initrd images that provide " "support for network booting, or netbooting. With any luck, you should " "be able to netboot any recent computer into the environment provided by the " "Installation CD." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):670 msgid "" "The magic lies in genkernel's linuxrc script: it will try to netmount " "the Installation CD using NFS. From there, the init scripts of the " "Installation CD can take over, as if the CD was present locally." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):679 msgid "Building Kernel and Initrd Images with Support for Netbooting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):682 msgid "" "To enable support for netbooting, include the following options while " "configuring the kernel:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(warn):687 msgid "" "Support for netbooting with genkernel is experimental and may contain bugs." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):691 msgid "" "First, the kernel image must include the drivers for your Network Interface " "Cards (NIC). Normally, drivers for such devices will be compiled as modules. " "However, it is essential (for netbooting) that you have such drivers " "compiled directly into the kernel image and not as modules." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):698 msgid "Configuring a 2.6.x series kernel to support your NIC driver" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):698 #, no-wrap msgid "" "\n" "Device Drivers --->\n" " Networking Support --->\n" " Ethernet (10 or 100Mbit) --->\n" " [*] Ethernet (10 or 100Mbit)\n" " <*> the driver for your network card\n" "(Be sure to select <*> and not <M>)\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):707 msgid "" "Secondly, we suggest that you enable IP: kernel level autoconfiguration and the IP: DHCP support options. This avoids an unnecessary layer " "of complexity since the IP address and the NFS path to the Installation CD " "can be configured on a DHCP server. Of course, this means the kernel command " "line will remain constant for any machine — which is very important " "for etherbooting." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):716 msgid "Configuring a 2.6.x series kernel to support DHCP" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):716 #, no-wrap msgid "" "\n" "Device Drivers --->\n" " Networking Support --->\n" " Networking options\n" " [*] TCP/IP networking--->\n" " [*] IP: kernel level autoconfiguration\n" " [*] IP: DHCP support\n" "(These options tell the kernel to send a DHCP request at bootup.)\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):726 msgid "" "Additionally, you should enable SquashFS because most modern Gentoo " "Installation CDs require it. Support for SquashFS is not included with the " "generic kernel source tree. To enable SquashFS, apply the necessary patches " "to the generic kernel source or install gentoo-sources." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):733 msgid "Configuring the kernel to support SquashFS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):733 #, no-wrap msgid "" "\n" "File systems--->\n" " Miscellaneous filesystems --->\n" " [*] SquashFS 2.X - Squashed file system support\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):739 msgid "" "Once the compilation process is completed, create a compressed tarball (tar.gz) that contains the kernel's modules. This step is only necessary " "if your kernel version does not match the kernel image version on the " "Installation CD." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):746 msgid "Creating a compressed tarball containing the kernel modules" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):746 #, no-wrap msgid "" "\n" "(Create a tar.gz containing all the modules)\n" "# cd /\n" "# tar -cf /tmp/modules-X.Y.Z.tar.gz /lib/modules/X.Y.Z/\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):752 msgid "" "Depending on your network boot mechanism, you will need to do some of the " "following steps:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):757 msgid "Creating a boot image" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):757 #, no-wrap msgid "" "\n" "(Create an etherboot image)\n" "# emerge mknbi\n" "# cd /boot\n" "# mkelf-linux -params=\"root=/dev/ram0 init=/linuxrc ip=dhcp\" kernel... initrd... > etherboot.img\n" "\n" "(Create a OpenBoot / SPARC64 TFTP image)\n" "# emerge sparc-utils\n" "# cd /boot\n" "# elftoaout kernel... -o kernel.aout\n" "# piggyback64 kernel.aout System.map-... initrd-...\n" "# mv kernel.aout openboot.img (This is the boot image)\n" "\n" "(PXE does not need any more steps, the kernel and initrd can be used as is)\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):773 msgid "" "Finally, copy this kernel to your TFTP server. The details are architecture-" "dependent and are beyond the scope of this guide. Please refer to the " "documentation for your platform." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):782 msgid "NFS Setup" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):785 msgid "" "To setup a NFS share that contains the Installation CD, use the loop device " "to mount the ISO image and then copy the contents of the CD into the NFS " "share. As a nice extra, genkernel's initrd scripts will extract all tar.gz " "files located in the /nfs/livecd/add/ directory. All you have " "to do here is copy the modules-X.Y.Z.tar.gz archive to the /nfs/" "livecd/add/ directory." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):794 msgid "Preparing the NFS share" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):794 #, no-wrap msgid "" "\n" "(This assumes that /nfs/livecd is an exported NFS share)\n" "# mount /tmp/gentoo-livecd.iso /mnt/cdrom -o loop\n" "# cp -p /mnt/cdrom /nfs/livecd\n" "# umount /mnt/cdrom\n" "\n" "(Copy the modules.tar.gz into /add)\n" "# mkdir /nfs/livecd/add\n" "# cp /tmp/modules-X.Y.Z.tar.gz /nfs/livecd/add\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):808 msgid "DHCP Setup" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):811 msgid "" "The netboot images will ask your DHCP server for an IP as well as a root-" "path parameter. Both can be specified per host using a MAC address to " "identify machines:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):817 msgid "Sample client dhcpd.conf setup" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):817 #, no-wrap msgid "" "\n" "...\n" "\n" "host netbootableMachine {\n" " hardware ethernet 11:22:33:44:55:66;\n" " fixed-address 192.168.1.10;\n" " option root-path \"192.168.1.2:/nfs/livecd\";\n" "}\n" "# Here, 192.168.1.2 is the NFS server\n" "# While 192.168.1.10 will be the IP address of the netbooted machine\n" "...\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):833 #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre:caption):844 msgid "Netbooting Instructions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):836 msgid "" "Netbooting itself is again very platform-specific. The important part is to " "specify the ip=dhcp and init=/linuxrc parameters on the kernel " "command line, as this will bring up the network interface and tell the " "initrd scripts to mount the Installation CD via NFS. Here are some platform-" "specific tips:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(pre):844 #, no-wrap msgid "" "\n" "# Etherboot - insert the etherboot disk into the drive and reboot\n" "# The kernel command line was specified when the image was constructed\n" "\n" "# Sparc64 - Hit Stop-A at the boot prompt\n" "ok boot net ip=dhcp init=/linuxrc\n" "\n" "# PXE - Setup pxelinux (part of syslinux),\n" "then create a pxelinux.cfg/default along the lines of:\n" "\n" "DEFAULT gentoo\n" "TIMEOUT 40\n" "PROMPT 1\n" "\n" "LABEL gentoo\n" " KERNEL kernel-X.Y.Z\n" " APPEND initrd=initrd-X.Y.Z root=/dev/ram0 init=/linuxrc ip=dhcp\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):868 msgid "Conclusion" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(title):870 msgid "To Automate or not to Automate?" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(p):873 msgid "" "The purpose of genkernel is to provide an (easier) alternative to the time-" "tested approach to kernel compilation. As always, you are free to decide on " "whether or not you want to automate the kernel compilation process." msgstr "" #. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL #: ../../gentoo/xml/htdocs/doc/en//genkernel.xml(None):0 msgid "translator-credits" msgstr ""