|
呵呵,也来说一句,试改了cocoboot.conf,做了几个尝试,也发现其实#号是注释,不过正好叫 MEM=32 是输入式的命令,然后又有ROOT这一步,如果是直接运行结束的话,估计加#的写法就不起作用了, x! B- d: t6 @7 v* D: Q7 u0 s; g
' `) M# q/ E! F+ i原来的文件写法比较乱,就改了一下,测试下来可用,这样就明了许多了。
+ h- X/ P: x+ C1 ?5 ]! t. t' R$ X' L) X u
# cocoboot.conf.exaple - example configuration file for Cocoboot
* N {% k& m" N# h$ N/ T$ R
' d3 E0 _, S% v* V" U## kernel" @+ s. E8 f: Y( o( ^
# Filename of the kernel zImage. Cocoboot will look for this file on all
9 I. @! a% E: |/ J. B# attached VFS disks.
- }; Z- x! Q. S' i#: G5 a0 R. V' ]" Y- q
# Defaut: /zImage
8 p5 |+ A6 ]& ^' l$ a3 W
9 a) D; a9 H, d" C0 C! `kernel = /zImage.t680, }7 M( ]' h. w# ~
- y9 M9 F1 t( R## initrd
8 L0 F1 ~8 F+ b% r" u4 F! u# Filename of the initrd or initramfs ramdisk image.
1 p0 ?5 H2 F' |#2 t: A" P3 P% ]- C9 C3 l! L
# Default: /initrd.gz
' _( Q/ E/ T; m1 W0 [# a' T" A; _+ T5 T7 x- |
initrd = /initrd-menu.gz
9 S$ E$ \0 ~0 m
" u3 w% s1 q! @# @, t* Q## noprompt8 s0 Y' I; m& \7 M6 r3 h
# When this option is 1, Cocoboot will not prompt for the kernel
4 v( H1 p! k4 \' D+ @# command-line and will instead boot Linux immediately when it is started.- R7 q/ p- B6 l; [
#2 F% X9 Y) M" U+ ]5 N- }# ?# i
# Default: 0! C9 I' v# [8 ]% p6 i, [
% i: y7 w4 y1 jnoprompt = 0* O1 K3 k4 w8 K( K! `
# {+ X+ S J0 }% ^8 k4 F! H## cmdline. ^2 U9 c4 w4 L3 E% F
# The value of cmdline is the default kernel command-line. The user can
5 T, X% z+ P) V, o% L# edit this via the GUI unless noprompt is enabled.' p' u9 ] W8 u; c# K! g- K9 B
#9 |, c0 O- ]% N; E5 W( g3 L
# Default: [blank]; ]& x, G S, n* l( Y G& F' [
2 l& a' J0 }* i. H& c4 z0 L# cmdline = root=/dev/mmcblk0p1& s3 j) R# Q* f- I# k2 a9 r
- P3 [0 h& u" |! Kcmdline = mem=32, v( F2 u7 e9 g2 D# V" M& [
) M9 m2 u9 Z6 n+ x! p[ 本帖最后由 LiuHaiTao 于 2009-3-25 15:50 编辑 ] |
|