安装重装系统的前提组件

# RedHat/CentOS
yum install -y xz openssl gawk file
#  Debian/Ubuntu
apt-get install -y xz-utils openssl gawk file

如果出现异常,请刷新Mirrors缓存或更换镜像源
# RedHat/CentOS:
yum makecache && yum update -y
#  Debian/Ubuntu
apt update -y && apt dist-upgrade -y

然后

https://raw.githubusercontent.com/veip007/dd/master/dd-od.sh && chmod +x dd-od.sh && ./dd-od.sh