From 3b8a363263a16073f22d5268f1aaaf1acbfed9f4 Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Thu, 17 Jun 2021 16:21:33 +0200 Subject: [PATCH] Fix bug --- sh/debian/ubuntu/system/usr/local/src/format/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/debian/ubuntu/system/usr/local/src/format/main.go b/sh/debian/ubuntu/system/usr/local/src/format/main.go index 0ab1d73e8..f50faf8a8 100644 --- a/sh/debian/ubuntu/system/usr/local/src/format/main.go +++ b/sh/debian/ubuntu/system/usr/local/src/format/main.go @@ -231,7 +231,7 @@ func main() { run("erase disk data", "wipefs", "--all", device.Path) run("erase disk data", "sgdisk", "--zap-all", device.Path) run("create partition table", "sgdisk", "--largest-new", "0", device.Path) - run("create partition table", "sgdisk", "--change-name", "0:01-home", device.Path) + run("create partition table", "sgdisk", "--change-name", "1:01-home", device.Path) run("inform the OS of partition table changes", "partx", "--update", device.Path) run("format partition", "mkfs.f2fs", "-f", device.Path+"1") fmt.Println("done")