mirror of
https://github.com/bin456789/reinstall.git
synced 2025-09-07 17:11:48 +00:00
debian: 支持 13
This commit is contained in:
@@ -32,7 +32,7 @@ The system requirements for the target system are as follows:
|
||||
| System | Version | Memory | Disk |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | --------- | ---------------- |
|
||||
| <img width="16" height="16" src="https://www.alpinelinux.org/alpine-logo.ico" /> Alpine | 3.19, 3.20, 3.21, 3.22 | 256 MB | 1 GB |
|
||||
| <img width="16" height="16" src="https://www.debian.org/favicon.ico" /> Debian | 9, 10, 11, 12 | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://www.debian.org/favicon.ico" /> Debian | 9, 10, 11, 12, 13 | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://github.com/bin456789/reinstall/assets/7548515/f74b3d5b-085f-4df3-bcc9-8a9bd80bb16d" /> Kali | Rolling | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://documentation.ubuntu.com/server/_static/favicon.png" /> Ubuntu | 16.04 LTS - 24.04 LTS, 25.04 | 512 MB \* | 2 GB |
|
||||
| <img width="16" height="16" src="https://img.alicdn.com/imgextra/i1/O1CN01oJnJZg1yK4RzI4Rx2_!!6000000006559-2-tps-118-118.png" /> Anolis | 7, 8, 23 | 512 MB \* | 5 GB |
|
||||
@@ -133,7 +133,7 @@ bash reinstall.sh anolis 7|8|23
|
||||
centos 9|10
|
||||
fedora 41|42
|
||||
nixos 25.05
|
||||
debian 9|10|11|12
|
||||
debian 9|10|11|12|13
|
||||
opensuse 15.6|tumbleweed
|
||||
alpine 3.19|3.20|3.21|3.22
|
||||
openeuler 20.03|22.03|24.03|25.03
|
||||
|
@@ -32,7 +32,7 @@
|
||||
| 系统 | 版本 | 内存 | 硬盘 |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | --------- | ------------ |
|
||||
| <img width="16" height="16" src="https://www.alpinelinux.org/alpine-logo.ico" /> Alpine | 3.19, 3.20, 3.21, 3.22 | 256 MB | 1 GB |
|
||||
| <img width="16" height="16" src="https://www.debian.org/favicon.ico" /> Debian | 9, 10, 11, 12 | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://www.debian.org/favicon.ico" /> Debian | 9, 10, 11, 12, 13 | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://github.com/bin456789/reinstall/assets/7548515/f74b3d5b-085f-4df3-bcc9-8a9bd80bb16d" /> Kali | 滚动 | 256 MB | 1 ~ 1.5 GB ^ |
|
||||
| <img width="16" height="16" src="https://documentation.ubuntu.com/server/_static/favicon.png" /> Ubuntu | 16.04 LTS - 24.04 LTS, 25.04 | 512 MB \* | 2 GB |
|
||||
| <img width="16" height="16" src="https://img.alicdn.com/imgextra/i1/O1CN01oJnJZg1yK4RzI4Rx2_!!6000000006559-2-tps-118-118.png" /> Anolis | 7, 8, 23 | 512 MB \* | 5 GB |
|
||||
@@ -133,7 +133,7 @@ bash reinstall.sh anolis 7|8|23
|
||||
centos 9|10
|
||||
fedora 41|42
|
||||
nixos 25.05
|
||||
debian 9|10|11|12
|
||||
debian 9|10|11|12|13
|
||||
opensuse 15.6|tumbleweed
|
||||
alpine 3.19|3.20|3.21|3.22
|
||||
openeuler 20.03|22.03|24.03|25.03
|
||||
|
@@ -2,7 +2,7 @@
|
||||
# shellcheck disable=SC1091,SC2148
|
||||
# https://www.debian.org/releases/stable/amd64/apbs04.zh-cn.html
|
||||
# https://www.debian.org/releases/stable/example-preseed.txt
|
||||
# https://preseed.debian.net/debian-preseed/bookworm/amd64-main-full.txt
|
||||
# https://preseed.debian.net/debian-preseed/trixie/amd64-main-full.txt
|
||||
# 需要留意 kali initrd 自带的 /preseed.cfg
|
||||
|
||||
# 下面这行语句无效,因为本行后面有反斜杠,前面有空格(安装器认为不算注释)\
|
||||
|
10
reinstall.sh
10
reinstall.sh
@@ -53,7 +53,7 @@ Usage: $reinstall_____ anolis 7|8|23
|
||||
centos 9|10
|
||||
fedora 41|42
|
||||
nixos 25.05
|
||||
debian 9|10|11|12
|
||||
debian 9|10|11|12|13
|
||||
opensuse 15.6|tumbleweed
|
||||
alpine 3.19|3.20|3.21|3.22
|
||||
openeuler 20.03|22.03|24.03|25.03
|
||||
@@ -1118,6 +1118,9 @@ setos() {
|
||||
10) codename=buster ;;
|
||||
11) codename=bullseye ;;
|
||||
12) codename=bookworm ;;
|
||||
13) codename=trixie ;;
|
||||
14) codename=forky ;;
|
||||
15) codename=duke ;;
|
||||
esac
|
||||
|
||||
if ! is_use_cloud_image && is_debian_elts && is_in_china; then
|
||||
@@ -1838,7 +1841,7 @@ verify_os_name() {
|
||||
'oracle 8|9' \
|
||||
'fedora 41|42' \
|
||||
'nixos 25.05' \
|
||||
'debian 9|10|11|12' \
|
||||
'debian 9|10|11|12|13' \
|
||||
'opensuse 15.6|16.0|tumbleweed' \
|
||||
'alpine 3.19|3.20|3.21|3.22' \
|
||||
'openeuler 20.03|22.03|24.03|25.03' \
|
||||
@@ -3122,6 +3125,7 @@ partman-xfs
|
||||
rescue-check
|
||||
wpasupplicant-udeb
|
||||
lilo-installer
|
||||
systemd-boot-installer
|
||||
nic-modules-$kver-di
|
||||
nic-pcmcia-modules-$kver-di
|
||||
nic-usb-modules-$kver-di
|
||||
@@ -3172,7 +3176,7 @@ EOF
|
||||
fi
|
||||
|
||||
# 下载 udeb
|
||||
curl -Lo $tmp/tmp.udeb http://$nextos_udeb_mirror/"$(grep /$package $udeb_list)"
|
||||
curl -Lo $tmp/tmp.udeb http://$nextos_udeb_mirror/"$(grep -F /${package}_ $udeb_list)"
|
||||
|
||||
if false; then
|
||||
# 使用 dpkg
|
||||
|
Reference in New Issue
Block a user