Erope / VNCReInstall

Use your network to reinstall the system online, With VNC support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VNCReInstall

Use your network to reinstall the system online, With VNC support.
Now only supports Debian 9/10/11/12 x32/x64/ARM64.
Also, UEFI boot devices are supported now.
Tests are not run on the physical machine.

Risk Warning

This is still a project under development. Although it is currently in the main branch, please do not test it on any machine with data.

Requirements

  • An empty host
  • 512M RAM(unstable) | 1G RAM
  • Good network connectivity(github deb.debian.org)
  • Independent IPV4 address
  • Open Port 5900

Usage

Install Debian 11 v64 (please fill network info and password by yourself)

wget https://raw.githubusercontent.com/Erope/VNCReInstall/main/InstallNET_debian.sh
bash InstallNET_debian.sh --ip-addr --ip-gate --ip-mask -p 

Parameter Description

  • --ip-addr: IP address
  • --ip-gate: Network gateway
  • --ip-mask: Subnet mask like 255.255.0.0
  • -d|--debian: 9/10/11/12 default:11
  • -v|--ver: 32/64/arm64 default:64 Please notice that arm64 only support Debian11(Bullseye) and above.
  • -p|--password: Your password, with num and letter
  • -firmware: Add support for non-free software. Support more devices. Maybe you should use it in some machine.
  • other: Due to many script modifications, other parameters may or may not be useful

VNC Support

We use TigerVNC as the VNC server of the Debian installer, working on port 5900, without a password.
During the installation process, you can connect to VNC to view the installation progress, solve installation problems, and avoid reinstallation failures.

Tested platforms

  • Ucloud 1G/2G
  • AWS 512M/1G/4G/8G
  • Buyvm 512M/4G
  • Azure B1S

Welcome to contact us to provide more data

Possible problems

Multiple disks (Sloved)

  • First, the exact disk may not be automatically selected when partitioning disk for linux root. Please select by yourself through VNC
  • Secondly, the correct disk may not be selected when generating the grub file. Please enter the shell through VNC and generate the grub file by yourself

Update

The multi-disk problem has been resolved, but a lot of testing is still needed.

Cannot enter graphical installation mode or VNC cannot be connected

The problem is complicated, the currently known possibility:

  • Low available memory (less than 1G). 512M can also be installed theoretically, but there is no strict test.
  • A Fatal error occurred during installation. You need to seek help from your service provider. This possibility is small, but it cannot be ignored.
  • Failed to enter the installer. Maybe you need to confirm whether it is a UEFI device? If not please contact us.

Thanks

Problem

If you think the script has a bug, please submit ISSUE, of course, PR is also very welcome

About

Use your network to reinstall the system online, With VNC support

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%