It is currently Thu Mar 23, 2017 10:09 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: iso-snapshot
PostPosted: Sat Feb 04, 2017 5:21 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
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?

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Sat Feb 04, 2017 5:30 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5756
Location: Greece
/usr/local/share/excludes.list

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Sat Feb 04, 2017 6:01 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
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.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Mon Feb 06, 2017 2:55 am 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
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:
#--------------------------------------------------------------------
# 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:
# 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

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Tue Feb 07, 2017 4:02 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
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.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Tue Feb 07, 2017 5:33 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5756
Location: Greece
I think it is a bug with the net iso.
I'll test more and upload a newer version

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: iso-snapshot
PostPosted: Tue Feb 07, 2017 5:43 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
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.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred