hum, this tools is not expected to be used to make a snapshot from your main system. The working directory is already on the / of the host. If your / is set as mountpoint, you risk to go in loop.
This tools was made to make ISO from a fresh installation (installed with e.g. obarun-install) on some another disk/partition and ,thereby, provide an bootable ISO which can be burn on e.g USB stick.
For example, you can create a file, mount it on dev/loop, install what you want with obarun-install then use obarun-mkiso to produce the ISO. Then burn it on USB stick with persitent partition on it :). With this way, you can produce your own rescue disk system with your all prefered tools on it.

Snapshot from the host need to be made with another way.
eric wrote Snapshot from the host need to be made with another way.
Someday, when you find some "spare" time, please enlighten us.
I can use dd if=/dev/sdf34 of=host.img bs=1M ; sync or improve it with bzip/gzip but an iso that can boot is a different story.
Dd takes a long time but it has been 100% reliable and also takes space.
If you have a 4GB system on a 45GB partition dd makes an image of the 45GB, zipped it might be 20GB, if you have zeroed out all free space.
If you narrow the partition to 4.1GB it works fine, but shrinking and enlarging partitions involves a certain risk, and then you have to have a 4.11GB partition to restore it.
you can optimize the things :
first use rsync to copy your / in some tmp/work_directory or on another partition excluding /dev, /proc, /sys, /mnt, /var/log, /var/cache/pacman/pkg, /media, /run, /tmp, and all directories that you don't want like /home/user/i/do/not/need. Then recreate on the tmp/work_directory the an empty directory /dev,/proc,/sys, then launch obarun-mkiso define the mountpoint to tmp/work_directory. That's it, it will create a bootable ISO.

NOTE : if you want to continue this discussion, please make a new post on the good section, all this things is not a bug.
6 years later
eric unstickied the discussion .

Powered by Obarun