Tiny Core Base > TCB Q&A Forum
Help with persistance with hard drive install.
emeddleton:
Thank you all for your help.
With your help I am getting closer. I set tinycore back up on sdb1. I removed my boot codes so the pertinent lines in grub just have:
title tinycore
root (hd1,0)
kernel /tce/boot/vmlinuz quiet root=/dev/disk/by-id/ata-MAXTOR_STM2500630AS_8RG3WST5-part1 max_loop=255
I edited the file /opt/.filetool.lst to read:
opt/.filetool.lst
home/tc/.e
home/tc/.mozilla/firefox/zypal44u.default/places.sqlite
home/tc/.vimrc
home/tc/.local/share/applications
Now the only problem is that when I reboot, my permissions on /home/tc/.mozilla changes ownership to root. The same is true for:
/home/tc/.mozilla/firefox
/home/tc/.mozilla/firefox/zypal44u.default
/home/tc/.local
/home/tc/.local/share
It seems that if the line in .filetool.lst contains more then one sub-directory after the tc directory, the ownership changes to root in all the sub-directories accept the last one in the line. The file /home/tc/.mozilla/firefox/zypal44u.default/places.sqlite has the correct ownership as does the directory /home/tc/.local/share/applications.
/opt/.filetool.lst /home/tc/.e and /home/tc/.vmrc have the correct ownership.
I manually change all the wrong ownerships from root back to tc but when I reboot they change back to root again.
I would appreciate any advice.
Thank you,
Eric Meddleton
tinypoodle:
Did you adapt /opt/.xfiletool.lst ?
curaga:
That is tar behavior, and has been discussed before. Not something we can really change.
Workaround I can think of would be to have .mozilla and .local, the base folders, in .filetool.lst, but remove anything in them you don't want backed up (or add them to .xfiletool.lst).
emeddleton:
--- Quote from: tinypoodle on April 02, 2012, 11:32:24 PM ---
--- Quote from: Rich on April 02, 2012, 08:58:50 PM ---Hi emeddleton
--- Quote ---Then change the default to no backup on shutdown. You'll need to search the forum on how to do that, I don't
recall how it's done.
--- End quote ---
Here's how to change the default to no backup:
http://forum.tinycorelinux.net/index.php/topic,11211.msg58585.html#msg58585
--- End quote ---
Earlier post edited accordingly :-[
--- End quote ---
If I use the bootcode norestore my initial settngs for my home directory are all gone. Since I am using e17 I have to go through setting everythng back up such as backgrounds, menu settings, and virtual desktops. It looks like booting up with the norestore bootcode creates a new mydata.tgz file instead of preserving the one with all my settings.
Eric Meddleton
Rich:
Hi emeddleton
When you do a backup, all the paths listed in .filetool.lst get saved to a file called mydata.tcz. When you boot,
Tinycore RESTORES whatever you backed up into that file. If you use the norestore boot code, that doesn't
happen. If you reboot again (without running backup) and omit that boot code, all your settings will be back.
Try this:
1. Place the following two lines in filetool.lst:
home
opt
2. Remove all entries from xfiletool.lst
3. Set the system up the way you want it.
4. Add export BACKUP=0 to /home/tc/.profile
5. Do a backup.
6. Reboot without the norestore boot code.
7. Never run backup again.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version