WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: User settings not saved  (Read 3472 times)

Offline Bumbolt

  • Newbie
  • *
  • Posts: 5
User settings not saved
« on: February 15, 2011, 10:46:16 AM »
I installed TC and Chromium browser. The browser makes a Downloads folder for downloads. When i  reboot all files from the Downloads folder get deleted.

Same happens with the /opt/Backgrounds/ folder. So my bg gets deleted.

I installed without multiuser. Because i'm the only one using the pc.

How can i fix this?

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: User settings not saved
« Reply #1 on: February 15, 2011, 11:51:40 AM »
It's been a while but IIRC I had to add opt/backgrounds/ (on my setup the 'b' is lowercase) to opt/.filetool.lst to get it to be saved. I used the vi text editor to do this although I think there's a tool someplace.

I think you would have to do the same for a Chromium directory which is not under a directory that is already in /opt/.filetool.lst that you want saved.

Offline Bumbolt

  • Newbie
  • *
  • Posts: 5
Re: User settings not saved
« Reply #2 on: February 15, 2011, 04:07:13 PM »
Idd its /opt/background/  but /Downloads for chromium. Does this mean that is have to do this every time i want to save something?

I don't get what you mean... Can you explain exactly what i have to do?

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: User settings not saved
« Reply #3 on: February 15, 2011, 04:42:28 PM »
If you have Tiny Core installed on a hard drive, include

opt=sda1 home=sda1

in your bootloader. Use the correct partition, if it is not sda1.


If you have Tiny Core installed on a usb drive, you may want to use backup to save things.
Many people see what is. Some people see what can be, and make a difference.

Offline Bumbolt

  • Newbie
  • *
  • Posts: 5
Re: User settings not saved
« Reply #4 on: February 15, 2011, 05:10:48 PM »
Ok thx i'll try to add that to GRUB :)

Thx for help.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: User settings not saved
« Reply #5 on: February 15, 2011, 05:42:56 PM »
Guy is right about hard drive installations. I run TC off of USB (my box doesn't even have a hard drive!) so I didn't think of that approach.

If you do use backup:

The /opt/.filetool.lst file is a list of directories/files that are saved by the backup. Basic TC files that you normally want to save are listed already (including everything in the home directory), but you may have to add something like /opt/backgrounds that a lot of people don't use. I assume the Chromium Downloads directory isn't under home either so in that case you would add the directory path/directory to /opt.filetool.lst also.

The backup control panel pops up when you shutdown. You can also select it from the control panel.

By the way, there's also an /opt/.xfiletool.lst that has a list of directories/files EXCLUDED from the backup. If you use persistent home and persistent opt (i.e. the home= and opt=  Guy suggested) whatever is in your home and opt directories is being saved to your harddrive already, so you don't necessarily want the additional backup.

Hopefully you can get your basic setup working first and then worry later about tweaking it though.

Offline Bumbolt

  • Newbie
  • *
  • Posts: 5
Re: User settings not saved
« Reply #6 on: February 16, 2011, 07:54:41 AM »
I still don t get it. and i can t fix it. can someone explain plz im a tc/linux noob

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: User settings not saved
« Reply #7 on: February 16, 2011, 07:59:38 AM »
Bumbolt

Post a copy of what you have in menu.lst in Grub.
Many people see what is. Some people see what can be, and make a difference.

Offline Bumbolt

  • Newbie
  • *
  • Posts: 5
Re: User settings not saved
« Reply #8 on: February 16, 2011, 08:08:25 AM »
Quote
default 0
timeout 10
title tinycore
kernel /boot/bzImage quiet /opt=sda1 /home=sda1
initrd /boot/tinycore.gz

title DSL
kernel /boot/linux root=/dev/sda2

quiet 
initrd /boot/minirt.gz


Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: User settings not saved
« Reply #9 on: February 16, 2011, 08:29:49 AM »
Here is similar to how I have mine set up.

default 0
timeout 5

title   Tiny Core 3.5
root   (hd0,0)
kernel   /boot/bzImage quiet opt=hda1 tce=hda1 home=hda1
initrd   /boot/tinycore.gz


You will notice a number of differences. You may need to change hda1 to sda1. It needs to be the correct partition, whatever that is.

Try this and let us know what happens.
Many people see what is. Some people see what can be, and make a difference.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: User settings not saved
« Reply #10 on: February 16, 2011, 10:34:27 AM »
Hi Bumbolt
I think I see a problem with your grub entry.
There should not be a "/" in front of "opt=sda1" or "home=sda1", spelling counts.