mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-18 02:59:38 +00:00
modified: chr.sh
This commit is contained in:
parent
a2e11c027b
commit
68eceef92e
3
chr.sh
3
chr.sh
@ -11,6 +11,9 @@ sgdisk --mbrtogpt --clear --set-alignment=2 \
|
|||||||
--new=1::+32M --typecode=1:8300 --change-name=1:"RouterOS Boot" --attributes=1:set: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" \
|
--new=2::-0 --typecode=2:8300 --change-name=2:"RouterOS" \
|
||||||
/dev/sda
|
/dev/sda
|
||||||
|
|
||||||
|
wget -O mbr.bin https://raw.gitmirror.com/elseif/MikroTikPatch/main/mbr.bin
|
||||||
|
|
||||||
dd if=mbr.bin of=/dev/sda bs=1 count=446 conv=notrunc
|
dd if=mbr.bin of=/dev/sda bs=1 count=446 conv=notrunc
|
||||||
dd if=pt.bin of=/dev/sda bs=1 count=66 seek=446 conv=notrunc
|
dd if=pt.bin of=/dev/sda bs=1 count=66 seek=446 conv=notrunc
|
||||||
mkfs.vfat -n "Boot" /dev/sda1
|
mkfs.vfat -n "Boot" /dev/sda1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user