Skip to content

Commit

Permalink
Add GPT table instead MBR
Browse files Browse the repository at this point in the history
with GPT table windows correctly assign letters for all partitions
  • Loading branch information
tiopex committed Dec 4, 2023
1 parent e175cbd commit 5289ae7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions board/miyoo/genimage-sdcard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ image mainfs.vfat {


image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
hdimage {}
hdimage {
partition-table-type = "gpt"
gpt-location = 2MB
}

partition u-boot {
in-partition-table = "no"
Expand All @@ -53,24 +56,23 @@ image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
}

partition boot {
partition-type = 0xB
partition-type-uuid = F
bootable = "true"
image = "bootfs.vfat"
}

partition rootfs {
partition-type = 0x83
partition-type-uuid = L
image = "rootfs.ext4"
}

partition swap {
partition-type = 0x82
bootable = "false"
size = 256M
}

partition main {
partition-type = 0xc
partition-type-uuid = F
bootable = "false"
image = "mainfs.vfat"
}
Expand Down

0 comments on commit 5289ae7

Please sign in to comment.