Jump to content

14.DD自己做的CentOS 8鏡像


Jack

Recommended Posts

----------------------------
DD 出現 Error! grub.cfg
----------------------------

在DD之前,如果你的VPS為CentOS 8,應該會出現這個錯誤 Error! grub.cfg

請將你的VPS reinstall CentOS 7

 


-----------------------------------
VPS要DD之前,先安裝這些
-----------------------------------

yum install -y xz openssl gawk file glibc-common wget screen && screen -S os

sudo yum -y install epel-release

sudo yum -y install screen

sudo yum -y install tar

sudo yum -y install zip unzip

yum makecache

 

下載DD腳本
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options

 

Enter the System Identification Nnumber (for example: 00)
選擇自定義DD鏡像,按 ctrl + z 離開
 

 

DD腳本已存放在 /root/,所以直接下命令
bash Network-Reinstall-System-Modify.sh -DD http://你第2台VPS的IP/vultr.vhd.gz
 

 

稍候一下,SSH將斷線

 


瀏覽器到阿里雲輕量 -> 远程连接 -> 救援 -> 救援连接

下一步 -> 重置救援连接密码 -> 輸入自定義密碼 -> 確定

救援连接密码 -> 輸入你的自定義密碼 -> 連接
 

可以看到DD過程

Starting up the partitioner
0%
Please wait...

 

請耐心等待DD完成,大約等待30分鐘 ~ 1小時

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...