1. Decompress the ISO:
Download Linux Mint 13 mate (this is what i used, so some of my instructions are mate specific)
Install the package "mintconstructor" from the repositories
Open a terminal and type:
A mintconstructor window will open:
In the "Directory" field, choose a directory for the ISO.
Type the name of a new directory and the program will create it.
For example: /home/your_user_name/remaster/
Make sure to select the "New project" radio option
Click the browse button on the right of the "ISO file" field and point it to your ISO file
Click "Next" and then "Yes" to confirm.
2. Modify the system
All modifications are done via the mintconstructor chroot terminal. To access the content of the ISO and modify it, click on the "Open a chroot terminal" button.
In this chroot terminal, you can type commands, install and remove packages and this will have a direct impact on the ISO, its content and the content of the system which installs itself from the ISO to the Hard drive during the installation.
in the chrooted terminal perform “apt-get update” then “apt-get upgrade”
reboot (this is necessary, or the build will fail), then get back into the chrooted terminal.
note: I find it easier to do the following edits by opening a root file manager instead of using nano in the chroot terminal (but you can use nano in the chroot terminal if you wish). In mate, press “alt+f2” for the run command and run “gksu caja” So I’m typing the path that you would see in the file manager.
3. clean up
Once you're finished making modifications, make sure to clean up with the following commands in the mintconstructor chroot terminal:
aptitude purge ~c
aptitude unmarkauto ~M
rm -rf /var/cache/debconf/*.dat-old
rm -rf /var/lib/aptitude/*.old
rm -rf /var/lib/dpkg/*-old
rm -rf /var/cache/apt/*.bin
4. Rebuild a new ISO
Close the chroot terminal
Give your ISO a description (which will be embedded as the name of the CD or USB stick onto which the ISO is burnt)
You can see the progress of the image being built in the terminal that you used to start mintconstructor.py. On my eeepc, it takes a little over an hour to finish.
note1: You can now burn the .iso to a disk or use unetbootin to run it from a usb drive.
note2: If the build fails, for example your .iso should be around 1GB in size.
If it is much smaller (like 200MB) then it failed.
Reboot your machine, then try the build again.
jep wrote:I dont' see where I can remove any packages to reduce the image size to fit on a CD
Users browsing this forum: No registered users and 18 guests