Ask your questions here.
Post a reply
Jeffersonrc

- Jeffersonrc
- Posts: 16
- Joined: Tue Feb 21, 2017 11:48 pm

## Giant iso size snapshot

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...
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Giant iso size snapshot

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:
  `# 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"
  `

Jeffersonrc

- Jeffersonrc
- Posts: 16
- Joined: Tue Feb 21, 2017 11:48 pm

## Re: Giant iso size snapshot

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
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Giant iso size snapshot

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:
  `du -Sh /home | sort -h`

Jeffersonrc

- Jeffersonrc
- Posts: 16
- Joined: Tue Feb 21, 2017 11:48 pm

## Re: Giant iso size snapshot

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
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: Giant iso size snapshot

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.
Jeffersonrc

- Jeffersonrc
- Posts: 16
- Joined: Tue Feb 21, 2017 11:48 pm

## Re: Giant iso size snapshot

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?
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Giant iso size snapshot

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.)
Jeffersonrc

- Jeffersonrc
- Posts: 16
- Joined: Tue Feb 21, 2017 11:48 pm

## Re: Giant iso size snapshot

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
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Giant iso size snapshot

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:
  `- /usr/src/linux-4.9.11`

Do you also have a folder like that for linux-4.9.6?
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.