Create a GhostBSD USB SSD 500GB or larger size
Create a GhostBSD USB SSD 500GB or larger size This is source file I used. You have to set global environment variable DISK1 in fish shell set -gx DISK1 /dev/da0 cat ./create_ssd_GhostBSD.sh root@omid-ghostbsd-pc /h/o/ssd_test# cat ./create_ssd_Ghostbsd_da1.sh #!/bin/sh set -e set -x echo " ${DISK1} <--- This is the DISK1 environmental variable, set example: DISK1=/dev/da1; export DISK1 " echo " Made for a 500GB size USB to NVMe style SSD disk style SSD disk " # echo "If da1 already exists, use gpart destroy -F da1 or gpart destroy -F ${DISK1} to clean of partitions on da1 " sleep 6 gpart list ${DISK1} gpart status ${DISK1} gpart show -lp ${DISK1} echo " create a GPT scheme on ${DISK1} hit ctrl-C to exit. " # test if geom disk list da1 , then gpart destroy -F ${DISK1} if gpart status ${DISK1} ; then gpart show -lp ${DISK1} echo " Type Ctrl-C NOW! to stop destroy ${DISK1}...