bs02
January 31, 2022, 6:24pm
1
I have one nextbox, I would like to setup a new nextbox for my office, but I already have a rpi4 and a 1TB hd, is it possible to just flash the image to a micro SD?
Hi,
you would also need to formate the harddrive in a certain way see this skript:
#!/bin/bash
for cmd in bash sudo parted mkfs.ext4 mkdir mount chown umount chmod; do
if !(which $cmd > /dev/null); then
echo "FAIL: missing command: '$cmd'"
exit;
fi
done
if [[ "$1" = "" || "$2" != "" ]]; then
echo "usage: $0 <disk-device>"
exit 1
fi
dev=$1
if [[ ! -a "$dev" ]]; then
echo "device: $dev does not exist, exiting..."
exit 1
This file has been truncated. show original
but in general this is totally possible