Tiny Core Linux

General TC => Remasters / Remixes - Unofficial => Topic started by: georgp24 on November 10, 2013, 03:02:49 PM

Title: Remaster problems
Post by: georgp24 on November 10, 2013, 03:02:49 PM
I am remastering Core Linux using the "Remastering TC" page in the wiki. This is what I would call the manual approach. Due to having a hard-disk install with a multi-boot environment, EZremaster and Qremaster do not seem to work for me.

Anyhow, I end up with a CD that does boot and contains my applications. However, I have the following problems:

While Core Linux is loading the extensions I get these messages for each extension:
"tce-load: line 204 can't create /tmp/appserr: Permission denied"
"tce-load: line 302 can't create /tmp/setup.lst: Permission denied"

The extensions are loaded successfully in spite of that.

Also I cannot run my frame-buffer application. The problem can be reproduced with a copy command as well though:
When I enter "ls -l /dev/fb0" I get: crw-rw---- root root /dev/fb0".

But when I enter: "sudo cp /dev/fb0 ." I get: "cp can't open '/dev/fb0' No such device". My application also complains that it cannot open /dev/fb0.

However, if I do this copy on my hard disk installation I get a 5 MB file.

So what do I have to do to get that to work on my remastered CD?

Georg
Title: Re: Remaster problems
Post by: tinypoodle on November 10, 2013, 05:23:16 PM
Please post output of
Code: [Select]
sudo wc /dev/fb0
Title: Re: Remaster problems
Post by: georgp24 on November 10, 2013, 05:55:55 PM

The command "sudo wc /dev/fb0" still returns "device not found".
Title: Re: Remaster problems
Post by: tinypoodle on November 10, 2013, 06:29:03 PM
Are you sure you have a proper framebuffer console at boottime?
Title: Re: Remaster problems
Post by: georgp24 on November 11, 2013, 05:12:47 PM
After endless tests and trying I found that this has nothing to do with my remaster but is also a feature of a stock Core 477 CD. So I post my question again in Core Q&A since I assume more people watch that forum.
Title: Re: Remaster problems
Post by: tinypoodle on November 11, 2013, 05:19:24 PM
I see 2 separate questions in OP of which a relation is not established.
Title: Re: Remaster problems
Post by: georgp24 on November 12, 2013, 01:16:53 PM
I do not know if I understand your post correctly. The frame buffer problem seems to be solved using the tip from curaga.

The "Permission denied" messages did no longer appear when I used the "dynamic root fs remastering" method to make the bootable CD.

When starting over and using the manual method I got "Permission denied" messages for different files. So I have to explore that further. I suspect that I somehow modify the permissions and owner information when copying the files around on my disk before packing them again.
Title: Re: Remaster problems
Post by: tinypoodle on November 12, 2013, 01:44:10 PM
As suspected from the beginning, no relation between absent framebuffer vs. permission issues.
Title: Re: Remaster problems
Post by: georgp24 on November 12, 2013, 05:16:20 PM
Yes, these were separate problems. Finally I got a working remastered CD now :)