Tiny Core Base > TCB Q&A Forum

How to make persistent?

(1/3) > >>

Ozfer:
So I am new to Tiny Core and just installed it on my laptop. I would like to use it like a normal OS and have everything persistent from the settings, documents, and programs. Whats is the easiest way for someone new with TC to do this?

gerald_clark:
Start by reading the book.
http://tinycorelinux.net/book.html

Misalf:
One of the biggest benefits of using TinyCore, in my opinion that is, is that not all that crap that lands on your machine is allowed to survive, unless you do a so-called "backup". Either via cli commands

--- Code: ---backup

--- End code ---
or

--- Code: ---filetool.sh -b

--- End code ---
or when exiting the desktop / rebooting / shutting down using "TC Exit".
By default, this sores your  /home  and  /opt  directories in a compressed archive at
  /etc/sysconfig/tcedir/mydata.tgz

You can add more files/directories though, or exclude:

If you're using TinyCore with a "Desktop" (meaning GUI, I know you're using a laptop :p), start the "ControlPanel" by clicking its icon in the launcher (WBar) at the bottom of the screen. Then, in ControlPanel, click on "Backup/Restore". This will open the, well, Backup/Restore tool, which is quite self-explanatory in terms of how to use it, i think.

If you're in CLI only, without GUI, then you would manually edit
  /opt/.filetool.lst
to include files in your backup, and
  /opt/.xfiletool.lst
to exlcude from the backup.
Before shutting down or restarting the system, you need to run  filetool.sh -b  for the backup to be rerun.
Only the GUI TC Exit tool creates a backup automatically for you when you exit.

Also, read the book: http://tinycorelinux.net/book.html
It's free. ;)

Ozfer:
As someone who is new with this and doesn't know what all the lingo means. I just want the whole thing to be persistent and would prefer not having to do backups. Will common setup do this? Thank you for the information Misalf.

Misalf:
Nope, not the hole thing.
/home and /opt, yes.
Anything else has to be added manually.
Before you even try, just adding everything (the hole thing) to the backup would be a terrible idea and wouldn't make any sense at all.

To give you an idea, here is my
/opt/.filetool.lst

--- Code: ---opt
home
etc/sudoers
etc/passwd
etc/shadow
etc/group
etc/gshadow
etc/udhcpd.conf
etc/profile.d
var/spool/cron/crontabs
root/.config
root/.xmms
root/.Xdefaults
root/.gtkrc-2.0
root/.gtkrc-2.0.mine
usr/local/etc/alsa/asound.state
usr/local/etc/bluetooth/audio.conf
usr/local/etc/ssh/ssh_config
usr/local/etc/ssh/sshd_config
usr/local/share/X11/xorg.conf.d/10-keyboard.conf
usr/local/share/X11/xorg.conf.d/19-intel.conf
usr/local/share/X11/xorg.conf.d/20-dri.conf
usr/local/share/X11/xorg.conf.d/50-mouse.conf
usr/local/share/X11/xorg.conf.d/50-synaptics.conf
usr/local/share/X11/xorg.conf.d/50-touchpad.conf
usr/local/etc/samba/smb.conf
lib/udev/beep
lib/udev/beep-dn
lib/udev/beep-up
etc/udev/rules.d/99-usb-beep.rules
lib/udev/idesk-tcuser
etc/udev/rules.d/99-idesk-mount.rules
etc/ppp
etc/usb_modeswitch.conf
etc/hosts.mvps
etc/vnstat.conf
etc/sysconfig/wifi-wpadrv
var/lib/vnstat
usr/local/etc/acpi

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version