開發相關備忘

開發相關備忘

Initramfs 中 casper 參數

Updated for casper 1.77+debian-7 on 2007-02-08.

These options (can be combined) work from the syslinux bootprompt:

casper casper-getty
casper xdebconf
casper hostname=HOSTNAME
casper userfullname=USERFULLNAME
casper username=USERNAME
||casper {keyb|kbd-chooser/method}=KEYBOARD
casper {klayout|console-setup/layoutcode}=LAYOUT
casper {kvariant|console-setup/variantcode}=VARIANT     ,
casper {kmodel|console-setup/modelcode}=CODE ,  koptions=OPTIONS
casper ip=IFACE,ADDRESS,NETMASK,GATEWAY[:IFACE,ADDRESS,NETMASK,GATEWAY]*
casper ip[=frommedia]
casper {live-media|bootfrom}=DEVICE
casper live-media-offset=BYTES
casper locale=LOCALE | debian-installer/locale=LOCALE
casper netboot[=nfs|cifs]
casper persistent
casper nopersistent
casper showmounts
casper todisk=DEVICE
casper toram
casper {preseed/file|file}=FILE
casper package/question=VALUE

Values for the vga kernel parameter

Colours640x400640x480800x6001024x7681152x8641280x10241600x1200
4 bits??0x302????
8 bits0x3000x3010x3030x3050x1610x3070x31C
15 bits?0x3100x3130x3160x1620x3190x31D
16 bits?0x3110x3140x3170x1630x31A0x31E
24 bits?0x3120x3150x318?0x31B0x31F
32 bits????0x164?

十進位

Colours640x400640x480800x6001024x7681152x8641280x10241600x1200
4 bits??770????
8 bits768769771773353775796
15 bits?784787790354793797
16 bits?758788791355794798
24 bits?786789792?795799
32 bits????356?