File: linux_cmdline.html

package info (click to toggle)
chos 0.82-2
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 1,024 kB
  • ctags: 968
  • sloc: ansic: 4,180; asm: 2,103; tcl: 1,976; makefile: 152; sh: 79
file content (54 lines) | stat: -rw-r--r-- 2,089 bytes parent folder | download | duplicates (4)
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 &lt;<i>device</i>&gt; as root device.
	&lt;<i>device</i>&gt; 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>&lt;mode&gt;</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>&lt;XXXX&gt;</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>=&lt;image_name&gt;</i>' 
to the command line. '<i>auto</i>' will also be appended when started with the
default command line.

</body>
</html>