Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: cmmdrdata on May 19, 2017, 07:38:15 PM

Title: Backup failed
Post by: cmmdrdata on May 19, 2017, 07:38:15 PM
I am using tinycore from CD with some success - after frustrations with an iffy DVD drive - and want to try the persistence offered by Backup. When I direct the backup to my ext4 formatted flash drive (4Gb single partition) it fails. Could this be due to the formatting taking place in my XUbuntu install? differing root/user id's? If I chown and chmod can it be fixed or should I format the flash drive as root or tc from within tinycore?

Hardware Summary: Gigabyte Dual BIOS UEFI Mainboard (using Legacy setting) Intel i5@3.0GHz 16Gb Ram 3TB collection of Sata disks USB 2.0 (3.0 on PCi) Xubuntu 16.04
Title: Re: Backup failed
Post by: polikuo on May 19, 2017, 11:26:54 PM
Code: [Select]
sudo su
mkdir /mnt/USB
mount /dev/sdXY /mnt/USB
cd /mnt/USB
mkdir tce
chown root:staff tce
chmod 775 tce
touch tce/mydata.tgz
chown root:staff tce/mydata.tgz
chmod 775 tce/mydata.tgz

This should fix it.
Title: Re: Backup failed
Post by: cmmdrdata on May 20, 2017, 05:42:43 AM
Oh, that makes sense PoliKuo. Thanks for the response. I'll try that today and confirm all is well  :)