Changeset 2102

Show
Ignore:
Timestamp:
10/10/07 07:33:16 (1 year ago)
Author:
alexander
Message:

Reworked documentation.
Now isolinux help screens are autogenerated from the README.txt file,
and there is a README.html file in the root directory of the CD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile

    r2094 r2102  
    286286        ch-strace ch-iptables ch-eject ch-xlockmore ch-hdparm \ 
    287287        ch-sysfsutils ch-pcmcia-cs ch-pcmciautils ch-ddccontrol ch-ddccontrol-db \ 
    288         ch-blfs-bootscripts ch-oui-data
     288        ch-blfs-bootscripts ch-oui-data ch-Markdown ch-SmartyPants
    289289        ch-man-pages-fr ch-man-pages-es ch-man-pages-it ch-manpages-de ch-manpages-ru \ 
    290290        ch-anthy ch-scim ch-scim-tables ch-scim-anthy ch-libhangul ch-scim-hangul \ 
     
    406406        @>$(MP)/var/log/wtmp 
    407407        @>$(MP)/var/log/lastlog 
    408         @install -m644 isolinux/{isolinux.cfg,*.msg,splash.lss} $(MP)/boot/isolinux 
    409 ifeq ($(CD_ARCH),x86_64) 
    410         @sed -i -e '/linux64/d' -e 's/ 32-bit//' $(MP)/boot/isolinux/options?.msg 
    411         @sed -i '/linux64/,$$d' $(MP)/boot/isolinux/isolinux.cfg 
    412 endif 
    413         @sed -i "s/Version:/Version: $(VERSION)/" $(MP)/boot/isolinux/boot.msg 
    414         @sed -i "s/Version:/Version: $(VERSION)/" $(MP)/etc/issue* 
     408        @sed -i 's/Version:$$/Version: $(VERSION)/' $(MP)/boot/isolinux/boot.msg 
     409        @sed -i 's/Version:$$/Version: $(VERSION)/' $(MP)/etc/issue* 
    415410        @install -m644 doc/lfscd-remastering-howto.txt $(MP)/root 
    416411        @sed "s/\[version\]/$(VERSION)/" doc/README.txt >$(MP)/root/README.txt 
     
    423418iso: prepiso 
    424419        @make unmount 
    425         # FIXME: sometimes e2fsck bombs out even after a clean build. 
    426         # Kernel bug? 
     420        # Bug in old kernels requires a sync after unmounting the loop device 
     421        # for data integrity. 
    427422        @sync ; sleep 1 ; sync 
     423        # e2fsck optimizes directories and returns 1 after a clean build. 
     424        # This is not a bug. 
    428425        @-e2fsck -f -p root.ext2 
     426        @( LC_ALL=C ; export LC_ALL ; \ 
     427            cat $(ROOT)/doc/README.html.head ; cat $(ROOT)/doc/README.txt | \ 
     428            $(WD)/bin/Markdown | $(WD)/bin/SmartyPants ; \ 
     429            cat $(ROOT)/doc/README.html.tail ) >$(MPBASE)/iso/README.html 
    429430        @$(WD)/bin/mkzftree -F root.ext2 $(MPBASE)/iso/root.ext2 
    430431        @cd $(MPBASE)/iso ; $(WD)/bin/mkisofs -z -R -l --allow-leading-dots -D -o \ 
  • trunk/doc/README.txt

    r2096 r2102  
    11Official Linux From Scratch LiveCD 
    22================================== 
    3 Version: x86-6.3-r2052 
     3Version: [version] 
    44 
    55 
     
    2323   - xchat (x-based irc client) 
    2424   - pidgin (multiprotocol x-based chat client) 
    25    - finch (multiprotocol console chat client - works in UTF-8 locales only) 
     25   - finch (multiprotocol console chat client -- works in UTF-8 locales only) 
    2626   - msmtp (SMTP client for use with mutt and tin) 
    2727   - mutt (console email client) 
     
    9191 
    9292This CD does not detect virtual SCSI disks connected to a virtual machine in 
    93 VMware Workstation 5.x or earlier or VMware Server 1.0.x or earlier. This is 
    94 a known VMware bug. The solution is to upgrade to VMware Workstation 6.x, or 
    95 to choose "BusLogic" as the virtual SCSI controller type instead of the 
     93VMware Workstation 5.x or earlier or VMware Server 1.0.3 or earlier. This is 
     94a known VMware bug. The solution is to upgrade to VMware Workstation >= 6.0 or 
     95VMware Server >= 1.0.4. 
     96 
     97The following workarounds help for older versions of VMware products: 
     98 
     99 * Choose "BusLogic" as the virtual SCSI controller type instead of the 
    96100default "LSI Logic". 
     101 
     102 * Pass the "mptbase.mpt_channel_mapping=1" option to the kernel command line. 
    97103 
    98104The same issue will be present on an LFS system built from this CD. 
     
    245251    linux LANG=es_ES@euro 
    246252 
    247 The CD tries to guess the proper screen font and keymap based on this 
    248 information. If the guess is wrong, you can override it by adding the 
    249 following parameters: 
    250  
    251 KEYMAP: 
    252   specifies the console keymap(s) to load (actually the arguments to 
    253   the "loadkeys" program separated by the "+" sign) 
    254  
    255 Example: "KEYMAP=es+euro1" 
    256  
    257 LEGACY_CHARSET: 
    258   sometimes a ready-made UTF-8 keymap is not available and 
    259   must be obtained by converting an existing keymap from this charset to UTF-8. 
    260   This parameter is not used in non-UTF-8 locales. 
    261  
    262 Example: "LEGACY_CHARSET=iso-8859-15". 
    263  
    264 FONT: 
    265   specifies the screen font to set (actually, the arguments to the 
    266   "setfont" program separated by the "+" sign). 
    267  
    268 Example: "FONT=LatArCyrHeb-16+-m+8859-15" 
    269  
    270 XKEYMAP: 
    271   the keymap to use with X window system 
    272  
    273 Example: "XKEYMAP=us" 
    274  
    275 Alternatively, these items can be configured interactively using dialog-based 
    276 interface if the locale is not specified on the boot prompt. 
    277253 
    278254For some locales (e.g. lv_LV.ISO-8859-13) there is no valid console keymap, 
     
    363339Pass "resume=/dev/hda2" as one of the kernel arguments when booting this CD. 
    364340I.e., the complete boot line may look as: 
    365    
     341 
    366342    linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg resume=/dev/hda2 
    367343 
     
    510486 * Add "rootdelay=20" to the kernel arguments. 
    511487 
     488BOOT OPTIONS 
     489------------ 
     490 
     491### AVAILABLE KERNELS ### 
     492 
     493#### linux #### 
     494 
     495The default (32-bit on the x86 CD, 64-bit on the x86_64 CD) kernel. 
     496 
     497#### linux64 #### 
     498 
     499On the x86 CD, this is the alternative (64-bit) kernel, for use with 
     500Cross-Compiled Linux From Scratch <http://trac.cross-lfs.org/>. 
     501 
     502Don't use this kernel for building the regular version of LFS -- it will fail, 
     503because the x86 CD does not contain a 64-bit capable compiler, and because 
     504the included book on the x86 CD does not support x86_64 yet. 
     505 
     506On the x86_64 CD, this is the same as the default kernel. 
     507 
     508After the kernel name, options may be specified, as in the following example: 
     509 
     510    linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg UTC=1 
     511 
     512See the list of available options below. 
     513 
     514### GRAPHICS AND SOUND ### 
     515 
     516#### vga=[resolution] #### 
     517 
     518Examples: 
     519 
     520    vga=795 (1280x1024x24)   vga=792 (1024x768x24)   vga=789 (800x600x24) 
     521    vga=794 (1280x1024x16)   vga=791 (1024x768x16)   vga=788 (800x600x16) 
     522 
     523This parameter enables the framebuffer console. 
     524 
     525It has nothing to do with X server resolution (to set it, edit 
     526/etc/X11/xorg.conf manually after booting). Also, it causes some X video 
     527drivers (e.g., "s3virge") to malfunction. 
     528 
     529X server bug reports will be ignored if you use this option. 
     530 
     531#### volume=[volume] #### 
     532 
     533Examples: 
     534 
     535    volume=50% 
     536    volume=-15dB 
     537 
     538Ths parameter sets the Master, Front and Headphone volume controls on all sound 
     539cards to the specified value. The default is 74%. PCM and similar controls are 
     540always set to 0dB, or, if the driver doesn't know about dB, to 74%. 
     541 
     542### DATE AND TIME ### 
     543 
     544#### TZ=[timezone] #### 
     545 
     546Examples: 
     547 
     548    TZ=EDT-4    TZ=America/New_York 
     549 
     550The first example means that the timezone is named "EDT" 
     551and is 4 hours behind (west) of UTC. 
     552 
     553#### UTC=[0,1] #### 
     554 
     555Example: 
     556 
     557    UTC=1 
     558 
     559Use UTC=1 if the hardware clock is set to UTC or 
     560use UTC=0 (default) if the hardware clock is set to local time. 
     561 
     562If no TZ parameter is passed at the kernel command line, the CD asks 
     563for the above settings during boot. 
     564 
     565### LOCALIZATION BASICS ### 
     566 
     567#### LANG=[locale] #### 
     568 
     569Example: 
     570 
     571    LANG=fr_FR.UTF-8 
     572 
     573If you don't specify your locale at the boot prompt, a configuration dialog 
     574will appear later during boot. 
     575 
     576The CD attempts to guess the keymap and the screen font based on the LANG 
     577variable. If the default guess is wrong, you can override it, as described 
     578in the "FINE-TUNING LOCALIZATION" section below. 
     579 
     580UTF-8 locales don't work well on Linux text console. Copying and pasting 
     581non-ASCII characters is impossible, as well as using dead keys for entering 
     582characters outside of the Latin-1 range of Unicode. 
     583 
     584UTF-8 locales don't work at all with accessibility software (brltty and 
     585speakup) due to the same kernel limitation. 
     586 
     587### FINE-TUNING LOCALIZATION ### 
     588 
     589#### KEYMAP=[keymap] #### 
     590 
     591Example: 
     592 
     593    KEYMAP=es+euro1 
     594 
     595Specifies the console keymap(s) to load, separated by the "+" sign. 
     596 
     597#### LEGACY_CHARSET=[charset] #### 
     598 
     599Example: 
     600 
     601    LEGACY_CHARSET=iso-8859-15 
     602 
     603Instructs the CD to convert an existing keymap from this charset to UTF-8 
     604with the "dumpkeys" program. 
     605 
     606#### FONT=[screen_font] #### 
     607 
     608Example: 
     609 
     610    FONT=LatArCyrHeb-16+-m+8859-15 
     611 
     612Specifies the screen font to set (actually, the arguments to the "setfont" 
     613program, separated by the "+" sign). 
     614 
     615#### XKEYMAP=[keymap1,keymap2] #### 
     616 
     617Example: 
     618 
     619    XKEYMAP=us,ru(winkeys) 
     620 
     621Keymap(s) for X window system. To switch between them, press Alt+Shift. 
     622 
     623### ACCESSIBILITY: BRLTTY ### 
     624 
     625#### brltty=drv[,dev[,tbl]] #### 
     626 
     627Example: 
     628 
     629    brltty=bm,usb: 
     630 
     631Enables a refreshable Braille display supported by driver drv, connected to 
     632device dev, with a translation table tbl. The example specifies a BAUM 
     633SuperVario 40 Braille display connected viw USB with default Braille table. 
     634 
     635Available drivers: 
     636 
     637    al, at, bd, bl, bm, bn, cb, ec, eu, fs, ht, il, 
     638    lt, mb, md, mn, pm, tn, ts, vd, vo, vr, vs. 
     639 
     640Available tables: 
     641 
     642    brf, cz, da-1252, da-lt, da, de, en_UK, en_US, es, 
     643    fi1, fi2, fr-2007, fr_CA, fr-cbifs, fr_FR, it, nabcc, 
     644    no-h, no-p, pl, pt, ru, se-old, simple, visiob. 
     645 
     646The charset of the selected locale must match the charset of the Braille table. 
     647 
     648BRLTTY is not compatible with UTF-8 locales. 
     649 
     650### ACCESSIBILITY: SPEAKUP ### 
     651 
     652#### speakup.synth=[syn] #### 
     653 
     654Example: 
     655 
     656    speakup.synth=soft 
     657 
     658Enables a speech synthesis engine syn. Available drivers: acntpc, acntsa, 
     659appolo, audptr, bns, decext, dectlk, dtlk, keypc, ltlk, soft, spkout, txprt. 
     660The "soft" driver uses Espeak to output sound through the first sound card. 
     661 
     662The GIT snapshot of speakup used on this CD has a known bug: copying and 
     663pasting text produces garbage and even can crash the computer. For copying 
     664and pasting text between programs, please use the "screen" terminal emulator 
     665instead of this buggy built-in feature of speakup. 
     666 
     667#### speakup.ser=[index] #### 
     668 
     669Example: 
     670 
     671    speakup.ser=2 
     672 
     673One-based serial port index to use with a hardware synth. The example above 
     674means that /dev/ttyS1 will be used. 
     675 
     676#### speakup.port=[port] #### 
     677 
     678A port address to use with speakup. 
     679 
     680### MODULE HANDLING ### 
     681 
     682#### load=module1,module2,... #### 
     683 
     684Example: 
     685 
     686    load=ide-generic 
     687 
     688Loads the specified modules unconditionally from initramfs. Use if your SCSI 
     689or IDE controller is not autodetected. If you don't specify this parameter 
     690and the CD doesn't detect your SCSI or IDE controller, you will be dropped 
     691into a debugging shell where you can load the needed module manually. 
     692 
     693#### blacklist=module1,module2,... #### 
     694 
     695Example: 
     696 
     697    blacklist=yenta-socket 
     698 
     699Prevents the specified modules from being autoloaded. Use if udev autoloads 
     700a module that causes your computer to misbehave (e.g., crash or freeze). 
     701 
     702#### module.option=value #### 
     703 
     704Example: 
     705 
     706    psmouse.proto=bare 
     707 
     708Sets arbitrary module options. 
     709 
     710### ALTERNATIVE DRIVERS ### 
     711 
     712Options in this section do not take parameters. Example: 
     713 
     714    pata new_firewire 
     715 
     716#### pata #### 
     717 
     718Causes the CD to use new libata-based drivers for IDE controllers. This option 
     719may be required for controller detection or recommended for optimal performance 
     720on computers manufactured in year 2006 and later. 
     721 
     722Caution: new drivers are safe to use only with IDE chipsets from AMD, Intel, 
     723ITE, JMicron, Marvell, Netcell, NVIDIA, Serverworks, Promise, Silicon Image, 
     724VIA, or Winbond. Drivers for other chipsets are likely to contain bugs that 
     725lead to data loss. 
     726 
     727#### new_firewire #### 
     728 
     729Uses the new (experimental) Juju FireWire stack. 
     730 
     731#### all-generic-ide #### 
     732 
     733Attempts to support unknown PCI IDE and SATA controllers (slow). 
     734For SATA support to work with this option, the SATA controller 
     735must be put into "Legacy" (as opposed to "Native") mode in the BIOS. 
     736 
     737### TROUBLESHOOTING ### 
     738 
     739#### debug #### 
     740 
     741Displays kernel messages during the boot process. 
     742 
     743#### rootdelay=X #### 
     744 
     745Example: 
     746 
     747    rootdelay=20 
     748 
     749Waits X seconds before attempting to find the CD. Required (with X=20) 
     750for booting from USB or FireWire CD-ROMs. 
     751 
     752#### nodhcp #### 
     753 
     754Prevents the CD from attempting to obtain an IP address automatically. 
     755May be required for wireless networking, because the WEP or WPA key 
     756needs to be set up first. 
     757 
     758#### Options for buggy motherboards #### 
     759 
     760Example: 
     761 
     762    nomsi noapic nolapic pci=noacpi acpi=off clock=pit ide=nodma 
     763 
     764These options work around various chipset bugs. Try them one-by-one in the 
     765order given above and in various combinations if the CD does not boot, or if 
     766a device does not work correctly or fails after hibernating and resuming. 
     767Note: if this helps, the bug is in the hardware or the BIOS, not in this CD. 
     768 
    512769THANKS 
    513770------ 
  • trunk/isolinux/boot.msg

    r2015 r2102  
    22splash.lss 
    3307This is the Official LFS LiveCD, Version: 
    4 07Press [Enter] to boot, F1 - F4 for available options 
     407Press [Enter] to boot, F1 - F10 for available options 
    55 
  • trunk/isolinux/isolinux.cfg

    r2076 r2102  
    33timeout 600 
    44display boot.msg 
    5 F1 options1.msg 
    6 F2 options2.msg 
    7 F3 options3.msg 
    8 F4 options4.msg 
     5F1 F1.txt 
     6F2 F2.txt 
     7F3 F3.txt 
     8F4 F4.txt 
     9F5 F5.txt 
     10F6 F6.txt 
     11F7 F7.txt 
     12F8 F8.txt 
     13F9 F9.txt 
     14F10 F10.txt 
    915 
    1016label linux 
  • trunk/packages/perl/Makefile

    r1822 r2102  
    2323        patch -Np1 -i ../$(PATCH1) 
    2424        ./configure.gnu --prefix=$(WD) \ 
    25          -Dstatic_ext='Data/Dumper Fcntl IO POSIX' \ 
     25         -Dstatic_ext='Data/Dumper Digest/MD5 Fcntl IO POSIX' \ 
    2626         -Darchname=$${LFS_TARGET%%-*}-linux 
    2727        make perl utilities 
  • trunk/packages/syslinux/Makefile

    r2012 r2102  
    1717        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    1818 
    19 stage2: Makefile $(FILE) 
     19stage2: Makefile $(FILE) split-boot-help $(ROOT)/doc/README.txt 
    2020        $(std_build) 
    2121 
     
    2323        mkdir -p /boot/isolinux 
    2424        cp -v isolinux.bin /boot/isolinux 
    25         cp -v $(ROOT)/isolinux/{isolinux.cfg,*.msg,splash.lss} /boot/isolinux 
     25        ../split-boot-help <$(ROOT)/doc/README.txt 
     26        cp -v F*.txt /boot/isolinux 
     27        cp -v $(ROOT)/isolinux/{isolinux.cfg,boot.msg,splash.lss} /boot/isolinux 
     28ifeq ($(CD_ARCH),x86_64) 
     29        sed -i 's/kernel linux64/kernel linux/' /boot/isolinux/isolinux.cfg 
     30endif 
    2631 
    2732clean: