|
呵呵,也来说一句,试改了cocoboot.conf,做了几个尝试,也发现其实#号是注释,不过正好叫 MEM=32 是输入式的命令,然后又有ROOT这一步,如果是直接运行结束的话,估计加#的写法就不起作用了
8 ~# O# K* ]+ t, ]- y
# T% f& o1 D, D$ D' N# k原来的文件写法比较乱,就改了一下,测试下来可用,这样就明了许多了。 l. S3 k4 C0 A: K
* E C2 [8 f( \3 ~2 p' R- j7 I+ ?
# cocoboot.conf.exaple - example configuration file for Cocoboot
! w1 }( z$ a }' l% p, ]
- m8 V n2 u$ v x' A0 F S2 o## kernel
8 A& W8 ~3 p3 ?" Z; V( R# Filename of the kernel zImage. Cocoboot will look for this file on all4 ]- T( ^: Y p, N9 m( }$ t! Q5 S
# attached VFS disks.
1 M" n/ X* _ H" f$ e' I#0 H% ^* E% D: b: }* e# `: o: Q
# Defaut: /zImage
! H6 ~9 U$ v/ M0 W. I0 @7 M4 P, V# v1 A. e3 u9 U1 r, h1 W; t- G
kernel = /zImage.t680
8 K' F/ _ I' w
' t f" b# _: U- l## initrd% h8 R' L+ ~% s4 m+ w! O8 f
# Filename of the initrd or initramfs ramdisk image.# z% [$ d* n5 K' ]: Z
#
6 K% B2 G& [, M' F# }- `7 F# Default: /initrd.gz
& B9 W4 E& m6 n5 H2 I" j4 ~. b% z
initrd = /initrd-menu.gz
6 X" o( z, U4 ]! l) [& n/ d4 ~% G2 ~. t/ f% \
## noprompt& R8 u4 Z2 C9 m# c3 A f- F
# When this option is 1, Cocoboot will not prompt for the kernel( Y" g) r+ v( a: f* p
# command-line and will instead boot Linux immediately when it is started., N4 I5 l; y9 a3 F" p; i( K0 G
#
: c: ~# T5 L& a9 M6 o0 U# Default: 0
* x0 t& d1 q m/ q6 e. i- Y+ c: U7 Y9 ~4 j/ i4 @; l+ ~
noprompt = 09 _& f4 g) f8 }2 h9 P O- n
- a g7 }. T. T; O# }
## cmdline _0 g/ c/ b9 X. t1 {
# The value of cmdline is the default kernel command-line. The user can
+ X5 R0 o! E$ L K# edit this via the GUI unless noprompt is enabled./ z2 ~- ^9 M) q
#0 V2 T3 U. l# l6 B2 m
# Default: [blank]$ {$ L3 R# `8 t* ^# a2 T
9 }, q8 N; c2 A" N/ N7 `
# cmdline = root=/dev/mmcblk0p1
: `& E4 l, S/ v1 x
s7 e$ n4 ]( T* o; Wcmdline = mem=32
/ A. m1 V3 q0 _ I6 c t) o9 x+ e' p3 s$ A4 ^( L& G9 v% u" _* g
[ 本帖最后由 LiuHaiTao 于 2009-3-25 15:50 编辑 ] |
|