From 854dc4150e900d7f0b69e308fe07e3dd624f46f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=9F=E7=A9=BA=E7=9A=84=E6=97=A5=E5=B8=B8=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BB=93=E5=BA=93?= Date: Tue, 8 Apr 2025 19:54:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20fixgpt.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fixgpt.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fixgpt.sh diff --git a/fixgpt.sh b/fixgpt.sh new file mode 100644 index 0000000..4163cc8 --- /dev/null +++ b/fixgpt.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -e + +sudo apt update -y +sudo apt install -y gdisk +sudo apt install -y expect + +DISK="/dev/sda" + +expect <