mirror of
https://github.com/bin456789/reinstall.git
synced 2026-02-04 09:04:18 +08:00
kali: 支持安装 kali
This commit is contained in:
72
README.en.md
72
README.en.md
@ -10,18 +10,35 @@ One-click reinstallation script
|
||||
|
||||
## Highlights
|
||||
|
||||
- Installing using official cloud images (Cloud Image) allows bypassing the [memory requirements](https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3) of traditional network installations, resulting in faster installation speed.
|
||||
- Compatible with 512M + 5G small servers and supports installing Alpine or Debain on 256M small servers.
|
||||
- Compatible with all network conditions, including dynamic/static IPv4/IPv6 and pure IPv4/IPv6.
|
||||
- Support arbitrary conversion between the following systems (including Windows to Linux).
|
||||
- Compatible low-spec servers and automatically select the appropriate official slimmed-down kernel.
|
||||
- Supports installing Windows using the official ISO.
|
||||
- Supports reinstalling Windows as Linux or Windows itself.
|
||||
- Supports BIOS, EFI, ARM.
|
||||
- The original system partition supports LVM, Btrfs.
|
||||
- Supports installing Alpine, Arch, openSUSE, Gentoo, and can also install these systems from them.
|
||||
- Progress of DD and cloud image installation can be viewed through SSH, browser, serial console, and web panel VNC.
|
||||
- The script does not include third-party links or homemade packages; all resources are obtained in real-time from the source site.
|
||||
- Automatically detect dynamic/static IPv4/IPv6, eliminating the need to fill in IP/mask/gateway (even for DD/ISO installation of Windows).
|
||||
- Supports BIOS, EFI, ARM. The original system partition supports LVM, Btrfs.
|
||||
- Progress of DD and cloud image installation can be viewed through SSH, HTTP port 80, serial console, and vendor backend VNC.
|
||||
- The script does not include third-party homemade packages; all resources are obtained in real-time from the source site.
|
||||
- Includes many comments.
|
||||
|
||||
## System Requirements
|
||||
|
||||
| Target System | Memory | Disk |
|
||||
| -------------------------------------------------------- | --------- | ---------------------- |
|
||||
| Alpine | 256 MB | 1 GB |
|
||||
| Debian / Kali | 256 MB | 1~1.5 GB ^ |
|
||||
| Ubuntu | 512 MB \* | 2 GB |
|
||||
| CentOS / Alma / Rocky | 512 MB \* | 5 GB |
|
||||
| Fedora | 512 MB \* | 5 GB |
|
||||
| openSUSE | 512 MB \* | 5 GB |
|
||||
| Arch | 512 MB | 5 GB |
|
||||
| Gentoo | 512 MB | 5 GB |
|
||||
| DD | 512 MB | Depending on the image |
|
||||
| Windows 8.1 (Server 2012 R2) or below (ISO installation) | 512 MB | 20~25 GB |
|
||||
| Windows 10 (Server 2016) or above (ISO installation) | 1G | 20~25 GB |
|
||||
|
||||
(\*) Indicates installation using cloud images
|
||||
|
||||
(^) indicates requiring either 256 MB memory + 1.5 GB disk, or 512 MB memory + 1 GB disk
|
||||
|
||||
## Download (Current system is Linux)
|
||||
|
||||
For users outside China:
|
||||
@ -75,6 +92,7 @@ bash reinstall.sh centos 7|8|9 (8|9 for the stream version)
|
||||
opensuse 15.5|tumbleweed
|
||||
ubuntu 20.04|22.04|24.04
|
||||
alpine 3.16|3.17|3.18|3.19
|
||||
kali
|
||||
arch
|
||||
gentoo
|
||||
```
|
||||
@ -99,7 +117,7 @@ bash reinstall.sh alpine --hold=1
|
||||
|
||||
### Feature 4: Reboot to netboot.xyz
|
||||
|
||||
- Can install [more systems](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz) using web panel VNC.
|
||||
- Can install [more systems](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz) using vendor backend VNC.
|
||||
- If the disk content is not modified, rebooting again will return to the original system.
|
||||
|
||||
```bash
|
||||
@ -111,16 +129,7 @@ bash reinstall.sh netboot.xyz
|
||||
### Feature 5: Install Windows ISO
|
||||
|
||||
- Pay attention to the quotation marks around the parameters
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
--image-name 'Windows 10 Enterprise LTSC 2021' \
|
||||
--iso 'https://drive.massgrave.dev/en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso'
|
||||
```
|
||||
|
||||
- Now supports automatically searching for Windows (including LTSC) and Windows Server ISO links.
|
||||
- Need to set the language using `--lang`, default `en-us`.
|
||||
- Search Source: <https://massgrave.dev/genuine-installation-media.html>
|
||||
- Supports automatically searching for some ISO links. Need to set the language using `--lang`, default is `en-us`.
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
@ -128,6 +137,14 @@ bash reinstall.sh windows \
|
||||
--lang zh-cn
|
||||
```
|
||||
|
||||
- You can also specify an ISO link.
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
--image-name 'Windows 10 Enterprise LTSC 2021' \
|
||||
--iso 'https://drive.massgrave.dev/en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso'
|
||||
```
|
||||
|
||||

|
||||
|
||||
Parameters Description:
|
||||
@ -179,21 +196,6 @@ Use `Dism++` File menu > Open Image File, select the iso to be installed to get
|
||||
|
||||
<https://www.microsoft.com/software-download/windows11>
|
||||
|
||||
## Memory Requirements
|
||||
|
||||
| System | Traditional Installation | Cloud Image |
|
||||
| ------------------------------------- | ------------------------ | ----------- |
|
||||
| CentOS / Alma / Rocky | - | 512M |
|
||||
| Fedora | - | 512M |
|
||||
| openSUSE | - | 512M |
|
||||
| Ubuntu | - | 512M |
|
||||
| Debian | 256M | |
|
||||
| Alpine | 256M | - |
|
||||
| Arch | 512M | - |
|
||||
| Gentoo | 512M | - |
|
||||
| Windows 8.1 (Server 2012 R2) or below | 512M | - |
|
||||
| Windows 10 (Server 2016) or above | 1G | - |
|
||||
|
||||
## Virtualization Requirements
|
||||
|
||||
Not supported on OpenVZ, LXC virtual machines.
|
||||
|
||||
Reference in New Issue
Block a user