Favorite tricks with linux kernel boot parameters?

Posted by ~drpaulbrewer on Server Fault See other posts from Server Fault or by ~drpaulbrewer
Published on 2010-02-19T16:24:33Z Indexed on 2010/06/18 11:24 UTC
Read the original article Hit count: 535

Filed under:
|

Most linux bootloaders let you edit the kernel boot command line before booting. There are often lots of parameters available -- Knoppix, for instance, has a list on their Knoppix Cheat Codes page -- but most are applicable only to compatibility and special situations. A few are hidden gems.

Common usages of these codes are to boot to single-user mode, alter screen mode or drivers, or to specify an alternative root directory.

Other more exotic uses are possible. Some linux distributions let you copy the boot cd into ram. Others (e.g., Ubuntu) let you use preseed files to clone installs when setting up multiple systems -- useful when installing a lab full of computers without having to baby sit each install.

What other tricks have you found useful in system installs, repairs, backups, restores, establishing temporary servers, or other tasks?

To add your favorite trick to the list: As much of the code for these options goes on either in initrd, or in a service handler that detects the kernel parameters, please list *(1) the kernel boot line parameter, (2) what it does, (3) the linux distribution and any required packages to activate the feature*. Thanks.

© Server Fault or respective owner

Related posts about linux

Related posts about linux-distributions