Différences entre les versions de « OctoPi Laser Serveur »

De MediaWiki UOF
Aller à la navigation Aller à la recherche
 
Ligne 5 : Ligne 5 :
https://github.com/billw2/rpi-clone <br>
https://github.com/billw2/rpi-clone <br>
'''rpi-clone''' is a tool that can clone a live/booted SD Card to another SD Card (USB reader) and that is directly bootable after the cloning process.
'''rpi-clone''' is a tool that can clone a live/booted SD Card to another SD Card (USB reader) and that is directly bootable after the cloning process.
The bash scripts and the default gcode files can be found in the [https://drive.google.com/drive/folders/1HhuiPfzCmom-USA9rfLOdbfHLbkrfVpw?usp=sharing UOF Google Drive folder] : 3_espaces > 1_LeMateriel > 4_decoupeuse Laser > OctoPrint_RPi_Server


== Backup The OctoPi to USB SD Card ==
== Backup The OctoPi to USB SD Card ==

Version actuelle datée du 3 octobre 2022 à 14:32

Guide on how to install OctoPrint onto an SD Card etc.:
https://octoprint.org/download/

On the RPi, we have installed rpi-clone: https://github.com/billw2/rpi-clone
rpi-clone is a tool that can clone a live/booted SD Card to another SD Card (USB reader) and that is directly bootable after the cloning process.

The bash scripts and the default gcode files can be found in the UOF Google Drive folder : 3_espaces > 1_LeMateriel > 4_decoupeuse Laser > OctoPrint_RPi_Server

Backup The OctoPi to USB SD Card

  1. Open the command line interface
  2. Type
    ssh pi@172.18.149.26

    ... and connect to the RPi server.
  3. Make sure the USB SD Card reader is plugged in and is working. Make sure the SD Card is at least the same size as the RPi System Card.
    (Default: the RPi System Card is 16 GB and the USB SD Card is 16 GB.)
  4. Type
    sudo rpi-clone sda -v -u

    Make sure that "sda" is the correct destination. If not sure, check with :
    sudo fdisk -l
  5. Wait until it is finished.

Boot From SD Card Clone

  1. Remove the system SD Card
  2. Remove the clone SD card from the USB reader.
  3. Insert the SD from the USB reader to the RPi system SD slot.
  4. Power up the RPi