Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Raspberry Pi port,
piCore-15.0
is available!
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
how to get persistent flash in tiny core
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: how to get persistent flash in tiny core (Read 6801 times)
Rich
Administrator
Hero Member
Posts: 11573
Re: how to get persistent flash in tiny core
«
Reply #15 on:
July 11, 2012, 02:26:38 AM »
Hi manit123
Yes, you could copy the file somewhere else in your home directory. Add a copy command in the shutdown.sh
script to save it and another copy command in the bootlocal.sh script to restore it.
Logged
manit123
Sr. Member
Posts: 315
Re: how to get persistent flash in tiny core
«
Reply #16 on:
July 12, 2012, 09:42:44 AM »
Is there a way I can run a script after everything is mounted i.e my pendrive , loop tcz etc.
Then usually I get my pendrive as /mnt/sda1
so I will add to it
sudo cp /mnt/sda1/my-customised-settings/operaprefs.ini ~/.opera-11/
Logged
tinypoodle
Hero Member
Posts: 3857
Re: how to get persistent flash in tiny core
«
Reply #17 on:
July 12, 2012, 09:54:27 AM »
Add to /opt/bootlocal.sh
Omit sudo.
Logged
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)
gerald_clark
TinyCore Moderator
Hero Member
Posts: 4254
Re: how to get persistent flash in tiny core
«
Reply #18 on:
July 12, 2012, 10:42:00 AM »
Use the LABEL or UUID form of the tce= boot option.
Since you can't be sure what device the USB will be, use /etc/sysconfig/tcedir.
Logged
manit123
Sr. Member
Posts: 315
Re: how to get persistent flash in tiny core
«
Reply #19 on:
July 13, 2012, 09:43:42 PM »
do you mean
/etc/sysconfig/tcedir gets saved in backup.
Logged
gerald_clark
TinyCore Moderator
Hero Member
Posts: 4254
Re: how to get persistent flash in tiny core
«
Reply #20 on:
July 14, 2012, 12:21:13 AM »
No, /etc/sysconfig/tcedir is a symlink to the tce dir found or specified in the boot options.
Logged
manit123
Sr. Member
Posts: 315
Re: how to get persistent flash in tiny core
«
Reply #21 on:
July 30, 2012, 10:34:59 AM »
sorry for my late reply .
I see /etc/sysconfig/tcedir/ points to /tmp/tce
Logged
gerald_clark
TinyCore Moderator
Hero Member
Posts: 4254
Re: how to get persistent flash in tiny core
«
Reply #22 on:
July 30, 2012, 12:37:18 PM »
Then you do not have a tce directory on the root of drive found at boot.
Either use a proper tce= boot option, or manually create the directory..
If this drive is a flash deive, do not forget waitusb=5 boot code.
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
how to get persistent flash in tiny core