-
Notifications
You must be signed in to change notification settings - Fork 102
How to Run Pi Timolo from Another Directory Path
There may be times when you want to run pi-timolo from another directory such as a drive mount point. I often want to run pi-timolo from a mounted hard drive and have the upgrade work properly. This will be an example of the steps for mounting an ext4 usb drive and moving pi-timolo to the drive mount point. This is sample code and you most likely will need to make changes to suit your situation.
Run the pi-timolo github curl script. By default this will install to ~/pi-timolo folder
curl -L https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo-install.sh | bash
Once installed check to make sure pi-timolo runs OK. See wiki for details
Insert a usb disk drive. The first hard drive will normally be /dev/sda1. For details See Wiki Mount USB Storage
Create a mount point and mount hard drive
cd ~
mkdir mnt
sudo nano /etc/fstab
Add the drive mounting instructions appropriate for the drive file system. Below example assumes ext4. ctrl-x y to save changes
/dev/sda1 /home/pi/mnt ext4 defaults,noatime,nofail 0 0
mount disk per
cd ~
sudo mount /dev/sda1 mnt
Verify that disk is mounted
cd ~
ls -al mnt
cd ~
mv -r pi-timolo mmt
ls -al /mnt/pi-timolo # you should see pi-timolo files
cd ~
ln -s /home/pi/mnt/pi-timolo pi-timolo
ls -al # verify symbolic link was created.
pi-timolo will now run from the mounted hard drive per.
cd ~/mnt/pi-timolo
./menubox.sh
or
cd ~/pi-timolo
./menubox.sh
You can now run a pi-timolo menubox.sh UPGRADE and the files will be updated on the mounted hard drive.
- Wiki Home
- Introduction
- Prerequisites
- Install or Upgrade
- Run pi-timolo from a drive mnt
- Customize config.py
- Panoramic Images
- user_motion_code.py
- Align Camera Motion Area
- Schedule StartAt
- Basic Troubleshooting
- Tuning Variable Settings
- menubox.sh
- Web Server View Files
- Make Timelapse Video
- Join or Convert h264 to MP4
- Run on Boot
- Setup & Run shutdown.py
- Rclone Media Sync
- watch-app.sh Usage
- Plugins Usage
- Mount USB Storage
- Mount Network Share
- Auto SubFolder Creation
- Manage Disk Space
- Utilities Summary
- GitHub Repo
gdrive is no longer default.