Skip to content
Snippets Groups Projects
Verified Commit 2e587e31 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

debootstrap: Fix GPT setup

parent 0a6386d1
No related branches found
No related tags found
No related merge requests found
...@@ -27,11 +27,13 @@ if [[ "$EFI" = "efi" ]]; then ...@@ -27,11 +27,13 @@ if [[ "$EFI" = "efi" ]]; then
sed -re 's/^[ \t]+([\+0-9a-zA-Z]*)[ \t]*#.*$/\1/' << EOF | fdisk $DISK sed -re 's/^[ \t]+([\+0-9a-zA-Z]*)[ \t]*#.*$/\1/' << EOF | fdisk $DISK
g # GPT partition table g # GPT partition table
n # new partion n # new partion
# partition 1
# default start # default start
+512M # 512MB +512M # 512MB
t # set type t # set type
1 # EFI system 1 # EFI system
n # new partition n # new partition
# partition 2
# default start # default start
# default end # default end
t # set type t # set type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment