From 95c2779f0ac12a687d74060f80b66e41b1ded0f0 Mon Sep 17 00:00:00 2001 From: zyb Date: Tue, 16 Jul 2024 16:59:42 +0800 Subject: [PATCH] modified: chr.sh --- chr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chr.sh b/chr.sh index b1052f7..bea4573 100644 --- a/chr.sh +++ b/chr.sh @@ -1,5 +1,5 @@ #!/bin/bash -apt-get install -y sgdisk extlinux > /dev/null 2>&1 +apt-get install -y gdisk extlinux > /dev/null 2>&1 dd if=/dev/zero of=/dev/sda bs=1 count=512 conv=notrunc sgdisk --clear --set-alignment=2 --new=1::+32M --typecode=1:8300 --change-name=1:"RouterOS Boot" --attributes=1:set:2 --new=2::-0 --typecode=2:8300 --change-name=2:"RouterOS" --gpttombr=1:2 /dev/sda dd if=/dev/sda of=/tmp/pt.bin bs=1 count=66 skip=446