How to move packages from the live image to a pool on the disc?

Currently I'm using UCK and trying to make Edubuntu 12.04.1 DVD launch installer on 256Mb RAM: How to install Edubuntu on a system with low memory (256 Mb)?

I was reading release notes for 12.10 and noticed that

Language packs have now been moved off from the live image to a pool on the disc.

How can I move other packages correctly so they would be available to the live system and for installation without network access?

1 Answer

The correct and long answer is in the wiki:

But I've done it in the wrong hacky way without signing and with manual activation (which is enough for me):

  1. Marked all needed packages for (re)installation in Synaptic and used File > Generate download script
  2. Launched that script to download all the packages.
  3. Unpacked the Alternate CD iso with UCK to /home/username/tmp/remaster-iso (default location). It stopped on trying to find SquashFS: there is none on Alternate CD.
  4. Moved all the packages to /home/username/tmp/remaster-iso/debs.
  5. Executed sudo dpkg-scanpackages /home/username/tmp/remaster-iso/debs | gzip -9c > /home/username/tmp/remaster-iso/debs/Packages.gz
  6. Updated md5sum.txt:

    # find . -type f -print0 | xargs -0 md5sum > md5sum.txt
  7. Made the iso:

    sudo mkisofs -r -V "ubuntu_with_debs" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o dvd.iso /home/username/tmp/remaster-iso/
  8. After installation I'll temporary replace sources.list with a single line:

    deb file:///media/ubuntu_with_debs/debs /
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like