网络重装 netboot.xyz - 需要 VNC 连接
https://netboot.xyz/docs/category/booting-methods
Booting from USB How to create a USB stick capable of booting into netboot.xyz https://netboot.xyz/docs/booting/usb
Booting with an ISO How to use an ISO to boot into netboot.xyz https://netboot.xyz/docs/booting/iso
Boot using iPXE Details how to chainload into netboot.xyz from iPXE https://netboot.xyz/docs/booting/ipxe
Booting from QEMU Methods of booting into netboot.xyz using QEMU https://netboot.xyz/docs/booting/qemu
Booting from TFTP Methods of booting into netboot.xyz using TFTP and DHCP https://netboot.xyz/docs/booting/tftp
Boot using VMware Using netboot.xyz in VMware to install a VM https://netboot.xyz/docs/booting/vmware
Booting from GRUB How to use GRUB to boot into netboot.xyz https://netboot.xyz/docs/booting/grub
On Debian/Ubuntu
# Install grub-imageboot
apt install grub-imageboot
# Download netboot.xyz ISO
mkdir /boot/images
cd /boot/images
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso
# Update GRUB menu to include this ISO
update-grub2
reboot
After reboot, select “Bootable ISO Image: netboot.xyz” in the GRUB menu.
If the GRUB menu disappears too quickly, you may need to edit /etc/default/grub and increase the GRUB_TIMEOUT.
Run update-grub2 any time you modify this file.
萌咖一键网络重装 - MoeClub
支持重装Windows
作者:https://moeclub.org
网页 https://github.com/MoeClub/Note/blob/master/InstallNET.sh
脚本 https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh
脚本 https://moeclub.org/attachment/LinuxShell/InstallNET.sh
特别注意 OpenVZ 构架不适用
全自动安装默认root密码: MoeClub.org,安装完成后请立即更改密码。
安装Debian11
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -a
(甲骨文机器需要后加 -firmware 额外的驱动支持)
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -a -firmware
萌咖大佬的一键DD脚本 - veip007
支持重装Windows
全自动安装默认root密码: MoeClub.org,安装完成后请立即更改密码。
能够全自动重装Debian/Ubuntu/CentOS等系统.
同时提供dd安装镜像功能,例如: 全自动无救援dd安装windows系统
全自动安装CentOS时默认提供VNC功能,可使用VNC Viewer查看进度,
VNC端口为 1 或者 5901 ,可自行尝试连接.(成功后VNC功能会消失.)
目前CentOS系统只支持任意版本重装为 CentOS 6.x 及以下版本.
特别注意:OpenVZ构架不适用.
这是一个一键网络重装脚本集合,集合了Linux和WIN包,
Linux:centos6-7; Ubuntu 14 16 18;Debian 7 8 9 10;
WIN:集合了”萌咖大佬、老司机、MeowLove ”的系统,包含win7 2003 2006 2012 2008 2016 2019等系统,当然也可以自定义。
傻瓜式一键脚本
镜像文件在OneDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-od.sh && chmod +x dd-od.sh && ./dd-od.sh
镜像文件在GoogleDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh
DD debin 10示例:
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/InstallNET.sh && chmod +x InstallNET.sh && ./InstallNET.sh -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
一些提示: 特别注意:
萌咖提供的dd安装镜像
远程登陆账号为: Administrator
远程登陆密码为: Vicer
仅修改了主机名,可放心使用.(建议自己制作.)
在dd安装系统镜像时:
在你的机器上全新安装,如果你有VNC,可以看到全部过程.
在dd安装镜像的过程中,不会走进度条(进度条一直显示为0%).完成后将会自动重启.
分区界面标题一般显示为: “Starting up the partitioner“
使用谷歌网盘中储存的镜像: [无限制大小] 获取谷歌网盘文件临时直接下载链接
在全自动安装CentOS时:
如果看到 “Starting graphical installation” 或者类似表达,则表示正在安装.
正常情况下只需要耐心等待安装完成即可.
如果需要查看进度,使用VNC Viewer(或者其他VNC连接工具)
连接提示中的IP地址:端口进行连接.(端口一般为1或者5901)
一键网络重装系统 - 魔改版 - cxthhhhh
支持重装Windows
https://github.com/MeowLove/Network-Reinstall-System-Modify
一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify)可以通过互联网重新安装Linux和Windows以及常用操作系统。
例如:CentOS、Debian、Ubuntu、Windows 2012R2、Windows Server 2019、Proxmox-VE、OpenWRT等常见系统,
还可以通过极客功能裸机系统部署平台挂载网络【ISO镜像】远程安装任何系统。
一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify),从MoeClub Vicer分支,
魔改版增加新功能修复Bug后,由CXT - Enjoy Life | 自天佑之,吉无不利提供维护和支持。(更多功能陆续更新中)
问:系统安装的默认密码?
答:通常情况下,默认密码为[cxthhhhh.com]。为了防止暴力破解造成安全隐患,您必须在安装后立即更改默认密码,并做好安全防护!
问:官方发布、使用教程、交流社区在哪里?
答:官方发布(Release)https://www.cxthhhhh.com/network-reinstall-system-modify
使用教程(Tutorials)https://www.cxthhhhh.com
社区交流(Forum)https://bbs.cxthhhhh.com
25合1 全自动一键网络重装脚本(DD脚本)
支持重装Windows
安装重装系统的前提组件:
# Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file wget screen && screen -S os
apt update -y && apt dist-upgrade -y
# RedHat/CentOS:
yum install -y xz openssl gawk file glibc-common wget screen && screen -S os
yum makecache && yum update -y
如果出现异常,请刷新Mirrors缓存或更换镜像源。
DD 命令:
wget --no-check-certificate -O NewReinstall.sh https://git.io/newbetags && chmod a+x NewReinstall.sh && bash NewReinstall.sh
如为CN主机(部分主机商已不能使用),可能出现报错或不能下载脚本的问题,可执行以下命令开始安装.
wget --no-check-certificate -O NewReinstall.sh https://cdn.jsdelivr.net/gh/fcurrk/reinstall@master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh
经测试在谷歌云原版系统基础上DD会出现自动获取的子网掩码为255.255.255.255,
如出现这种情况需要手工输入改正为正确的如255.255.255.0,否则会安装完成主机可能会离线。
Oracle Cloud(甲骨文云)可选择23-25一键DD,注意基础系统最好选择Ubuntu,如原系统是CentOS可能无法成功。
一键DD脚本 - haoduck
支持重装Windows
全自动安装默认ROOT密码: haoduck.com
支持自定义ROOT密码、SSH端口(Linux)
支持 Debian11/10/9 支持 Ubuntu20.04/18.04/16.04 支持 CentOS8/7/6 支持 Windows7/8,Server2019/2016/2012/2008/2003等
部分Win镜像支持UEFI(甲骨文)有标注
特别注意:OpenVZ构架不适用.
谷歌云GCP使用时需要把掩码手动改为255.255.255.0
部分代码copy自 https://github.com/veip007/dd 以及 https://github.com/hiCasper/Shell 。
主要是添加了自定义ROOT密码和SSH端口,有现成的代码就偷懒了。
curl -sSL -k -o dd.sh https://raw.githubusercontent.com/haoduck/dd/master/dd.sh && chmod +x dd.sh && bash dd.sh
curl -sSL -k -o dd.sh https://fastly.jsdelivr.net/gh/haoduck/dd@latest/dd.sh && chmod +x dd.sh && bash dd.sh
本文转自:https://hostloc.com/thread-1060940-1-2.html