WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How come my newly created dir disappear after restart?  (Read 2169 times)

Offline fredand44

  • Newbie
  • *
  • Posts: 21
How come my newly created dir disappear after restart?
« on: April 16, 2012, 02:24:45 PM »
Hello!

I just saw something strange at my computer with tiny core and I hope you guys can explain whats going on.

I started the computer.

I open a terminal.

I set the root password (since what I thought would be the root password "root" did not work) with:
sudo passwd qwe123

I log in as root with:
su

Then I create a dir at the toplevel / like;
mkdir tce

I also chmod 777 tce.

I now can see the folder.

But when I restart the computer the folder "tce" is gone and the root password is no longer "qwe123".

How do I make this persistent?

Best regards
Fredrik

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How come my newly created dir disappear after restart?
« Reply #1 on: April 16, 2012, 03:01:43 PM »
/ is in ram, so any directories you make are temporary.
If you are trying to create a persistent tce directory you need to make it on a mounted drive, such as /mnt/sda1.

Please spend some time in the docs referenced on the main page, as well as in the wiki.