[SOLVED] Drakclassic build minimal iso image

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Drakclassic build minimal iso image

Postby borg » Aug 16th, '25, 13:17

Hi, I want to create my own installation image using the Drakclassic utility.
I would like to create a small iso image like Mageia-9-netinstall-x86_64.iso, but I don't know how to build a build.cfg file.
There are Drakclassic config files available somewhere to create Mageia-9-netinstall-x86_64.iso?
Last edited by borg on Aug 17th, '25, 12:27, edited 1 time in total.
Resistance is futile! Open your source code.
borg
 
Posts: 8
Joined: Mar 5th, '15, 12:46

Re: Drakclassic build minimal iso image

Postby doktor5000 » Aug 16th, '25, 14:12

Some of the configs are in our git: https://gitweb.mageia.org/software/buil ... sic-config and https://gitweb.mageia.org/software/buil ... ve-config/

Check the documentation at https://wiki.mageia.org/en/Drakclassic for more information and especially check rpmsrate.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18159
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Drakclassic build minimal iso image

Postby borg » Aug 16th, '25, 18:20

When I created an iso image from the configuration downloaded from GIT: https://gitweb.mageia.org/software/build-system/drakclassic-config/tree/config, the iso image was about 3.5 GB. To reduce the iso image, I have to edit the Group-include.lst file and change the number after Cat_* to 6.
But I do not know which items Cat_ can I change to work me installation medium and had iso image as little as possible?
Resistance is futile! Open your source code.
borg
 
Posts: 8
Joined: Mar 5th, '15, 12:46

Re: Drakclassic build minimal iso image

Postby borg » Aug 17th, '25, 12:27

I managed to create an iso image less than 70MB.

In the build.cfg file I removed files from copy_from_repo, except the isolinux directory and created iso Image without Media.

Command for creating an iso image:
Code: Select all
drakclassic --clean --boot --master


Iso image works.
Resistance is futile! Open your source code.
borg
 
Posts: 8
Joined: Mar 5th, '15, 12:46


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest