Tiny Core Linux

General TC => Tiny Core on Virtual Machines => Topic started by: philippefoubert on September 07, 2014, 07:17:46 PM

Title: After automatic loading a new personal (data) extension, black screen
Post by: philippefoubert on September 07, 2014, 07:17:46 PM
Hi,

I'm using Tiny Core 5.3 (on VMware player) and i need to store a set of unchanging data (approximatively 175MB). So, i have followed the processus discribed in the chapter 14 "Creating a personal (data) extension" of the Core Book and used the "onboot.lst" to automatically load the extension.

Since this modification, some messages which i hardly have time to read are displayed when booting then the deskop is shortly displayed but becomes quickly completely black...

The messages are all of the same kind:
Code: [Select]
awk: can't open '/tmp/wbar.2774': Permission denied
 mv: can't rename '/tmp/wbar.2774': No such file or directory

When booting in console mode, everything seems ok and the data i wanted to save are available in the expected folder.

If i remove the extension from "onboot.lst", the destop is starting like before. Then, if i manually load the extension with
Code: [Select]
tce-load -i philippe.tcz i have the expected behavior.

Has someone got any explanation?

Thx,
   Philippe
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: gerald_clark on September 07, 2014, 07:35:50 PM
Why not just store the data on your virtual disk?
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: Rich on September 07, 2014, 07:54:22 PM
Hi philippefoubert
Have you tried running on real hardware? That should tell you if it's a VMware issue or a problem with your extension.
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: gerald_clark on September 07, 2014, 08:34:06 PM
Sounds like it is running out of RAM.  How much RAM in that VM?
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: curaga on September 08, 2014, 04:13:48 AM
Could also be bad permissions in the custom extension.
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: philippefoubert on September 08, 2014, 05:34:54 PM
Thx for your replies.  :)

@gerald_clark:
 - Storing the data on my virtual disk increase the boot and shutdown duration (moreover, since i am a newbie with TC, i wanted to learn how to tune it without being dependent on pre-built extensions )
 - I know the amount of RAM may be a problem but even with 4 GB of RAM, the problem is still present

@Rich:
 - I want to have a lightweight Virtual Machine that can be used to teach IT...

@curaga:
 - If it was bad permissions in the custom extension, don't you think that if i boot in command line mode the behavior should be the same? When booting in console mode, everything seems ok...

=> I will keep a manual load using tce-load: the automatic load is not really indispensable.
The fact is just that i don't like unexplained behaviors...  ???
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: Misalf on September 08, 2014, 06:23:55 PM
One reason I love linux is symlinks. Also very nice for OSes like Tiny Core we can store data elsewhere but symlink it to the place where we need it so just the symlink is included in the persistance file but not the data. That's what I do. (;
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: gerald_clark on September 08, 2014, 06:27:23 PM

Storing your data persistently on the virtual disk would not increase bootup and shutdown time.  It would decrease it. It would not be included in the backup.
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: Misalf on September 08, 2014, 06:56:43 PM
gerald_clark, you're meaning the  home=sdxY  boot code, right?
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: gerald_clark on September 08, 2014, 07:34:19 PM
No, but  if your data is under /home, that will work too.  Just make sure to remove home from .filetool.lst.
Title: Re: After automatic loading a new personal (data) extension, black screen
Post by: curaga on September 09, 2014, 04:04:06 AM
Re perms: check if your extension includes /tmp, and if so, compare its permissions to /tmp on a bare system.