Update InstallNET.sh

This commit is contained in:
Molly Lau 2023-10-07 14:25:32 +09:00 committed by GitHub
parent 8286fad6f7
commit 65c33a0855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -799,10 +799,10 @@ d-i mdadm/boot_degraded boolean true")
d-i partman-auto-raid/recipe string \
1 $2 0 ext4 /boot $AllDisksPart2 . \
$1 $2 0 ext4 / $AllDisksPart3 .
d-i partman-auto/expert_recipe string multiraid :: \
d-i partman-auto/expert_recipe string multiraid :: \
1075 100 2150 free \$bootable{ } \$primary{ } method{ efi } \$iflabel{ gpt } \$reusemethod{ } format{ } . \
269 150 538 raid \$primary{ } method{ raid } . \
100 200 -1 raid \$primary{ } method{ raid } .
269 150 538 raid \$primary{ } method{ raid } . \
100 200 -1 raid \$primary{ } method{ raid } .
d-i partman-efi/non_efi_system boolean true
d-i partman-partitioning/choose_label select gpt
d-i partman-partitioning/default_label string gpt")
@ -812,9 +812,9 @@ d-i partman-partitioning/default_label string gpt")
d-i partman-auto-raid/recipe string \
1 $2 0 ext4 /boot $AllDisksPart1 . \
$1 $2 0 ext4 / $AllDisksPart2 .
d-i partman-auto/expert_recipe string multiraid :: \
d-i partman-auto/expert_recipe string multiraid :: \
1075 100 2150 raid \$bootable{ } \$primary{ } method{ raid } . \
100 200 -1 raid \$primary{ } method{ raid } .
100 200 -1 raid \$primary{ } method{ raid } .
")
fi
# Reference: https://github.com/airium/Linux-Reinstall/blob/master/install-raid0.sh