Changeset 2112

Show
Ignore:
Timestamp:
10/14/07 05:00:23 (1 year ago)
Author:
alexander
Message:

Copied documentation (minus X-related bits) from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/minimal/doc/README.txt

    r2097 r2112  
    11Official Linux From Scratch LiveCD 
    22================================== 
    3 Version: x86-6.3-r2052 
     3Version: [version] 
    44 
    55 
     
    1616   - w3m (text web browser) 
    1717   - irssi (console irc client) 
    18    - finch (multiprotocol console chat client - works in UTF-8 locales only) 
     18   - finch (multiprotocol console chat client -- works in UTF-8 locales only) 
    1919   - msmtp (SMTP client for use with mutt and tin) 
    2020   - mutt (console email client) 
     
    7373   - parted 
    7474 
    75 This CD also includes jhalfs (a tool for extracting commands from the Linux From Scratch book and creating 
    76 Makefiles that can download, check and build each LFS package for you.) 
     75This CD also includes jhalfs (a tool for extracting commands from the 
     76Linux From Scratch book and creating Makefiles that can download, check 
     77and build each LFS package for you.) 
    7778 
    7879You can compile other programs from sources directly on the CD. All locations 
     
    8384 
    8485This CD does not detect virtual SCSI disks connected to a virtual machine in 
    85 VMware Workstation 5.x or earlier or VMware Server 1.0.x or earlier. This is 
    86 a known VMware bug. The solution is to upgrade to VMware Workstation 6.x, or 
    87 to choose "BusLogic" as the virtual SCSI controller type instead of the 
     86VMware Workstation 5.x or earlier or VMware Server 1.0.3 or earlier. This is 
     87a known VMware bug. The solution is to upgrade to VMware Workstation >= 6.0 or 
     88VMware Server >= 1.0.4. 
     89 
     90The following workarounds help for older versions of VMware products: 
     91 
     92 * Choose "BusLogic" as the virtual SCSI controller type instead of the 
    8893default "LSI Logic". 
     94 
     95 * Pass the "mptbase.mpt\_channel\_mapping=1" option to the kernel command line. 
    8996 
    9097The same issue will be present on an LFS system built from this CD. 
     
    103110wireless connections that utilize WEP or WPA encryption. 
    104111 
    105 Users of wireless cards based on the Atheros chipset have to install the 
    106 proprietary "madwifi" driver. The driver is provided in the precompiled form 
    107 in the /drivers directory (if you loaded the CD contents to RAM, you have to 
    108 mount the CD and look into /media/cdrom/drivers instead). To install it, 
    109 run the following commands: 
    110  
    111     cd /drivers 
    112     tar -C / -xf madwifi-x86-6.3-r2052-kernel-[kernel_version].tgz 
    113     tar -C / -xf madwifi-x86-6.3-r2052-tools.tgz 
    114     depmod -ae 
    115     modprobe ath_pci 
    116  
    117112CUSTOMIZING THE CD CONTENTS 
    118113--------------------------- 
     
    140135    ssh. It is more secure to use public key based authentication instead. 
    141136 
    142 /etc/ssh/ssh_host_dsa_key, /etc/ssh/ssh_host_rsa_key: 
     137/etc/ssh/ssh\_host\_dsa\_key, /etc/ssh/ssh\_host\_rsa\_key: 
    143138    Create those files as described in the *ssh-keygen(1)* manual page. If you 
    144139    do not do that, random host keys will be generated for you automatically 
     
    157152    linux LANG=es_ES@euro 
    158153 
    159 The CD tries to guess the proper screen font and keymap based on this 
    160 information. If the guess is wrong, you can override it by adding the 
    161 following parameters: 
    162  
    163 KEYMAP: 
    164   specifies the console keymap(s) to load (actually the arguments to 
    165   the "loadkeys" program separated by the "+" sign) 
    166  
    167 Example: "KEYMAP=es+euro1" 
    168  
    169 LEGACY_CHARSET: 
    170   sometimes a ready-made UTF-8 keymap is not available and 
    171   must be obtained by converting an existing keymap from this charset to UTF-8. 
    172   This parameter is not used in non-UTF-8 locales. 
    173  
    174 Example: "LEGACY_CHARSET=iso-8859-15". 
    175  
    176 FONT: 
    177   specifies the screen font to set (actually, the arguments to the 
    178   "setfont" program separated by the "+" sign). 
    179  
    180 Example: "FONT=LatArCyrHeb-16+-m+8859-15" 
    181  
    182 Alternatively, these items can be configured interactively using dialog-based 
    183 interface if the locale is not specified on the boot prompt. 
    184154 
    185155For some locales (e.g. lv_LV.ISO-8859-13) there is no valid console keymap, 
     
    231201 * All other Chinese, Japanese and Korean locales (no support in 'brltty') 
    232202 
    233 If 'brltty' displays incorrect Braille patterns in your locale, please revert to 
    234 the en_US locale, thus avoiding the use of non-ASCII characters. If you know how 
    235 to fix this problem for your locale, mail this information to 
     203If 'brltty' displays incorrect Braille patterns in your locale, please revert 
     204to the en_US locale, thus avoiding the use of non-ASCII characters. If you 
     205know how to fix this problem for your locale, mail this information to 
    236206<livecd@linuxfromscratch.org>. 
    237207 
     
    253223Pass "resume=/dev/hda2" as one of the kernel arguments when booting this CD. 
    254224I.e., the complete boot line may look as: 
    255    
     225 
    256226    linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg resume=/dev/hda2 
    257227 
     
    323293This CD comes with the "jhalfs" tool that allows extracting commands from the 
    324294XML version of the LFS or CLFS book into Makefiles and shell scripts. You can 
    325 find the jhalfs installation in the home directory of the "jhalfs" user, and the 
    326 XML LFS book is in /usr/share/LFS-BOOK-6.3-XML. In order to use jhalfs, 
     295find the jhalfs installation in the home directory of the "jhalfs" user, and 
     296the XML LFS book is in /usr/share/LFS-BOOK-6.3-XML. In order to use jhalfs, 
    327297you have to: 
    328298 
     
    393363 * Add "rootdelay=20" to the kernel arguments. 
    394364 
     365BOOT OPTIONS 
     366------------ 
     367 
     368### AVAILABLE KERNELS ### 
     369 
     370#### linux #### 
     371 
     372The default (32-bit on the x86 CD, 64-bit on the x86_64 CD) kernel. 
     373 
     374#### linux64 #### 
     375 
     376On the x86 CD, this is the alternative (64-bit) kernel, for use with 
     377Cross-Compiled Linux From Scratch <http://trac.cross-lfs.org/>. 
     378 
     379Don't use this kernel for building the regular version of LFS -- it will fail, 
     380because the x86 CD does not contain a 64-bit capable compiler, and because 
     381the included book on the x86 CD does not support x86_64 yet. 
     382 
     383On the x86_64 CD, this is the same as the default kernel. 
     384 
     385After the kernel name, options may be specified, as in the following example: 
     386 
     387    linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg UTC=1 
     388 
     389See the list of available options below. 
     390 
     391### GRAPHICS AND SOUND ### 
     392 
     393#### vga=[resolution] #### 
     394 
     395Examples: 
     396 
     397    vga=795 (1280x1024x24)   vga=792 (1024x768x24)   vga=789 (800x600x24) 
     398    vga=794 (1280x1024x16)   vga=791 (1024x768x16)   vga=788 (800x600x16) 
     399 
     400This parameter enables the framebuffer console. 
     401 
     402#### volume=[volume] #### 
     403 
     404Examples: 
     405 
     406    volume=50% 
     407    volume=-15dB 
     408 
     409Ths parameter sets the Master, Front and Headphone volume controls on all sound 
     410cards to the specified value. The default is 74%. PCM and similar controls are 
     411always set to 0dB, or, if the driver doesn't know about dB, to 74%. 
     412 
     413### DATE AND TIME ### 
     414 
     415#### TZ=[timezone] #### 
     416 
     417Examples: 
     418 
     419    TZ=EDT-4    TZ=America/New_York 
     420 
     421The first example means that the timezone is named "EDT" 
     422and is 4 hours behind (west) of UTC. 
     423 
     424#### UTC=[0,1] #### 
     425 
     426Example: 
     427 
     428    UTC=1 
     429 
     430Use UTC=1 if the hardware clock is set to UTC or 
     431use UTC=0 (default) if the hardware clock is set to local time. 
     432 
     433If no TZ parameter is passed at the kernel command line, the CD asks 
     434for the above settings during boot. 
     435 
     436### LOCALIZATION BASICS ### 
     437 
     438#### LANG=[locale] #### 
     439 
     440Example: 
     441 
     442    LANG=fr_FR.UTF-8 
     443 
     444If you don't specify your locale at the boot prompt, a configuration dialog 
     445will appear later during boot. 
     446 
     447The CD attempts to guess the keymap and the screen font based on the LANG 
     448variable. If the default guess is wrong, you can override it, as described 
     449in the "FINE-TUNING LOCALIZATION" section below. 
     450 
     451UTF-8 locales don't work well on Linux text console. Copying and pasting 
     452non-ASCII characters is impossible, as well as using dead keys for entering 
     453characters outside of the Latin-1 range of Unicode. 
     454 
     455UTF-8 locales don't work at all with accessibility software (brltty and 
     456speakup) due to the same kernel limitation. 
     457 
     458### FINE-TUNING LOCALIZATION ### 
     459 
     460#### KEYMAP=[keymap] #### 
     461 
     462Example: 
     463 
     464    KEYMAP=es+euro1 
     465 
     466Specifies the console keymap(s) to load, separated by the "+" sign. 
     467 
     468#### LEGACY_CHARSET=[charset] #### 
     469 
     470Example: 
     471 
     472    LEGACY_CHARSET=iso-8859-15 
     473 
     474Instructs the CD to convert an existing keymap from this charset to UTF-8 
     475with the "dumpkeys" program. 
     476 
     477#### FONT=[screen_font] #### 
     478 
     479Example: 
     480 
     481    FONT=LatArCyrHeb-16+-m+8859-15 
     482 
     483Specifies the screen font to set (actually, the arguments to the "setfont" 
     484program, separated by the "+" sign). 
     485 
     486### ACCESSIBILITY: BRLTTY ### 
     487 
     488#### brltty=drv[,dev[,tbl]] #### 
     489 
     490Example: 
     491 
     492    brltty=bm,usb: 
     493 
     494Enables a refreshable Braille display supported by driver drv, connected to 
     495device dev, with a translation table tbl. The example specifies a BAUM 
     496SuperVario 40 Braille display connected viw USB with default Braille table. 
     497 
     498Available drivers: 
     499 
     500    al, at, bd, bl, bm, bn, cb, ec, eu, fs, ht, il, 
     501    lt, mb, md, mn, pm, tn, ts, vd, vo, vr, vs. 
     502 
     503Available tables: 
     504 
     505    brf, cz, da-1252, da-lt, da, de, en_UK, en_US, es, 
     506    fi1, fi2, fr-2007, fr_CA, fr-cbifs, fr_FR, it, nabcc, 
     507    no-h, no-p, pl, pt, ru, se-old, simple, visiob. 
     508 
     509The charset of the selected locale must match the charset of the Braille table. 
     510 
     511BRLTTY is not compatible with UTF-8 locales. 
     512 
     513### ACCESSIBILITY: SPEAKUP ### 
     514 
     515#### speakup.synth=[syn] #### 
     516 
     517Example: 
     518 
     519    speakup.synth=soft 
     520 
     521Enables a speech synthesis engine syn. Available drivers: acntpc, acntsa, 
     522appolo, audptr, bns, decext, dectlk, dtlk, keypc, ltlk, soft, spkout, txprt. 
     523The "soft" driver uses Espeak to output sound through the first sound card. 
     524 
     525The GIT snapshot of speakup used on this CD has a known bug: copying and 
     526pasting text produces garbage and even can crash the computer. For copying 
     527and pasting text between programs, please use the "screen" terminal emulator 
     528instead of this buggy built-in feature of speakup. 
     529 
     530#### speakup.ser=[index] #### 
     531 
     532Example: 
     533 
     534    speakup.ser=2 
     535 
     536One-based serial port index to use with a hardware synth. The example above 
     537means that /dev/ttyS1 will be used. 
     538 
     539#### speakup.port=[port] #### 
     540 
     541A port address to use with speakup. 
     542 
     543### MODULE HANDLING ### 
     544 
     545#### load=module1,module2,... #### 
     546 
     547Example: 
     548 
     549    load=ide-generic 
     550 
     551Loads the specified modules unconditionally from initramfs. Use if your SCSI 
     552or IDE controller is not autodetected. If you don't specify this parameter 
     553and the CD doesn't detect your SCSI or IDE controller, you will be dropped 
     554into a debugging shell where you can load the needed module manually. 
     555 
     556#### blacklist=module1,module2,... #### 
     557 
     558Example: 
     559 
     560    blacklist=yenta-socket 
     561 
     562Prevents the specified modules from being autoloaded. Use if udev autoloads 
     563a module that causes your computer to misbehave (e.g., crash or freeze). 
     564 
     565#### module.option=value #### 
     566 
     567Example: 
     568 
     569    psmouse.proto=bare 
     570 
     571Sets arbitrary module options. 
     572 
     573### ALTERNATIVE DRIVERS ### 
     574 
     575Options in this section do not take parameters. Example: 
     576 
     577    pata new_firewire 
     578 
     579#### pata #### 
     580 
     581Causes the CD to use new libata-based drivers for IDE controllers. This option 
     582may be required for controller detection or recommended for optimal performance 
     583on computers manufactured in year 2006 and later. 
     584 
     585Caution: new drivers are safe to use only with IDE chipsets from AMD, Intel, 
     586ITE, JMicron, Marvell, Netcell, NVIDIA, Serverworks, Promise, Silicon Image, 
     587VIA, or Winbond. Drivers for other chipsets are likely to contain bugs that 
     588lead to data loss. 
     589 
     590#### new_firewire #### 
     591 
     592Uses the new (experimental) Juju FireWire stack. 
     593 
     594#### all\_generic\_ide #### 
     595 
     596Attempts to support unknown PCI IDE and SATA controllers (slow). 
     597For SATA support to work with this option, the SATA controller 
     598must be put into "Legacy" (as opposed to "Native") mode in the BIOS. 
     599 
     600### TROUBLESHOOTING ### 
     601 
     602#### debug #### 
     603 
     604Displays kernel messages during the boot process. 
     605 
     606#### rootdelay=X #### 
     607 
     608Example: 
     609 
     610    rootdelay=20 
     611 
     612Waits X seconds before attempting to find the CD. Required (with X=20) 
     613for booting from USB or FireWire CD-ROMs. 
     614 
     615#### nodhcp #### 
     616 
     617Prevents the CD from attempting to obtain an IP address automatically. 
     618May be required for wireless networking, because the WEP or WPA key 
     619needs to be set up first. 
     620 
     621#### Options for buggy motherboards #### 
     622 
     623Example: 
     624 
     625    nomsi noapic nolapic pci=noacpi acpi=off clock=pit ide=nodma 
     626 
     627These options work around various chipset bugs. Try them one-by-one in the 
     628order given above and in various combinations if the CD does not boot, or if 
     629a device does not work correctly or fails after hibernating and resuming. 
     630Note: if this helps, the bug is in the hardware or the BIOS, not in this CD. 
     631 
    395632THANKS 
    396633------