Welcome
Welcome to refracta

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. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Giant iso size snapshot

Ask your questions here.

Giant iso size snapshot

Postby Jeffersonrc » Tue Feb 21, 2017 11:54 pm

Hello I've been using the refracta snap to make iso.
But the size is around 4GB, the base is debian net installer with some programs ...
(Chromium, free office, audacious, vlc, simple screen recorder and clamav, kernel 4.9.11)
Only this is because the iso is so big?
I'm going to distribute it to friends, but with a size like this it gets bad.
I use xv comp, (smaller)
need help...
Jeffersonrc
 
Posts: 15
Joined: Tue Feb 21, 2017 11:48 pm

Re: Giant iso size snapshot

Postby fsmithred » Wed Feb 22, 2017 12:44 am

I don't think your software choice should make an iso that big. Run graphical disk map or something similar to find large files that you forgot about, and remove them or add them to the excludes list. The excludes list has some entries for firefox/iceweasel, but not for chromium. Where does chromium store its cache?

Here is the section of the config file that has the compression options. You want to uncomment the second choice for the best compression.
Code: Select all
# Uncomment one of the lines below to use xz compression for smaller iso.

# small and slow
#mksq_opt="-comp xz"

# smaller and slower:
#mksq_opt="-comp xz -Xbcj x86"
User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Giant iso size snapshot

Postby Jeffersonrc » Wed Feb 22, 2017 12:47 am

Ok, I saw in an older topic this option:
-compliance iso_9660_level = 3
-file_size_limit off


I can add to the xorriso, for the file to be smaller, in this case:
Xorriso -as mkisofs -r -J -joliet-long -l $ {isohybrid_opt} -compliance iso_9660_level = 3 -file_size_limit off \

What best graphic disk map to use? Debian
cleaned the chromium cache ...
I installed debian netinstaller yesterday, only to create the customization to pass on to my friends
Look size:
https://s8.postimg.org/5vvkva41h/Captur ... _50_24.png
Jeffersonrc
 
Posts: 15
Joined: Tue Feb 21, 2017 11:48 pm

Re: Giant iso size snapshot

Postby fsmithred » Wed Feb 22, 2017 12:58 am

I don't see how turning off the file size limit will make a smaller iso. I would think you'd use that option to make a larger iso.

I use gdmap. If you happen to be using kde, you can use kdirstat. I don't know other graphical tools for that. There's always 'du -Sh'.
Code: Select all
du -Sh /home | sort -h
User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Giant iso size snapshot

Postby Jeffersonrc » Wed Feb 22, 2017 1:27 am

The system is light, I saw that the kernel I compiled has 10gb!
And now?
https://s2.postimg.org/ack6w2obd/Captur ... _26_33.png
Jeffersonrc
 
Posts: 15
Joined: Tue Feb 21, 2017 11:48 pm

Re: Giant iso size snapshot

Postby golinux » Wed Feb 22, 2017 1:55 am

You need to start excluding files. I have over 300 gb of data on my system but the isos I create are ~2gb with the help of a HUGE exclusion list.
May the FORK be with you!
User avatar
golinux
 
Posts: 661
Joined: Thu Nov 08, 2012 1:23 am

Re: Giant iso size snapshot

Postby Jeffersonrc » Wed Feb 22, 2017 2:05 am

Yes, I already did a great cleaning!
What's taking up more space is Kernel 4.9.6, 10GB!
Is that right?
Jeffersonrc
 
Posts: 15
Joined: Tue Feb 21, 2017 11:48 pm

Re: Giant iso size snapshot

Postby fsmithred » Wed Feb 22, 2017 3:00 am

Is that /usr/src that has 10GB? Mine only has 42MB, and that's for the kernel headers for 3.16. I also have a folder with the full source code for 3.14, 3.16, source tarballs and a bunch of debs that comes to 11GB. What do you have in there?

You could exclude the kernel sources, and you could also uninstall some of the build depends before making the iso, unless your friends are also going to be compiling kernels. (I like to keep build-essential and linux-headers in case someone needs to compile their own drivers.)
User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Giant iso size snapshot

Postby Jeffersonrc » Wed Feb 22, 2017 3:05 am

Have this
I compiled the kernel today.
I do not know what is happening
Follow the image of the folder inside

https://s17.postimg.org/men6r4oi7/Captu ... _03_10.png
Jeffersonrc
 
Posts: 15
Joined: Tue Feb 21, 2017 11:48 pm

Re: Giant iso size snapshot

Postby fsmithred » Wed Feb 22, 2017 4:13 am

That's the kernel source. You don't need that except to build a kernel. Add it to the excludes file like this:
Code: Select all
- /usr/src/linux-4.9.11


Do you also have a folder like that for linux-4.9.6?
User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred