Favorite tricks with linux kernel boot parameters?
- by ~drpaulbrewer
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.