Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: oovy on June 03, 2019, 04:50:19 AM

Title: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 04:50:19 AM
Hi there!
I'm currently trying to remaster my TinyCore version.

But I get some weird error.

(https://oovy.dev/ezremaster-error.png)

I already tried reinstalling tinycore and trying it again, I also used different hardware.

I just can't get it to work. Can somebody help me?
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 04:52:22 AM
Wow.., That picture has really bad quality, here's a HQ version:
(https://oovy.dev/img/ezremaster.png)
Title: Re: Can't remaster Core 10.0
Post by: Juanito on June 03, 2019, 05:12:54 AM
What does it say in the ezremaster log?
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 07:56:44 AM
What does it say in the ezremaster log?

Here's the log file
Had to attach it as zip because too large...
Title: Re: Can't remaster Core 10.0
Post by: Juanito on June 03, 2019, 08:16:42 AM
The error seems to be at the end of the log:
Code: [Select]
+ sudo advdef -z4 /tmp/ezremaster/image/boot/core.gz
Error writing on /tmp/ezremaster/image/boot/core.gz [at void convert_gz(adv_fz*, adv_fz*):redef.cc:455]
+ exit 23

Did you run out of ram perhaps? Do you have the latest advcomp extension?
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 08:20:35 AM
The error seems to be at the end of the log:
Code: [Select]
+ sudo advdef -z4 /tmp/ezremaster/image/boot/core.gz
Error writing on /tmp/ezremaster/image/boot/core.gz [at void convert_gz(adv_fz*, adv_fz*):redef.cc:455]
+ exit 23

Did you run out of ram perhaps? Do you have the latest advcomp extension?

I don't think that RAM is the problem... This VM has 8GB of RAM... I'll check. And try again afterwards. I'll get back to you.
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 09:12:27 AM
So I just checked. It seems like RAM really isn't the problem. I recorded the whole process and there was always enough RAM available.

The newest version of advcomp is installed.

Any other ideas?  :(
Title: Re: Can't remaster Core 10.0
Post by: Rich on June 03, 2019, 09:59:48 AM
Hi oovy
Two thoughts. What does this return:
Code: [Select]
ls -l /tmp/ezremaster/image/boot/core.gzIs it read only?

What does this return:
Code: [Select]
df /tmp/Maybe  /tmp  is running out of room?

From the  advdef  man page:
Quote
Limitations

The advdef program cannot be used to recompress huge files because it needs to allocate memory for both the complete compressed and uncompressed data.
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 10:14:42 AM
Hi oovy
Two thoughts. What does this return:
Code: [Select]
ls -l /tmp/ezremaster/image/boot/core.gzIs it read only?

What does this return:
Code: [Select]
df /tmp/Maybe  /tmp  is running out of room?

From the  advdef  man page:
Quote
Limitations

The advdef program cannot be used to recompress huge files because it needs to allocate memory for both the complete compressed and uncompressed data.

ls -l returns -r--r--r-- which is read only i guess?

/tmp is 81% used (1.2 out of 1.5GB used) eventhough it's on a 2 tb hdd...

what shall I do now?
Title: Re: Can't remaster Core 10.0
Post by: Rich on June 03, 2019, 10:32:15 AM
Hi oovy
ls -l returns -r--r--r-- which is read only i guess? ...
Yes.

Quote
... /tmp is 81% used (1.2 out of 1.5GB used) eventhough it's on a 2 tb hdd...
Actually  /tmp  is part of the  RAM  filesystem, just like /usr, /var, /bin, /etc ....
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 03, 2019, 10:49:39 AM
Hi oovy
ls -l returns -r--r--r-- which is read only i guess? ...
Yes.

Quote
... /tmp is 81% used (1.2 out of 1.5GB used) eventhough it's on a 2 tb hdd...
Actually  /tmp  is part of the  RAM  filesystem, just like /usr, /var, /bin, /etc ....

So, what do I have to do now? How do I give more space to /tmp? And am I just able to change the permissions of core.gz?
Title: Re: Can't remaster Core 10.0
Post by: xor on June 03, 2019, 09:38:40 PM
Hi oovy
ls -l returns -r--r--r-- which is read only i guess? ...
Yes.

Quote
... /tmp is 81% used (1.2 out of 1.5GB used) eventhough it's on a 2 tb hdd...
Actually  /tmp  is part of the  RAM  filesystem, just like /usr, /var, /bin, /etc ....

So, what do I have to do now? How do I give more space to /tmp? And am I just able to change the permissions of core.gz?

http://forum.tinycorelinux.net/index.php/topic,22751.msg143145.html#msg143145
Title: Re: Can't remaster Core 10.0
Post by: Juanito on June 03, 2019, 10:07:41 PM
Please don’t hijack another users thread
Title: Re: Can't remaster Core 10.0
Post by: xor on June 03, 2019, 11:05:09 PM
Please don’t hijack another users thread

I'm having the same problem!

because everything runs on iSO (RAM).
the system resets itself,
and log files are deleted with PC shutdown.
so I can't send error report.
Title: Re: Can't remaster Core 10.0
Post by: neonix on June 04, 2019, 01:27:18 AM
If you have no free space in /tmp you can move some directories to harddisk or USB stick and symlink them to /tmp (fat32 filesystem in your harddrive may not work with this). BTW is it possible to use isomaster.tcz to remaster Tinycorelinux iso?
Title: Re: Can't remaster Core 10.0
Post by: Juanito on June 04, 2019, 01:50:32 AM
Copy the log files to a usb stick.before you reboot.
Title: Re: Can't remaster Core 10.0
Post by: curaga on June 04, 2019, 11:04:23 AM
So, what do I have to do now? How do I give more space to /tmp? And am I just able to change the permissions of core.gz?
You can give it more space, you could also remove that line from the script, but I believe ezremaster lets you choose the temporary working dir early on. So you can pick a dir on your HD, instead of /tmp in RAM.
Title: Re: Can't remaster Core 10.0
Post by: oovy on June 05, 2019, 12:18:55 AM
If you have no free space in /tmp you can move some directories to harddisk or USB stick and symlink them to /tmp (fat32 filesystem in your harddrive may not work with this). BTW is it possible to use isomaster.tcz to remaster Tinycorelinux iso?
Actually I never tried to do that. I'll check if isoremaster works.
Title: Re: Can't remaster Core 10.0
Post by: xor on June 05, 2019, 08:47:18 AM
If you have no free space in /tmp you can move some directories to harddisk or USB stick and symlink them to /tmp (fat32 filesystem in your harddrive may not work with this). BTW is it possible to use isomaster.tcz to remaster Tinycorelinux iso?


With isomaster.tcz tcz files can be moved to where it should be.

- How to configure WBAR shortcut menu settings?