mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
modified: chr.sh
This commit is contained in:
parent
a54b473538
commit
6e1c89f97d
1 changed files with 0 additions and 1 deletions
1
chr.sh
1
chr.sh
|
|
@ -10,7 +10,6 @@ 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
|
||||||
sync
|
sync
|
||||||
partprobe /dev/sda
|
|
||||||
mkfs.vfat -n "Boot" /dev/sda1
|
mkfs.vfat -n "Boot" /dev/sda1
|
||||||
mkfs.ext4 -F -L "RouterOS" -m 0 /dev/sda2
|
mkfs.ext4 -F -L "RouterOS" -m 0 /dev/sda2
|
||||||
mkdir -p /tmp/{boot,routeros}
|
mkdir -p /tmp/{boot,routeros}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue