• How to export an .iso from the installed system?

    Hi guys ,

    I want help creating an image file from my current installed Antergos system with all the customizations .I want the created image to have preinstalled all the packages and programs I have . But folders like downlods , documents and others not to be included.

    I am a new user and dont know how to search for something like that .All my search end up on information about how to install antergos from usb :smile: .

  • Hi,

    This is not an easy task. To build an iso that then you can use to boot you have to prepare it first, here you can find Antergos one:

    To be honest, if I were you, I would:

    • Save the list of packages already installed
      pacman -Qe | awk '{print $1}' > package_list.txt
    • Save my home folder (basically my /home/user/.config)


  • Thank you for your reply .

    So there is not an easy way to save a snapshot of my system ?

    If I save the list of pachages I installed is there an easy way to make a script that I can run in a clean install to install all my packages ?

    Thanks again for your help


  • @kariolos said in How to export an .iso from the installed system?:

    So there is not an easy way to save a snapshot of my system ?..

    There are at least 2 easy ways to save a system, though neither of them can be strictly defined as a “snapshot”, and doesn’t create an .iso:

    • clonezilla
    • fsarchiver

    Either of them saves | backups a whole normal-sized Linux system (10-20 G) in 15…18 minutes. The restore usually takes about 3…5 minutes.

  • Hi,

    To be honest, Just way™ is the one to go. I’ve used clonezilla many times with my students. Works very well.

    Anyways, if you want to install having the list of packages in a text file you can create an script like this one:

    for x in $(cat package_list.txt); do
        sudo pacman -S $x

    Reference: https://bbs.archlinux.org/viewtopic.php?id=56601


    EDIT: Added missing sudo. Thanks @fernandomaroto !

  • @karasu Very nice tip. I was testing it, if you allow me i want to post a small script i’ve done, (also it’s missing the sudo command in your script)

    You can make the list and install the list, just uncoment what you want.

    #List all packages installed on  the computer
    #pacman -Qq > packages.txt
    #To install all the programs from a list
    #for x in $(cat packages.txt); do sudo pacman -S $x; done

    Very simple but that’s it.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

image10 installers2 iso51 Posts 6Views 597
Log in to reply