Changeset 2140
- Timestamp:
- 11/28/07 06:55:10 (1 year ago)
- Files:
-
- trunk/doc/README.txt (modified) (9 diffs)
- trunk/doc/lfscd-remastering-howto.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/README.txt
r2122 r2140 142 142 $ gtf 1280 1024 85 143 143 144 NOTE: You must specify the refresh rate of 60 Hz for VGA-connected LCD monitors. 144 [NOTE] 145 You must specify the refresh rate of 60 Hz for VGA-connected LCD monitors. 145 146 146 147 Then look at the output: … … 202 203 203 204 It is possible to burn a customized version of the official Linux From 204 Scratch LiveCD, with your own files added. To do that, follow the 205 instructions in the /root/lfscd-remastering-howto.txt file. 205 Scratch LiveCD, with changed default boot parameters and/or your own files 206 added. 207 208 To change the default boot arguments, follow these steps as root. 209 210 * Create directories: 211 212 export WORK=/mnt/lfslivecd 213 mkdir -p $WORK/{orig,copy} 214 215 * Copy all files except root.ext2 from the original image: 216 217 mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig 218 cp -a $WORK/orig/*/ $WORK/copy/ 219 umount $WORK/orig 220 221 * Copy the compressed root.ext2 file without uncompressing it: 222 223 mount -t iso9660 -o loop,norock lfslivecd-[version].iso $WORK/orig 224 cp $WORK/orig/root.ext2 $WORK/copy/ 225 chmod 644 $WORK/copy/root.ext2 226 umount $WORK/orig 227 228 * Edit the boot loader configuration: 229 230 # Append new kernel options to the "append" lines 231 vim $WORK/copy/boot/isolinux/isolinux.cfg 232 233 * Create the new LiveCD image: 234 235 mkisofs -z -R -l --allow-leading-dots -D -o \ 236 lfslivecd-[version]-custom.iso -b boot/isolinux/isolinux.bin \ 237 -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 238 -V "lfslivecd-[version]" $WORK/copy 239 240 [NOTE] 241 You cannot change the volume label of the customized CD (i.e., the 242 argument to the "-V" option) this way. The "-nosrc" suffix is not part of 243 the volume label and should be left out, but "-min" should be preserved. 244 If in doubt, you can find out the correct volume label by running this command: 245 246 file lfslivecd-[version].iso 247 248 To add or remove files, follow the instructions in the 249 /root/lfscd-remastering-howto.txt file instead. 206 250 207 251 AUTOSSHD … … 268 312 parameter to the X server command line there. 269 313 270 BRAILLE DISPLAY SUPPORT 271 ----------------------- 314 ACCESSIBILITY 315 ------------- 316 317 The Live CD includes software (BRLTTY and speakup) that make the contents 318 of the Linux text console accessible to visually-impaired users. This 319 software is not started by default, and special boot parameters (documented 320 below) are needed in order to use it. 321 322 Unfortunately, the boot loader expects the parameters to be entered with 323 US English keyboard layout, which is not familiar to non-US users, and they 324 cannot see their mistakes. Thus, it is recommended for such users to 325 customize default boot parameters of the CD as described above instead of 326 trying to type them at the boot prompt. 327 328 ### BRAILLE DISPLAY SUPPORT ### 272 329 273 330 The LiveCD includes the "brltty" program that allows a blind person to read … … 294 351 wrong result in the ru_RU.CP1251 locale. 295 352 296 ### Known non-working cases###353 #### Known non-working cases #### 297 354 298 355 * All CP1251-based locales (no CP1251 Braille table in "brltty") … … 311 368 <livecd@linuxfromscratch.org>. 312 369 313 SPEECH OUTPUT WITH SPEAKUP 314 -------------------------- 370 ### SPEECH OUTPUT WITH SPEAKUP ### 315 371 316 372 This CD includes a development version of Speakup (because no stable versions … … 402 458 testsuite may lead to failures that would not occur otherwise. 403 459 404 NOTE: you must unmount all USB flash drives and all partitions used by other 460 [NOTE] 461 You must unmount all USB flash drives and all partitions used by other 405 462 operating systems installed on your computer before hibernating! Do not 406 463 attempt to mount partitions used by a hibernated system from other systems … … 463 520 * as user "jhalfs", follow the instructions in the jhalfs README file 464 521 465 Note that this user already has the required root access (via "sudo") to 466 completethe build.522 This user already has the required root access (via "sudo") to complete 523 the build. 467 524 468 525 LOADING CD CONTENTS TO RAM … … 478 535 RAM, add swap when the CD boot finishes. 479 536 480 NOTE: in order to save RAM, sources and proprietary drivers are not loaded 537 [NOTE] 538 In order to save RAM, sources and proprietary drivers are not loaded 481 539 there. In order to access them, please mount this CD and look into 482 540 /media/cdrom/sources and /media/cdrom/drivers. … … 800 858 order given above and in various combinations if the CD does not boot, or if 801 859 a device does not work correctly or fails after hibernating and resuming. 802 Note: if this helps, the bug is in the hardware or the BIOS, not in this CD.860 If this helps, the bug is in the hardware or the BIOS, not in this CD. 803 861 804 862 THANKS trunk/doc/lfscd-remastering-howto.txt
r2124 r2140 1 AUTHOR: Alexander E. Patrakov <patrakov@ ums.usu.ru>, Sylvie Migneault <alisou@alixe.org>2 3 DATE: 2007- 08-281 AUTHOR: Alexander E. Patrakov <patrakov@gmail.com>, Sylvie Migneault <alisou@alixe.org> 2 3 DATE: 2007-11-28 4 4 5 5 LICENSE: GNU Free Documentation License Version 1.2 … … 97 97 98 98 In the chroot, change the current directory to /build, and install any 99 additional packages you want. Modify other files as necessary. 99 additional packages you want. Modify other files as necessary. If you want 100 to compile a new kernel, please include the following options: 101 CONFIG_MD=y 102 CONFIG_BLK_DEV_DM=y 103 CONFIG_DM_SNAPSHOT=y 104 CONFIG_EXT2_FS=y or m 105 CONFIG_ISO9660_FS=y or m 106 CONFIG_ZISOFS=y 100 107 101 108 Generate initramfs images for your CD by running the create-initramfs command 102 109 for each kernel. This command accepts the following parameters: the LiveCD 103 110 version, the kernel version, and the name of the initramfs file to create. 111 For self-compiled kernels, the list of directories to search for modules is not 112 accurate, and you can either ignore "no such file" errors (if you feel lucky) 113 or edit the /usr/bin/create-initramfs script. For the default LiveCD kernel, 114 the shipped script should just work. 104 115 105 116 For x86: … … 112 123 (you can replace the "6.3-custom" with your own string). This produces the 113 124 initramfs_data.cpio.gz and possibly initramfs_data64.cpio.gz files in the 114 current directory. Copy them to /build: 125 current directory. Copy them (and kernel bzImages, if you have built any) 126 to /build: 115 127 cp initramfs_data*.cpio.gz /build 116 128 … … 152 164 cp -r /media/cdrom/*/ $WORK/iso 153 165 154 Replace the stock initramfs images with your own: 166 Replace the stock initramfs images (and, possibly, kernel images) with your 167 own: 155 168 cp $WORK/build/initramfs_data*.cpio.gz \ 156 169 $WORK/iso/boot/isolinux/ … … 190 203 [2007-10-21] 191 204 * Updated for the new create-initramfs script 205 206 [2007-11-28[ 207 * Updated my e-mail address 208 * Added kernel instructions
