Changeset 1916
- Timestamp:
- 06/11/07 02:09:37 (19 months ago)
- Files:
-
- 1 modified
-
trunk/doc/lfscd-remastering-howto.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/lfscd-remastering-howto.txt
r1718 r1916 94 94 95 95 Get the initramfs files as a zip archive from 96 http://wiki.linuxfromscratch.org/livecd/browser/t ags/6.2-1/packages/initramfs96 http://wiki.linuxfromscratch.org/livecd/browser/trunk/packages/initramfs 97 97 98 98 Unzip the archive. Remove the "include $(ROOT)/scripts/functions" line from the 99 99 Makefile. 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" 101 101 102 (you can replace the "x86-6. 2-custom" with your own string). This produces the102 (you can replace the "x86-6.3-custom" with your own string). This produces the 103 103 initramfs_data.cpio.gz file in the current directory. If this directory is not 104 104 "/build", copy it to /build: … … 138 138 mkdir $WORK/iso 139 139 140 Copy the boot directoryfrom the original LiveCD:141 cp -r /media/cdrom/ boot$WORK/iso140 Copy the directory structure from the original LiveCD: 141 cp -r /media/cdrom/*/ $WORK/iso 142 142 143 143 Replace the stock initramfs image with your own: 144 144 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 148 146 149 147 Recompress the root.ext2 file: … … 152 150 Recreate the CD image: 153 151 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 \ 155 153 -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" ./ 157 155 158 156 Burn and test. Have a fun. … … 171 169 [2006-08-06] 172 170 * Updated to LFS LiveCD based on device mapper (6.2-pre4 and later) 171 172 [2007-06-11] 173 * Updated for 6.3-pre2
