Ask your questions here.
Post a reply
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## get iso smaller than 700MB

Mon May 06, 2013 4:20 pm

I got an iso of size 1.8 Gigs, with all but the kitchen sink.
I want to create one iso for a CD.
I started to remove all kind of stuff, but the resulting iso's are all bigger than 700MB.
What i now got left is:
i2p /* which means java to*/
tor and privoxy
iceweasel
xchat
gparted
geany
xfce
gdm
And perhaps one or two other apps.
It is still of size 750MB
How can i figure out cli tools which might be worth to remove?
Different: how can i get rid of 50MB in the resulting iso.
-
I ran a lot of deborphan --guess-all, aptitude purge ~c and apt-get autoremove and locate. Still not sure if many leftovers are to be found
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: get iso smaller than 700MB

Mon May 06, 2013 4:36 pm

Tried localepurge? (and use xz compression)
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: get iso smaller than 700MB

Mon May 06, 2013 4:48 pm

I thought of localpurge, but then forgot it again. Will do.
(I thought of English, French and German. Perhaps Spanish too).
How exactly do i use xz? I read about it short ago, here at refracta forum.
(I am a bit tired, but would like to get it done asap without much hazzle. Just for folks who want tor and i2p and only can use a CD).
btw: I am quite sure i am using an old version of refractasnapshot (perhaps a newer one has an option for xz? I looked at /etc/refractasnapshot, but there was no xz to be found).
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: get iso smaller than 700MB

Mon May 06, 2013 6:06 pm

in (newer versions) refractasnapshot.conf, xz can be manually enabled. That will get it down by 100MB+
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: get iso smaller than 700MB

Mon May 06, 2013 7:50 pm

Good.
I installed a newer version and enabled xz compression in the config file.
Like you say: 100 MB were saved (which means i know can add another 50).
localpurge was already installed (i usually install it immediatly, but was not sure about this iso).
Thanks for the help.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: get iso smaller than 700MB

Tue May 07, 2013 1:29 am

you have to actually run localepurge (as root)

Code:
  `localepurge`

to do the job.
after you have set up the one(s) you want to keep:

Code:
  `dpkg-reconfigure locales`

It saves significant space in a live-image.
XZ is (painfully ) slow to compress but decompression, i.e. boot time, is (almost) as fast as default gzip
You can to add more than another 50 because that also gets compressed although it's guesswork by how much..
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: get iso smaller than 700MB

Tue May 07, 2013 1:44 pm

Nah. I am pretty sure that localepurge will run automatically if you install it. You choose the locales you want to keep and are ready to go.
thwak

- thwak
- Posts: 174
- Joined: Tue Nov 20, 2012 3:58 am

## Re: get iso smaller than 700MB

Mon Sep 02, 2013 8:23 pm

I've gone a step further in cleaning, searching the filesystem for filenames matching "zh" (iso code for chinese localization)
to find the localization files which were "missed" by localepurge and bleachbit
and were left behind regardless of "remove completely" (aka purge) dpkg/synaptic directive.
As I recall, the strays amounted to about 28Mb
thwak

- thwak
- Posts: 174
- Joined: Tue Nov 20, 2012 3:58 am

## Re: get iso smaller than 700MB

Sun Sep 08, 2013 7:17 am

> nadir wrote:Nah. I am pretty sure that localepurge will run automatically if you install it.
> You choose the locales you want to keep and are ready to go.

Yes, at time of installing localepurge, a post-install trigger performs a cleanup.
I rechecked recently & determined that bleachbit still finds nixes additional locale-related files.
I believe localepurge installs a post-install trigger, but in my installed refracta something in that trigger is broken.
Remove localepurge package (but preserve it's conf ~~ don't "purge" the package) and, subsequently, immediately reinstall it.
Notice (during its reinstallation) how much stuff it finds/nixes.
If it were "doing its job all along, once installed... as each additional pkg was installed", it should find NOTHING needing nixed at time of localepurge reinstallation, eh?
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.