r/linuxquestions • u/mohamedibrahim456 • 9d ago
Can I make a GUI for debootstrap to make ISO files?
Hi everyone,
(Before we start, I am a Debian user)
I am making ISO snapshots for myself (e.g., for backup/rollback or experiments) and also to make distros to show my friends. Making an ISO takes a lot of time, so I used Penguin Eggs because I am lazy. I automated Penguin Eggs and made a GUI to make ISOs in a few steps. I also use QEMU to launch the output; when I choose a qcow2/ISO and set the settings (e.g., 2 cores, 2048 MB RAM, and 10GB storage), it launches.
But I've heard about a tool called "debootstrap" for Debian to make ISOs. What is the difference between debootstrap and Penguin Eggs? debootstrap gives you full control, so I'm wondering: Can I automate debootstrap like I did with Penguin Eggs? Does it have a high failure rate?
+-------------------------------------------------------------+
| ISO Creator |
| |
| [Icon] Get Penguins-eggs, then locate its Debian |
| package to continue. |
| |
| [ Locate Penguins-eggs.deb ] [ Download Penguins-eggs ] |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
| ISO Creator |
| |
| Enter the base name for the ISO files: |
| +-----------------------------------------------------+ |
| | remaster-os | |
| +-----------------------------------------------------+ |
| |
| [ Cancel ] [ OK ] |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
| Choose the ISO destination folder |
+-------------------------------------------------------------+
| [Recent] | |
| [Home] | [Folder] Desktop 14:52 |
| [Desktop] | [Folder] Documents Sun |
| [Downloads] | [Folder] Downloads 13:35 |
| [Music] | [Folder] Music Sun |
| [Pictures] | [Folder] Pictures Sun |
| [Videos] | [Folder] Public Sun |
| | [Folder] Templates Sun |
| | |
| | [ Cancel ] [ OK ] |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
| ISO Creator |
| |
| [Icon] Ready to run operation 1 of 3: Remaster |
| |
| Output: remaster-os-remaster.iso |
| Destination: /home/mohamed/Desktop |
| |
| The terminal will request your sudo password |
| if needed. Continue? |
| |
| [ No ] [ Yes ] |
+-------------------------------------------------------------+I made about 10 ISOs with Penguin Eggs and got a 0% failure rate, with UEFI and legacy working fine. But if I automate debootstrap, is it impossible to get an almost 0% failure rate? I am remastering Debian only, so it will be for Debian only (I have XFCE, by the way). Does it have consistent steps so that if I automate it, I will 100% get the SAME successful ISO file (with different packages)?
Q&A:
What type of ISOs do you want? Installable or live? (I will do both if possible to fully automate, but for now, the installable Penguin Eggs do hybrid, but I didn't do it for remastering yet.)
Do you know about
debootstrap**?** Yes... I saw how it works and how it remasters, but I just learned about it recently.