• 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 😄 .

  • 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:
    http://github.com/antergos/antergos-iso

    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)

    Cheers!

  • 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

    Cheers!

  • @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:

    #!/bin/bash
    for x in $(cat package_list.txt); do
        sudo pacman -S $x
    done
    

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

    Cheers!

    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.

    #!/bin/bash
    #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.
    Cheers.

    Portergos site
    https://github.com/Portergos/portergos-iso

    Still in love with Antergos (default OS)
    I3wm

    Linux newbie since 06/2016

iso74 image15 installers2 Posts 6Views 974
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.