Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: fredand44 on April 16, 2012, 02:24:45 PM

Title: How come my newly created dir disappear after restart?
Post by: fredand44 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
Title: Re: How come my newly created dir disappear after restart?
Post by: gerald_clark 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.