UpdatingTestingLiveCDs

Playing with Live CDs

  • grab a current live CD and loop-mount it
  • unpack the initrd
    •  mkdir initrd; zcat /path/to/loopmount/casper/initrd.gz | sudo cpio -id 

  • fiddle with this until it looks how you want
  •  sudo cp -a /path/to/loopmount /path/to/loopmount.new 

  • repack the initrd
    • In the directory you created:  sudo sh -c 'find . | cpio --quiet --dereference -o -H newc | gzip >/path/to/loopmount.new/casper/initrd.gz' 

  • rebuild the ISO
    •  mkisofs -r -V 'Ubuntu 8.10 i386' -o intrepid-desktop-i386-hacked.iso -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /path/to/loopmount.new )


CategoryHomepage

AmitKucheria/UpdatingTestingLiveCDs (last edited 2008-09-26 10:24:16 by a91-154-121-48)