Changeset 2141
- Timestamp:
- 11/28/07 07:12:29 (1 year ago)
- Files:
-
- trunk/doc/README.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/README.txt
r2140 r2141 210 210 * Create directories: 211 211 212 export WORK=/mnt/lfslivecd213 mkdir -p $WORK/{orig,copy}212 export WORK=/mnt/lfslivecd 213 mkdir -p $WORK/{orig,copy} 214 214 215 215 * Copy all files except root.ext2 from the original image: 216 216 217 mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig218 cp -a $WORK/orig/*/ $WORK/copy/219 umount $WORK/orig217 mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig 218 cp -a $WORK/orig/*/ $WORK/copy/ 219 umount $WORK/orig 220 220 221 221 * Copy the compressed root.ext2 file without uncompressing it: 222 222 223 mount -t iso9660 -o loop,norock lfslivecd-[version].iso $WORK/orig224 cp $WORK/orig/root.ext2 $WORK/copy/225 chmod 644 $WORK/copy/root.ext2226 umount $WORK/orig223 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 227 228 228 * Edit the boot loader configuration: 229 229 230 # Append new kernel options to the "append" lines231 vim $WORK/copy/boot/isolinux/isolinux.cfg230 # Append new kernel options to the "append" lines 231 vim $WORK/copy/boot/isolinux/isolinux.cfg 232 232 233 233 * Create the new LiveCD image: 234 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/copy235 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 239 240 240 [NOTE] … … 242 242 argument to the "-V" option) this way. The "-nosrc" suffix is not part of 243 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].iso247 244 248 245 To add or remove files, follow the instructions in the
