11 C
Texas

Create Your Own Ubuntu with Distroshare Ubuntu Imager

Each and every time you install your Linux in your system, everything starts from the beginning. You have to set up your update server, install software, place every single icon at the right place and so on. All these processes are really annoying but not avoidable at the same time, right? What would it be if you had all your customization as soon as you installed the system?

Let’s have a look at this magical toolkit to help us out – Distroshare Ubuntu Imager.

Usage of the tool

The tool is especially useful when you’re running the installation process for a number of computers. Then, you won’t have to run the same process of updating the distro, installing the necessary software and others to run all the machines.

It’s extremely time-saving. Once you’ve created your favorite ISO, you won’t have to create it anytime soon.

Prerequisites

- Advertisement -

For enjoying this awesome facility, you have to prepare your system with the necessary software. At first, you have to grab Git. This is paramount as it will grab the tool from the web.

Get Git. We’ve already discussed on it so no need to repeat the same thing again and again.

Downloading the tool

It’s an amazing thing that the tool, despite being very powerful, it’s a very simple one. It’s just a script that will run with the Bash shell and perform all the necessary tasks on your system to create the live (installable as well) ISO file.

Download the tool –

git clone https://github.com/Distroshare/distroshare-ubuntu-imager.git

Update file permission for running the script –

cd distroshare-ubuntu-imager
sudo chmod +x distroshare-ubuntu-imager.sh

Using the tool

Now, it’s time for a little understanding of how the tool works. Distroshare Ubuntu Imager notes the information of all the installed programs on the system and turns them into a usable script.

That being said, you have to make sure that all your important and other necessary apps are installed in your system. Open up Ubuntu Software Center or browse the internet for grabbing all of them. Then, proceed to the next step.

Don’t forget to make all the customizations! The tool is great enough to grab all those as well and put them in the ISO file. An important note – the more things you add in your system, it will also increase the size of the ISO. Thus, generating and re-using the custom image will take the longer time to process at any step.

It’s finally time to run the tool. Run the following command in a terminal –

cd distroshare-ubuntu-imager
sudo ./distroshare-ubuntu-imager.sh

At the first run, there will be a few more software installed in your system that will help to create the re-usable ISO image. This includes Ubiquity installation tool, Linux headers, Grub menu and other things.

After all the dependencies are installed in the system, the tool will start generating the live image. It’s a very long process and depending on your system’s software and other customizations, the process can take hours to complete.

Let the tool do its work. It’s strongly recommended that you don’t mess around with anything or the building process will get interrupted. Once complete, you’ll find out the output in the following directory –

/home/distroshare/live-usb.iso

For moving the ISO to “/home” directory, run the following command –

mv /home/distroshare/live-cd.iso ~/

Burning the ISO

It’s time to create a bootable USB flash drive for installing the newly created system. Note that the size will determine the storage size.

Once you choose a suitable USB flash drive, it’s time to make it bootable. Use Etcher as it’s universal and flexible with an easy interface.

This is a screenshot of the new system’s boot screen. It’s less shiny than the default screen but will provide you the same working environment.

Enjoy your system!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

3 COMMENTS

  1. (Full disclosure: I’m still a Linux newbie) I tried this, investing HOURS (true, it does warn that it will take awhile) and, other than a slight burp over a choice to load GRUB (there were two drives where it could be put, with the recommendation to installing to both…but none seemed to “take” when selected and then hitting Enter. The only thing that worked was accepting and then confirming/agreeing with continuing without loading GRUB…which the script then did)…everything ran fine the entire time…no breaks in the script or failure to find something. Then, finally, it announced it was done…so I looked where you said to (“you’ll find the output in the following directory: /home/distroshare/live-usb.iso”) and there were 11 items in there but not that one. In fact, I tried Find in Terminal to locate live-usb.iso anywhere and got “No such file or directory.”

    So, other than my hard drive now filled up from its original of about 33% to the current total of 63% with all the files it created (and where is all THAT stuff anyway?), it seems I don’t have a lot to show for the time invested.

  2. Hi, it works well, but, affter I`ve put life-sd.iso to usb with Rufus and made bootable flash, system starts as operation system, that was installed to usb as hdd, no “Install to hard” so, how can i put/instal from this usb/life-cd.iso Ubunta to new HDD and start work like full installed system from hdd?

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article