mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
UEFI worked
This commit is contained in:
@@ -41,7 +41,6 @@ This script is used to re-install VPS to **Debian 9 (stretch) or 10 (buster)** w
|
||||
- `--partitioning-method`
|
||||
- `--filesystem ext4`
|
||||
- `--no-install-recommends`
|
||||
- `--targeted-initramfs`
|
||||
- `--kernel` Specify another package for kernel image, e.g. `linux-image-cloud-amd64`
|
||||
- `--security-repository http://security.debian.org/debian-security`
|
||||
- `--install`
|
||||
|
||||
+5
-5
@@ -418,14 +418,14 @@ EOF
|
||||
d-i partman-auto/expert_recipe string \
|
||||
naive :: \
|
||||
1 1 1 free \
|
||||
$iflabel{ gpt } \
|
||||
$reusemethod{ } \
|
||||
method{ biosgrub } \
|
||||
$iflabel{ gpt } \
|
||||
$reusemethod{ } \
|
||||
method{ biosgrub } \
|
||||
. \
|
||||
EOF
|
||||
if [ "$efi" = true ]; then
|
||||
$save_preseed << 'EOF'
|
||||
512 512 512 free \
|
||||
538 538 1075 free \
|
||||
$iflabel{ gpt } \
|
||||
$reusemethod{ } \
|
||||
method{ efi } \
|
||||
@@ -434,7 +434,7 @@ EOF
|
||||
EOF
|
||||
fi
|
||||
$save_preseed << 'EOF'
|
||||
1536 1536 -1 $default_filesystem \
|
||||
2149 2150 -1 $default_filesystem \
|
||||
method{ format } \
|
||||
format{ } \
|
||||
use_filesystem{ } \
|
||||
|
||||
Reference in New Issue
Block a user