1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<html>
<body bgcolor=#ffffff text=#000000 link=#4f4fff vlink=#0000ff alink=#00ff00>
<h2>Linux command line</h2>
Linux command line is a string passed to the kernel by the bootloader.<br>
When using <b>LILO</b> 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 <i>space</i> instead of <i>enter</i>.<br> You will
then see your default command line (i.e. one given in the configuration file
with <i><b>cmdline=</b>my_commandline</i> option).
You can edit this command line or clear it by pressing <i>esc</i>.
<p>
There are a lot of command line options depending on the drivers you have.
Some common options are:
<ul>
<dl>
<dt><b><i>ro</i></b>
<dd> Mount root device read-only<br><font size=-1>(should be correctly hard-coded into the kernel so you shouldn't need this)</font>
<dt><b><i>rw</i></b>
<dd> Mount root device read-write
<dt><i><b>root=</b>device</i>
<dd> Use <<i>device</i>> as root device.
<<i>device</i>> is the pathname of the device (e.g. <i>/dev/hda4</i>)<br>
<font size=-1>(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)</font>
<dt><i><b>vga=</b>mode</i>
<dd> This option is used to set the textmode used.
It is not passed to the kernel as is but is interpreted by chos.
<p>
Valid <i><mode></i> values are (case insensitive):
<dl>
<dt><b><i>NORMAL</i></b>
<dd>Normal 80x25 mode.
<dt><b><i>ASK</i></b>
<dd>Ask for the mode.
<dt><b><i>EXTENDED</i></b>
<dd>The "perfect" textmode - 80x50. Always set this videomode ;).
<dt><i><b>0x</b>XXXX</i>
<dd>Set mode with hexadecimal value 0x<i><XXXX></i>.
The value can be gotten from the menu displayed when the mode
is set to <i>ASK</i>.
</dl>
</dl>
</ul>
<p>
Choose-OS will automagically append '<i><b>BOOT_IMAGE</b>=<image_name></i>'
to the command line. '<i>auto</i>' will also be appended when started with the
default command line.
</body>
</html>
|