I tried customizing by using different customization tools and by removing different packages at different trials, but none of it worked properly!

The tools that I tried are Cubic, PinguyBuilder, optimizer, UCK, OS Builder.

What I want to do is to remove all packages given by Ubuntu and make a clean ISO image and what I tried is removed some packages like libreoffice related packages, firefox and then I generated an ISO image.

After that I installed it in Virtual-Machine but, it's not installing properly (sometimes saying installer crashed when libreOffice packages removed, sometimes blank-screen is appearing when any other packages removed, sometimes not even generating ISO).

is there any need of modifying some predefined files after removing/deleting some packages?

How can I create/generate that clean ISO image by removing all unwanted packages provided by Ubuntu?

  • 3
    If this is all the customisation you need, you could probably just use the Ubuntu server distribution – Sebastian Stark Jul 3 '18 at 9:08
  • 1
    I would suggest switching to arch linux if you want better customization. wiki.archlinux.org/index.php/Arch_Linux – j-money Jul 3 '18 at 9:10
  • agree with @SebastianStark The server is a clean version. Also: nothing beats the manual method: you learn a LOT about the inner workings. – Rinzwind Jul 3 '18 at 9:13
  • 1
    @justinbenge thanks for Arch_Linux, i'll have a look into it. @SebastianStark can you share any helpful documentation/links/material for Ubuntu Server Distribution, will be very helpful for me. :) – K.venkatesh Jul 3 '18 at 9:29
  • 1
    Complete error messages help. Full details of exactly what you tried, and exactly how it failed. We are not psychic. – user535733 Jul 3 '18 at 13:16

One among other, Cubic, acronym for Custom Ubuntu ISO Creator, is a GUI application to create a customized bootable Ubuntu Live CD (ISO) image.

Cubic (Custom Ubuntu ISO Creator) is a GUI wizard to create a customized bootable Ubuntu Live CD (ISO) image. Cubic features an integrated command line chroot environment to make the customizations and permits effortless navigation, backward and forward, through the ISO generation steps. You can create new customization projects or modify existing projects. Important parameters are automatically populated with intelligent defaults to simplify the customization process.

See https://launchpad.net/cubic and many tutorials on internet.

| improve this answer | |
  • I used that one too but cubic generated ISO is also not installing if i'm removing any one of the packages, else it installing fine. – K.venkatesh Jul 3 '18 at 9:09
  • This is the official guide: help.ubuntu.com/community/LiveCDCustomization but it uses the UCK (Ubuntu Customization Kit) and the project is discontinued.... – ponsfrilus Jul 3 '18 at 9:12
  • Thank you, and what do you mean by dicontinued? – K.venkatesh Jul 3 '18 at 9:55
  • @K.venkatesh discontinued means there is no further development of the project, no new updates or versions, no error solving anymore, maybe not compatible anymore with new versions of other software... – Kinaeh Jul 3 '18 at 12:30
  • @ponsfrilus (this is not related to this post) - I noticed several edit suggestions from you with adding 18.04. Please only add a tag when it is really relevant for the question. – guntbert Aug 16 '18 at 18:56

Ubuntu itself has at least two ways to achieve what you want without using 3rd party tools:

Ubuntu Minimal Installation

Ubuntu now have a "minimal installation" option included in its installer. It installs the basic utilities (desktop environment, web browser, etc) leaving out packages such as LibreOffice, Thunderbird and Transmission.

Ubuntu MinimalCD

Ubuntu also offers a minimal ISO (only 64 MB!) which let you fully customize your system. Please note that this option may be a bit advanced for begginers.

You can also take a look at some non-Ubuntu options:

Arch Linux

A rolling-release Linux distribution whose default installation is a minimal base system. It is targeted at the proficient GNU/Linux user, or anyone with a do-it-yourself attitude who is willing to read the documentation, and solve their own problems.

Gentoo Linux

A metadistribution known by its extreme configurability and adaptability. Packages are usually compiled to be optimized as much as the user wants.

Linux From Scratch

Project that provides you with step-by-step instructions for building your own custom Linux system, entirely from source code. Although it is usually used for educational purposes, you can use the system you build on a daily basis.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.