Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Bumbolt 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?
-
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.
-
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?
-
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.
-
Ok thx i'll try to add that to GRUB :)
Thx for help.
-
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.
-
I still don t get it. and i can t fix it. can someone explain plz im a tc/linux noob
-
Bumbolt
Post a copy of what you have in menu.lst in Grub.
-
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
-
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.
-
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.