mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +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`
|
- `--partitioning-method`
|
||||||
- `--filesystem ext4`
|
- `--filesystem ext4`
|
||||||
- `--no-install-recommends`
|
- `--no-install-recommends`
|
||||||
- `--targeted-initramfs`
|
|
||||||
- `--kernel` Specify another package for kernel image, e.g. `linux-image-cloud-amd64`
|
- `--kernel` Specify another package for kernel image, e.g. `linux-image-cloud-amd64`
|
||||||
- `--security-repository http://security.debian.org/debian-security`
|
- `--security-repository http://security.debian.org/debian-security`
|
||||||
- `--install`
|
- `--install`
|
||||||
|
|||||||
+2
-2
@@ -425,7 +425,7 @@ d-i partman-auto/expert_recipe string \
|
|||||||
EOF
|
EOF
|
||||||
if [ "$efi" = true ]; then
|
if [ "$efi" = true ]; then
|
||||||
$save_preseed << 'EOF'
|
$save_preseed << 'EOF'
|
||||||
512 512 512 free \
|
538 538 1075 free \
|
||||||
$iflabel{ gpt } \
|
$iflabel{ gpt } \
|
||||||
$reusemethod{ } \
|
$reusemethod{ } \
|
||||||
method{ efi } \
|
method{ efi } \
|
||||||
@@ -434,7 +434,7 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
$save_preseed << 'EOF'
|
$save_preseed << 'EOF'
|
||||||
1536 1536 -1 $default_filesystem \
|
2149 2150 -1 $default_filesystem \
|
||||||
method{ format } \
|
method{ format } \
|
||||||
format{ } \
|
format{ } \
|
||||||
use_filesystem{ } \
|
use_filesystem{ } \
|
||||||
|
|||||||
Reference in New Issue
Block a user