1、通过面板启动救援模式,记住登录密码,用于救援模式和安装后的PVE7。
2、重新启动服务器
3、通过 ssh root@10.11.12.13 连接服务器的救援系统,密码为启动救援模式生成的密码。
Linux rescue 5.19.11 #1 SMP Mon Sep 26 04:42:52 UTC 2022 x86_64
-------------------------------------------------------------------------------------------------------------------------
Welcome to the Hetzner Rescue System.
This Rescue System is based on Debian GNU/Linux 11 (bullseye) with a custom kernel.
You can install software like you would in a normal system.
To install a new operating system from one of our prebuilt images, run 'installimage' and follow the instructions.
Important note: Any data that was not written to the disks will be lost during a reboot.
For additional information, check the following resources:
Rescue System: https://docs.hetzner.com/robot/dedicated-server/troubleshooting/hetzner-rescue-system
Installimage: https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage
Install custom software: https://docs.hetzner.com/robot/dedicated-server/operating-systems/installing-custom-images
other articles: https://docs.hetzner.com/robot
-------------------------------------------------------------------------------------------------------------------------
Rescue System up since 2022-12-10 22:13 +01:00
Hardware data:
CPU1: AMD Ryzen 5 3600 6-Core Processor (Cores 12)
Memory: 64250 MB
Disk /dev/nvme0n1: 512 GB (=> 476 GiB)
Disk /dev/sda: 6001 GB (=> 5589 GiB)
Disk /dev/sdb: 6001 GB (=> 5589 GiB)
Total capacity 11 TiB with 3 Disks
Network data:
eth0 LINK: yes
MAC: de:ad:be:ef:de:ad
IP: 10.11.12.13
IPv6: 2a01:4f9:1a:dead::2/64
Intel(R) Gigabit Ethernet Network Driver
root@rescue ~ #
4、开始安装 PVE7
root@rescue ~ # installimage
编辑主机名和磁盘分区等信息,F10 保存退出编辑器。
参考:https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/
Hetzner Online GmbH - installimage
Your server will be installed now, this will take some minutes
You can abort at any time with CTRL+C ...
: Reading configuration done
: Loading image file variables done
: Loading debian specific functions done
1/15 : Deleting partitions done
2/15 : Test partition size done
3/15 : Creating partitions and /etc/fstab done
4/15 : Formatting partitions
: formatting /dev/nvme0n1p1 with ext3 done
: formatting /dev/nvme0n1p2 with swap done
: formatting /dev/nvme0n1p3 with ext4 done
5/15 : Mounting partitions done
6/15 : Sync time via ntp done
: Importing public key for image validation done
7/15 : Validating image before starting extraction done
8/15 : Extracting image (local) done
9/15 : Setting up network config done
10/15 : Executing additional commands
: Setting hostname done
: Generating new SSH keys done
: Generating ramdisk done
: Generating ntp config done
11/15 : Setting up miscellaneous files done
12/15 : Configuring authentication
: Setting root password done
: Enabling SSH root login with password done
13/15 : Installing bootloader grub done
14/15 : Running some debian specific functions done
15/15 : Clearing log files done
: Executing post installation script
----- Update and upgrade system, please wait ... -----
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
... ... ... ... ... ... ... ... ... ... ... ... ... ...
----- Done installing Proxmox VE -----
INSTALLATION COMPLETE
You can now reboot and log in to your new system with the
same credentials that you used to log into the rescue system.
5、重启系统
root@rescue ~ # shutdown -r now
如果无效,通过面板重启。
6、通过 ssh root@10.11.12.13 连接服务器,密码和救援模式密码相同。
7、通过 https://10.11.12.13:8006 连接Proxmox Web GUI,使用 root 和 救援模式密码登录。