2

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?

int_ua
  • 8,394
  • 12
  • 78
  • 144

1 Answers1

1

The correct and long answer is in the wiki: https://help.ubuntu.com/community/InstallCDCustomization#Modify_pool_structure_to_include_more_packages

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 /
    
int_ua
  • 8,394
  • 12
  • 78
  • 144
  • 1
    Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – nanofarad Oct 19 '12 at 00:16
  • Thanks, I'm verifying that it at least works for 12.04.1 right now and will add it later. – int_ua Oct 19 '12 at 00:18