Changeset 1916

Show
Ignore:
Timestamp:
06/11/07 02:09:37 (19 months ago)
Author:
alexander
Message:

Corrected obvious errors in the remastering hint

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/lfscd-remastering-howto.txt

    r1718 r1916  
    9494 
    9595Get the initramfs files as a zip archive from 
    96         http://wiki.linuxfromscratch.org/livecd/browser/tags/6.2-1/packages/initramfs 
     96        http://wiki.linuxfromscratch.org/livecd/browser/trunk/packages/initramfs 
    9797 
    9898Unzip the archive. Remove the "include $(ROOT)/scripts/functions" line from the 
    9999Makefile. Generate the initramfs image for your CD: 
    100         make compile-stage2 VERSION="x86-6.2-custom" 
     100        make compile-stage2 VERSION="x86-6.3-custom" 
    101101 
    102 (you can replace the "x86-6.2-custom" with your own string). This produces the 
     102(you can replace the "x86-6.3-custom" with your own string). This produces the 
    103103initramfs_data.cpio.gz file in the current directory. If this directory is not 
    104104"/build", copy it to /build: 
     
    138138        mkdir $WORK/iso 
    139139 
    140 Copy the boot directory from the original LiveCD: 
    141         cp -r /media/cdrom/boot $WORK/iso 
     140Copy the directory structure from the original LiveCD: 
     141        cp -r /media/cdrom/*/ $WORK/iso 
    142142 
    143143Replace the stock initramfs image with your own: 
    144144        cp $WORK/build/initramfs_data.cpio.gz \ 
    145             $WORK/iso/boot/isolinux/iniramfs_data_cpio.gz 
    146  
    147 (the underscore before "cpio" in the previous command is not a typo). 
     145            $WORK/iso/boot/isolinux/iniramfs_data.cpio.gz 
    148146 
    149147Recompress the root.ext2 file: 
     
    152150Recreate the CD image: 
    153151        cd $WORK/iso ; mkisofs -z -R -l --allow-leading-dots -D -o \ 
    154         ../lfslivecd-x86-6.2-custom.iso -b boot/isolinux/isolinux.bin \ 
     152        ../lfslivecd-x86-6.3-custom.iso -b boot/isolinux/isolinux.bin \ 
    155153        -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
    156         -V "lfslivecd-x86-6.2-custom" ./ 
     154        -V "lfslivecd-x86-6.3-custom" ./ 
    157155 
    158156Burn and test. Have a fun. 
     
    171169   [2006-08-06] 
    172170    * Updated to LFS LiveCD based on device mapper (6.2-pre4 and later) 
     171 
     172   [2007-06-11] 
     173    * Updated for 6.3-pre2