WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Basic questions about TinyCore Linux  (Read 6231 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #15 on: March 14, 2014, 12:51:30 PM »
You probably have an error in your .filetool.lst.

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #16 on: March 14, 2014, 01:27:48 PM »
The contents are as follows:

root@tcm:/opt# cat .filetool.lst
etc/passwd
etc/shadow
etc/group

I removed the default entries (opt and home) since they are persistent.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #17 on: March 14, 2014, 01:55:18 PM »
Show the output of "showbootcodes".

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #18 on: March 14, 2014, 02:22:49 PM »
Please see attachment.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #19 on: March 14, 2014, 02:29:01 PM »
I don't view attached pictures.

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #20 on: March 14, 2014, 03:27:07 PM »
I'm unable to copy and paste the output.. I will try and type everything.

initrd=/tce/boot/core.gz quiet vga=885 home=sda1 opt=sda1 mydata=databackup showapps kmap=qwerty/it superuser noswap host=tcm waitusb=5:UUID="c2ab1e47-e980-4330-9ffd-d8272815ce75" tce=UUID="c2ab1e47-e980-4330-9ffd-d8272815ce75" BOOT_IMAGE=/tce/boot/vmlinuz

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #21 on: March 14, 2014, 03:38:41 PM »
You are looking at mydata.tgz, but you have defined the data backup file as databackup.tgz with mydata=databackup.

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #22 on: March 14, 2014, 03:58:04 PM »
I renamed it. The automatic backup never worked.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #23 on: March 14, 2014, 04:01:04 PM »
Run the backup command and see if it creates the backup file.
Are you sure your tce directory is writable?

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #24 on: March 14, 2014, 04:17:01 PM »
Yes as mentioned before when I manually run the command it works and then it correctly restores the data when booting up.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #25 on: March 14, 2014, 04:22:41 PM »
What type of filesystem is your /opt on?
show the output of 'ls -l /opt'

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #26 on: March 14, 2014, 04:26:27 PM »
ext4.

root@tcm:/#ls -l /opt
total 4
-rwxrwxr-x 1 root staff 51 Jan 24 17:32 bootlocal.sh
-rwxrwxr-x 1 root staff 272 Jan 24 17:32 bootsync.sh
-rwxrwxr-x 1 root staff 613 Jan 24 17:32 shutdown.sh
-rw-rw-r-- 1 root staff 31 Jan 24 17:32 tcemirror.sh

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #27 on: March 14, 2014, 04:54:08 PM »
I think you will need to add backup to shutdown.sh if you want a backup on each shutdown.

Offline Kevin

  • Newbie
  • *
  • Posts: 20
Re: Basic questions about TinyCore Linux
« Reply #28 on: March 14, 2014, 06:22:16 PM »
Shouldn't it work "out-of-the-box" as the manual says?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Basic questions about TinyCore Linux
« Reply #29 on: March 14, 2014, 07:11:33 PM »
It does work if you use the GUI exittc.