|
呵呵,也来说一句,试改了cocoboot.conf,做了几个尝试,也发现其实#号是注释,不过正好叫 MEM=32 是输入式的命令,然后又有ROOT这一步,如果是直接运行结束的话,估计加#的写法就不起作用了
8 W. Y( K) _1 S2 ]; R
/ Z4 I, @$ ]8 T5 v. y4 D! u3 e原来的文件写法比较乱,就改了一下,测试下来可用,这样就明了许多了。
6 ^4 `% J" [' X% \+ m/ w7 M9 l9 l. d5 C1 r% i
# cocoboot.conf.exaple - example configuration file for Cocoboot' l/ F/ U* Y5 T' J! Y4 ~) W, p
7 l( G' I) R* s- T$ V5 b" Q% L
## kernel
; \9 g1 R, N: _6 U/ X# Filename of the kernel zImage. Cocoboot will look for this file on all
4 v+ ]1 X+ D9 b( X6 [# attached VFS disks.
2 @( E2 P @1 w2 d3 o- Z+ R#" d7 i3 s, Z7 f' z
# Defaut: /zImage
5 L& G( T+ f G7 d" T
. i- b5 x/ s Y) d4 E. C! [$ e6 ukernel = /zImage.t680
8 P7 O' X8 ?4 e: m7 @0 h
" d9 u, x* R: W8 @& d- o## initrd( r' T' m$ W4 x# o; q
# Filename of the initrd or initramfs ramdisk image.' p5 j0 W" Z& b4 _9 d9 H
#, b, p; z! r% R( B
# Default: /initrd.gz
, K' }6 q6 P x# w# t7 I
/ E+ M1 p- N7 y5 Zinitrd = /initrd-menu.gz
0 _+ J* F3 f5 @1 p
# Z7 G) Z) n0 J: C7 H0 c## noprompt) M- f! A" Q8 F
# When this option is 1, Cocoboot will not prompt for the kernel; I5 F' {. K: R2 l1 S+ \ l
# command-line and will instead boot Linux immediately when it is started.' b' f4 Y' t9 z4 q
#
, w! p' r& B. E8 ^ |# Default: 07 s: X. d& X' B* K
+ E! T" x* V9 |3 m: q" ~( Wnoprompt = 0+ y, C7 z T2 a7 i% ~# _! O
5 r9 n* s) ?0 t% _8 H" A8 H
## cmdline5 u' w# l$ f" [$ v) M! D/ Q! v& U# b
# The value of cmdline is the default kernel command-line. The user can
0 s& o+ _3 Q, F/ G6 x* X# edit this via the GUI unless noprompt is enabled.' U' {! r1 N) S7 }9 A" m
#
5 |* E8 a2 |' \9 X8 i7 K3 b# Default: [blank]6 q! n0 p' d/ a. \8 s! x
% G2 B$ Q8 p5 b% F3 M# _4 W# cmdline = root=/dev/mmcblk0p1' i6 V, u$ k3 U
4 _' W# i2 j! \5 G' Y' g- ^
cmdline = mem=32+ f" S, y9 @+ ~ Q* V2 g
) v% x/ p ^# ?6 [2 J% q" N* V( Y
[ 本帖最后由 LiuHaiTao 于 2009-3-25 15:50 编辑 ] |
|