WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: After automatic loading a new personal (data) extension, black screen  (Read 6235 times)

Offline philippefoubert

  • Newbie
  • *
  • Posts: 8
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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: After automatic loading a new personal (data) extension, black screen
« Reply #1 on: September 07, 2014, 07:35:50 PM »
Why not just store the data on your virtual disk?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: After automatic loading a new personal (data) extension, black screen
« Reply #2 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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: After automatic loading a new personal (data) extension, black screen
« Reply #3 on: September 07, 2014, 08:34:06 PM »
Sounds like it is running out of RAM.  How much RAM in that VM?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: After automatic loading a new personal (data) extension, black screen
« Reply #4 on: September 08, 2014, 04:13:48 AM »
Could also be bad permissions in the custom extension.
The only barriers that can stop you are the ones you create yourself.

Offline philippefoubert

  • Newbie
  • *
  • Posts: 8
Re: After automatic loading a new personal (data) extension, black screen
« Reply #5 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...  ???

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: After automatic loading a new personal (data) extension, black screen
« Reply #6 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. (;
Download a copy and keep it handy: Core book ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: After automatic loading a new personal (data) extension, black screen
« Reply #7 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.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: After automatic loading a new personal (data) extension, black screen
« Reply #8 on: September 08, 2014, 06:56:43 PM »
gerald_clark, you're meaning the  home=sdxY  boot code, right?
Download a copy and keep it handy: Core book ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: After automatic loading a new personal (data) extension, black screen
« Reply #9 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: After automatic loading a new personal (data) extension, black screen
« Reply #10 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.
The only barriers that can stop you are the ones you create yourself.