Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: djca on September 03, 2012, 03:34:30 PM
-
So my question in short is that when I enter etc/inittab in file .filetool.lst the system do not create mydata.tgz and the file is not backed up. Why this happens? I thought that it is possible to backup any file.
Best Regards
-
It is, but why do you need to backup /etc/inittab?
Check the backup log in /tmp
-
I want to have more than one console terminal. I checked in tmp but don't see any log file there. By the way I have deleted mydata.tgz because the system keeped restoring even if I deleted home and opt from .filetool.lst.
Best Regards.
-
Use the multivt boot code.
-
Thanks for your fast reply. Now it is working perfectly.
But interesting why the system don't make backup of this file you have an idea.
Tnx again.
Best Regards.
-
You mistyped something.
Backup will fail if anything in .flietool.lst is missing.
-
very strange because I enter exactly this:
etc/inittab
Anyway now it is ok.
Best Regards.
-
It always amazes me how unforgiving (but that is a good thing) the backup is, not that this is wrong it's just just as it should be.. One small typo or missing file and the shutdown process comes to a halt until the issue is fixed. The thing I remember most from this is every time I ever had an issue, it was always my fault..
I think the file to check is /tmp/backup_status (??) it will display the filetool entry which is causing the error
:-[
-
I did some additional testing and it turns out that the system is not doing the backup before shutdown. I have to manually do filetool.sh -b so mydata file to be created.
Best Regards.
-
Hi djca
Are you running a GUI or non-GUI? Describe your shutdown procedure.
-
Hello Rich
Well I use ISOLINUX console install. I created two primary partitions first with fat 32 and second ext4 on my flash drive. Then installed isolinux. and copied vmlinuz and core.gz. Well that is pretty much it.
Best Regards.
-
Where is your tce directory?
ls -l /etc/sysconfig/tcedir
-
All the three folders home opt and tce are on my flash drive sdb2.
Best Regards.
-
Hi djca
Are you running a GUI or non-GUI? Describe your shutdown procedure.
If you are running a GUI, use the Exit icon. If you are not running a GUI, you may have to call filetool.sh -b
yourself, I'm not sure what the procedure is for that. If you just hit the power switch, all bets are off.
-
FYI there is a shortcut just type backup at prompt.
-
Thanks for the info. This is the way I do it at the moment if there are some changes I do manual backup. I also found out that sdb1 is not mounted on boot. What do you think is the correct way to mount it. Create a new line in fstab and backup it or there is some other way.
Best Regards.
-
Append the appropriate mount command to /opt/bootlocal.sh
-
Hi djca
Tinycore only mounts the drives it needs when it boots. All drives that it recognizes it lists in /etc/fstab.
To mount sdb1 just execute:
mount /mnt/sdb1
If you want that drive mounted when you boot, just add that line to /opt/bootlocal.sh
-
If that is the partition with the tce directory, you have bad boot codes.
Show the output of showbootcodes.
-
No this is a fat32 partition that I use to transfer files. I will try with /opt/bootlocal.sh
Tnx
Best Regards.
-
Even with a bootlocal.sh change, it will not automount if plugged in after boot.