From f2267cd0fa909b0017143b7a4c077d59f3e065fd Mon Sep 17 00:00:00 2001
From: SolidHal <hal@halemmerich.com>
Date: Tue, 15 Oct 2019 13:56:37 -0700
Subject: [PATCH] Fixed Install to internal boot device

---
 scripts/InstallScripts/InstallToInternal.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/InstallScripts/InstallToInternal.sh b/scripts/InstallScripts/InstallToInternal.sh
index dd5773e..a4c4d90 100755
--- a/scripts/InstallScripts/InstallToInternal.sh
+++ b/scripts/InstallScripts/InstallToInternal.sh
@@ -21,7 +21,7 @@
 
 RESOURCES=/InstallResources
 # Grab the boot device, which is either /dev/sda for usb or /dev/mmcblk0 for an sd card
-BOOT_DEVICE=$(mount | head -n 1 | cut -d '3' -f 1)
+BOOT_DEVICE=$(mount | head -n 1 | cut -d '2' -f 1)
 
 echo "--------------------------------------------------------------------------------------------------------"
 echo "PrawnOS Install To Internal Emmc Script"