topic title: iso-snapshot
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#1
I've been playing a lot with iso-snapshot and the antiX 17 alpha"net" iso.

This morning did a completely fresh install, with every app I wanted to install. made my customizations, and ran the snapshot. The tool reported I had a 3.8 GB / file system. Running the install left me with a 890 something MB iso.

Immediately after running (successfully) iso-snapshot, I copied my iso off the HD, and deleted the /home/snapshot folder. I relaunched iso-snapshot, to be told that my / file system was now 4.6 GB. So is something being left behind, and where should I look?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#2
/usr/local/share/excludes.list
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#3
anticapitalista wrote:/usr/local/share/excludes.list
Thanks. I went through that list but I couldn't figure out what would be eating the space. This some quick math told me that the difference was just about the size of the isos, so I did a search and found...

its still picking up the root trash files

adding

/root/.local/share/Trash

should do the trick.

FYI for whatever reason, the"supersuser" caja still will put files in the"Trash" but the trash isn't accessible through the usual methods. So the trash icons look empty but the trash isn't empty.

in caja, shift+delete is the"permanent" deletion keyboard shortcut in mate/caja.

This wouldn't be a problem in the usual antiX/mx setups.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
one more iso-snapshot problem...the contents of /etc/grub.d don't seem to be wrapped up into the iso. the effect is that while a snapshot iso will boot, you cannot install it.

/etc/grub.d certainly exists on the installed system I'm snap-shotting, but not on the finished iso.

its not excluded I don't think, but here are the two excludes list in question

Code: Select all

#--------------------------------------------------------------------
# general-remaster-exclude.list
#
# Additional files to be excluded when a general-purpose remaster
# is created.
#
# The original list is available in general-remaster-exclude.orig.
#--------------------------------------------------------------------

etc/NetworkManager/system-connections/*
etc/X11/xorg.conf
etc/network/interfaces
etc/network/interfaces.d/*
etc/udev/*-persistent-net.rules
etc/wicd/*.conf
etc/wicd/dhclient.conf.template
etc/wicd/manager-settings.conf
etc/wicd/wired-settings.conf
etc/wicd/wireless-settings.conf
var/lib/wicd/configurations/*

Code: Select all

# rsync excludes file for iso-snapshot
# version 15.2.20

# Do NOT edit this entry block unless you know what you are doing
.bind-root
dev/*
cdrom/*
media/*
swapfile
mnt/*
sys/*
proc/*
tmp
live/*
boot/grub/*
etc/adjtime
etc/bcm-ckd
etc/blkid.tab.old
etc/defaultdomain
etc/fstab.backup
etc/ioctl.save
etc/issue
etc/live/protect
etc/mailname
etc/mtab
etc/udev/rules.d/70-persistent-cd.rules
etc/udev/rules.d/70-persistent-net.rules
etc/resolv.conf
home/snapshot
lost+found
grub/*
run/*
root/.bash_history
root/.config/Trolltech.conf
root/.dbus
root/.gconf
root/.gnome2
root/.local/share/Trash
#var/tmp/*
var/cache/apt/archives/*.deb
var/cache/apt/*.bin
var/lib/apt/lists/*
var/lib/dhcp/*
var/cache/debconf/*-old
var/cache/lightdm
var/lib/dpkg/*-old
var/lib/lightdm/.cache
var/lib/lightdm/.Xauthority
var/lib/nfs/rpc_pipefs/*
var/lib/sudo/*
var/lib/udisks/*
var/lib/urandom/*
var/log/!(samba)
var/log/samba/*
var/mail/*
var/spool/mail/*

# Entries below this can be edited by the user. If you have any large
# files or directories, you should exclude them from being copied
# by adding them to this list.

home/*/.mozilla/firefox/*/Cache/*
home/*/.mozilla/seamonkey/*/Cache/*
home/*/.adobe
home/*/.macromedia
home/*/.thumbnails/large/*
home/*/.thumbnails/normal/*
home/*/.Trash*
home/*/.local/share/Trash/*
# home/*/.cache
home/*/.gvfs
home/*/.bash_history
home/*/.recently-used
home/*/.recently-used.xbel
home/*/.VirtualBox
home/*/VirtualBox VMs

# Examples:
# home/*/Desktop/*
# home/*/Downloads/*
# home/*/Music/*
# home/*/Pictures/*
# home/*/Videos/*
# Other possible exclusions
# usr/share/doc/*
# To exclude all hidden files and directories in your home, uncomment
# the next line. You will lose custom desktop configs if you do.
# home/*/.[a-z,A-Z,0-9]*

# This stops any nvidia drivers from loading - safe option.
etc/X11/xorg.conf
etc/X11/xorg.conf.d/20-nvidia.conf
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
in further testing... I think any folder that starts with /grub* is being excluded from the snapshot. I tried commenting out /grub int he excludes file, but to no affect. In an odd turn of events, grub install works both uefi and mbr, but the grub.cfg file is empty.

again all this is with the antiX-17 stretch net iso.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#6
I think it is a bug with the net iso.
I'll test more and upload a newer version
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#7
anticapitalista wrote:I think it is a bug with the net iso.
I'll test more and upload a newer version

cool. just so you know, the files are present on the net-iso, but they are not on the snapshot iso.