I would like to modify the ubuntu 20.04 installation iso to include (vlc, audacious,mc,rar,unrar, spanish support,etc), remove (totem,rhythmbox,english support, etc) and upgrade packages. Use Cubic but change the permissions of various system directories. Leading to a security risk. For example /etc and /usr have 777 I need customize installer becouse the computers I want installer don't have network acces I need customize installer because I live in Cuba and is very difficult access online repository from anywhere also the connections are too slow for example in this PC (256kbs).
Install Cubic
First, make sure you have the latest version of Cubic following the instructions at the Cubic web page.
Launch Cubic
Navigate to the Terminal page.
Add the necessary repositories
Remove your existing packages.
You should probably leave the English language packages and let them automatically be removed by the installer after installation of the OS (see step 8 below).
Upgrade packages
Add your new packages
Install your language packages
(You will find these are already installed in the Live ISO).
Update permissions
I recommend being very careful when doing this. Making files inside /etc accessible to all users may cause your system to not boot, because some files must only be readable by root.
As an example, you can change permissions for
/etc/network
and all files or directories in it to 777:Tell the Ubiquity installer to not remove your language packages
Navigate to the Packages page.
Click (anywhere) on the list, and begin typing the word "language" to search for packages that begin with this word.
Uncheck the following four packages:
language-pack-es
language-pack-es-base
language-pack-gnome-es
language-pack-gnome-es-base
This will ensure that the installer does not remove your language packages. This is not strictly necessary, since we will select your language and locale in the preseed below (step 9), but it is a good measure nevertheless.
You will also notice that the English language packages are flagged (check-marked) to be automatically removed by the installer after installation of your customized OS (if English is not selected as your default language).
Select your default language and locale
Navigate to the Options page, and select the Preseed tab.
Click on
/preseed/ubuntu.seed
in the left pane.Configure your locale and language by appending the following text at the end of this file. (Note that "es" = Spanish, and "CU" = Cuba).
Optionally, if you want multiple locales generated, separate them with commas as show here:
Here are some references if you are configuring different languages or locales:
Generate your customized ISO
Finally, navigate to Cubic's Generate page to create your customized ISO.