|
呵呵,也来说一句,试改了cocoboot.conf,做了几个尝试,也发现其实#号是注释,不过正好叫 MEM=32 是输入式的命令,然后又有ROOT这一步,如果是直接运行结束的话,估计加#的写法就不起作用了5 e6 y9 l+ |# q# w
0 T0 O: j- D# y- K4 J- @
原来的文件写法比较乱,就改了一下,测试下来可用,这样就明了许多了。
% o8 v9 p$ k8 i2 C+ O! K* Z! b# D! @) T* n
# cocoboot.conf.exaple - example configuration file for Cocoboot9 P8 d; K9 S }1 h/ Z ~5 {
4 A e+ D) F4 y* [" g5 F" ^9 P
## kernel
4 x1 R5 y8 F9 k! @, o! e# Filename of the kernel zImage. Cocoboot will look for this file on all( z! s6 X6 `# N2 x0 P
# attached VFS disks.
7 {" P! j4 y' n2 ~7 b3 w" x- P. y0 t5 I#9 p H! g5 w$ N) |
# Defaut: /zImage- ~5 m+ F5 f- z1 Z$ ^
2 G6 `. c9 N6 P( e$ t6 ]0 \
kernel = /zImage.t680! x* Q* A z4 z6 E5 `' o6 r. `
8 Q1 ~; i* G, G& D
## initrd F. \/ w# r3 g( B1 H3 Z% x
# Filename of the initrd or initramfs ramdisk image., [: y$ k7 @6 @9 ~5 n
#) k" |2 P5 u f
# Default: /initrd.gz
$ F, o& m6 d+ ^& @: `
' V7 ^5 l1 g5 D" yinitrd = /initrd-menu.gz+ M, B+ B2 b a' D9 }% q
' N% K9 C B- }1 \! d2 k: f( \## noprompt* X3 ^( X8 T0 X Z- |; @
# When this option is 1, Cocoboot will not prompt for the kernel+ {3 l+ g1 |7 I+ l
# command-line and will instead boot Linux immediately when it is started.
- g0 c1 F& g/ B" }' g#1 h0 X6 n+ k+ H2 ~; b8 C
# Default: 0
+ \7 c3 G1 s+ o$ a% C! u3 [, N% }2 F! W& w& k7 E4 `) n" i7 r
noprompt = 08 ]; @2 r3 q' f1 ^3 R9 F( t* Y! |
- x1 y% _# _5 W6 r+ y) T9 F9 {# ?
## cmdline1 @* z# ?- ~0 x
# The value of cmdline is the default kernel command-line. The user can
8 H4 ^3 _6 J( c, \( V# edit this via the GUI unless noprompt is enabled.. q# t, U3 W: l, L
#
: G. M& Z( ?; y3 Z7 I2 w# Default: [blank]6 A3 D* G/ N7 l5 A& n
; `* e0 K2 t7 j+ a' h# cmdline = root=/dev/mmcblk0p1
/ ]: ~- R* D, R. t# ~4 R$ r: H! D4 f2 O
cmdline = mem=32
6 x. A, Q2 C Q E4 _
' @9 h1 L! H: |) W" c* a[ 本帖最后由 LiuHaiTao 于 2009-3-25 15:50 编辑 ] |
|