Author Topic: SparkyLinux Custom ISO Builder  (Read 6380 times)

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
SparkyLinux Custom ISO Builder
« on: August 12, 2014, 03:15:36 pm »
I wish there is a tutorial for "SparkyLinux Custom ISO Builder".
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #1 on: August 12, 2014, 04:21:10 pm »
It will be soon, it's on my working list.
« Last Edit: August 12, 2014, 04:27:59 pm by pavroo »
Nothing is easy as it looks.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #2 on: August 14, 2014, 02:33:29 pm »
Nothing is easy as it looks.

Offline configX

  • Newbie
  • *
  • Posts: 17
Re: SparkyLinux Custom ISO Builder
« Reply #3 on: October 26, 2014, 02:27:23 pm »
Thanks, pavroo! That's a nifty tool you have there. I was considering using it to make a pekwm Sparky remix.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #4 on: October 26, 2014, 03:27:33 pm »
Why not? Feel free to customize Sparky.
Don't forget to past a download link when ready :)
Nothing is easy as it looks.

Offline Chdslv

  • Newbie
  • *
  • Posts: 28
Re: SparkyLinux Custom ISO Builder
« Reply #5 on: November 26, 2014, 09:20:39 pm »
Tried everything as in the tutorial, but the building iso process stops after about 12% and the computer restarts. I tried both methods, rebuild and the custom-build, but the result is the same. I did this again, without changing any app, except the iso name, but the result is the same.  Could you check the files, please?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #6 on: November 26, 2014, 11:18:41 pm »
1. Just let me know, to make sure: it stopped when xorriso was working?
2. Can you check what is the size of the new filesystem.squashfs file (in MB)
3. What iso image you try to rebuild? It's not compatible with all Debian based distros.
« Last Edit: November 26, 2014, 11:22:54 pm by pavroo »
Nothing is easy as it looks.

Offline Chdslv

  • Newbie
  • *
  • Posts: 28
Re: SparkyLinux Custom ISO Builder
« Reply #7 on: November 27, 2014, 05:24:49 pm »
1. Just let me know, to make sure: it stopped when xorriso was working?
2. Can you check what is the size of the new filesystem.squashfs file (in MB)
3. What iso image you try to rebuild? It's not compatible with all Debian based distros.

1. Yes, xorriso was working.
2. It was 313.8 MB, when it stopped.
3. Sparkylinux-3.5-x86_64-xfce.iso
« Last Edit: November 27, 2014, 08:06:45 pm by Chdslv »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #8 on: November 27, 2014, 08:45:01 pm »
I have checked the app and the iso image - it still works fine.
I think the problem is on your side.
Code: [Select]
It was 313.8 MBThe squashfs is too small. Normal one is about 1.5GB, if you added more packages it has to be even bigger.
As small as 300MB can be CLI edition iso only.
So I think there is not a problem with xorriso:
http://sparkylinux.org/images/cib/thumbs/cib12.png
but with building the new squashfs file (which is creating before iso image by xorriso):
http://sparkylinux.org/images/cib/thumbs/cib23.png
So it looks like, in my way that making the new filesystem.squashfs file you have used all available disk space.
That's why it stopped working.
To unpack sparky full edition iso you need at least 5GB, to build a new iso you need another 2-5 GB extra space.
If you have added much more extra applications to the new iso, and for example you'd like to build 4GB iso image, you need about 15-20 GB of the space.
Let me know some more about your space you had when the app stopped working.
Anyway if it still is a bug, it can help me fix it, if now it will help you build a new iso image.
Nothing is easy as it looks.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: SparkyLinux Custom ISO Builder
« Reply #9 on: November 27, 2014, 10:24:55 pm »
So it looks like, in my way that making the new filesystem.squashfs file you have used all available disk space.
I wonder. I never heard of reboots caused by using up all the free space. The process should stop with an error, but no reason to reboot. If that was to be the symptom, then the system would never boot again (after restart there would still be no free space). I would suspect overheating here. That's a much more plausible cause for a reboot. Try monitoring your sensors and free disk space (just in case if I'm wrong on the disk space issue) while building the ISO.
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #10 on: November 27, 2014, 10:39:22 pm »
It can stop working if all the space is used.
I missed the rebooting, but it true.
My old laptop shuts down or reboots many times when the temperature was too hight.
Nothing is easy as it looks.

Offline Chdslv

  • Newbie
  • *
  • Posts: 28
Re: SparkyLinux Custom ISO Builder
« Reply #11 on: November 28, 2014, 12:03:37 am »
You asked me about the filesystem.squashfs, which was the amount I mentioned. The squashfs-root was 5.2GB. I had more than 7.8 GB free after the rebooting. There is no overheating. I am going to try again.

Offline Chdslv

  • Newbie
  • *
  • Posts: 28
Re: SparkyLinux Custom ISO Builder
« Reply #12 on: November 28, 2014, 07:27:19 pm »
I tried again in a 22GB partition for the remaster folder. The working base is Sparkylinux-3.5-x86_64-xfce.iso and the iso to rebuild was the same. the squashfs-root is 4.9GB. Around 10-11% the building process stopped and the laptop powered off. The filesystem.squashfs is 316.1MB. The laptop never got over heated.

To check this matter, I remastered Ubuntu 14.10 within the partition, where Ubuntu was installed. The whole partition was 21GB, and the remaster was built within it. It used all 4 processors and the remaster was done within few minutes. I burnt it to a USB and installed it to make a full check.

I watched the speed of the remastering process in both and I see that Custom Iso Builder is quite slow. Most probably, it is not using all 4 processors.

EDIT: This happens when I try to use the Build_New method. The filesystem.squashfs should at least be 1.5GB
« Last Edit: November 29, 2014, 06:49:16 am by Chdslv »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: SparkyLinux Custom ISO Builder
« Reply #13 on: November 28, 2014, 10:19:55 pm »
Yes, it should be, but your machine shuts down for a reason I don't know yet.
Nothing is easy as it looks.

Offline Chdslv

  • Newbie
  • *
  • Posts: 28
Re: SparkyLinux Custom ISO Builder
« Reply #14 on: November 29, 2014, 07:41:47 am »
I made what's supposed to be done by the Build_New in a roundabout way and created a full remaster using the same machine. It was done in few minutes, using all 4 processors. I did that as a try, and I'd try to polish the files and redo it later. By the way, have anyone fully remastered SparkyLinux using the Custom-Iso-Builder?