mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
#675 retesting clone option
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# CLODE HDD
|
||||||
|
# Script to use the HDD of another RaspiBlitz (Ext4) or from another desktop computer (ExFAT)
|
||||||
|
# and copy blocckhain data over to RaspiBlitz HDD/SSD
|
||||||
|
|
||||||
## get basic info
|
## get basic info
|
||||||
source /home/admin/raspiblitz.info
|
source /home/admin/raspiblitz.info
|
||||||
|
|
||||||
@@ -38,8 +42,8 @@ echo "*** Clone Blockchain form a second HDD ***"
|
|||||||
echo ""
|
echo ""
|
||||||
echo "WARNING: The RaspiBlitz cannot run 2 HDDs without extra Power!"
|
echo "WARNING: The RaspiBlitz cannot run 2 HDDs without extra Power!"
|
||||||
echo ""
|
echo ""
|
||||||
echo "You can use a Y cable for the second HDD to inject extra power."
|
echo "You can use a Y cable for the second HDD to inject extra power"
|
||||||
echo "Like this one: https://www.amazon.de/dp/B00ZJBIHVY"
|
echo "or add a USB Hub with extra power between Raspi and 2n HDD."
|
||||||
echo "If you see on LCD a error on connecting the 2nd HDD do a restart."
|
echo "If you see on LCD a error on connecting the 2nd HDD do a restart."
|
||||||
echo ""
|
echo ""
|
||||||
echo "You can use the HDD of another RaspiBlitz for this."
|
echo "You can use the HDD of another RaspiBlitz for this."
|
||||||
@@ -95,6 +99,8 @@ mountOK=$(lsblk | grep -c /mnt/genesis)
|
|||||||
if [ ${mountOK} -eq 0 ]; then
|
if [ ${mountOK} -eq 0 ]; then
|
||||||
echo "FAIL - not able to mount the 2nd HDD"
|
echo "FAIL - not able to mount the 2nd HDD"
|
||||||
echo "only ext4 and exfat possible"
|
echo "only ext4 and exfat possible"
|
||||||
|
echo "PRESS ENTER to return to menu"
|
||||||
|
read key
|
||||||
sleep 4
|
sleep 4
|
||||||
./10setupBlitz.sh
|
./10setupBlitz.sh
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user