Linux command line
Linux command line is a string passed to the kernel by the bootloader.
When using LILO this is what you type after the name of the image.
When using Choose-OS you will be prompted for a command line when you
start the image with space instead of enter.
You will
then see your default command line (i.e. one given in the configuration file
with cmdline=my_commandline option).
You can edit this command line or clear it by pressing esc.
There are a lot of command line options depending on the drivers you have.
Some common options are:
- ro
- Mount root device read-only
(should be correctly hard-coded into the kernel so you shouldn't need this)
- rw
- Mount root device read-write
- root=device
- Use <device> as root device.
<device> is the pathname of the device (e.g. /dev/hda4)
(should as well usually be correctly hard-coded into the kernel unless you have a stock kernel or have changed your drive settings after compiling the kernel)
- vga=mode
- This option is used to set the textmode used.
It is not passed to the kernel as is but is interpreted by chos.
Valid <mode> values are (case insensitive):
- NORMAL
- Normal 80x25 mode.
- ASK
- Ask for the mode.
- EXTENDED
- The "perfect" textmode - 80x50. Always set this videomode ;).
- 0xXXXX
- Set mode with hexadecimal value 0x<XXXX>.
The value can be gotten from the menu displayed when the mode
is set to ASK.
Choose-OS will automagically append 'BOOT_IMAGE=<image_name>'
to the command line. 'auto' will also be appended when started with the
default command line.