[PVE] 曲线安装PVE6.3
自用是一台i3-5010U的小主机,安装PVE6.3出现白屏
白屏时现象:有鼠标,鼠标右键有弹出菜单,折腾过如下方法,来自网上各个帖子与尝试,均失败
先用的HDMI,失败
换成VGA,失败
两个屏幕同时插,失败
从bios中,将Graphic设定为LVDS,甭管是最高分辨率还是最低分辨率,直接不亮了,失败中的失败,都要重新给bios放电重置
用ventoy启动,失败
烧录u盘,用u盘启动,失败
白屏后 按alt 或 ctrl 尝试拖界面,失败
升级pve到6.3
参考的是这篇文章 https://blog.51cto.com/tasnrh/2423364
换国内源 更新vpe5.4
echo "deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free" > /etc/apt/sources.list
或者换 163的源
cat > /etc/apt/sources.list <<EOF
deb http://mirrors.163.com/debian/ buster main non-free contrib
deb http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ buster main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib
EOF
修改pve 5.x 更新源地址为 no subscription,不使用企业更新源
echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/pve/ stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-no-sub.list
关闭pve 5.x企业更新源
sed -i.bak 's|deb https://enterprise.proxmox.com/debian stretch pve-enterprise|# deb https://enterprise.proxmox.com/debian stretch pve-enterprise|' /etc/apt/sources.list.d/pve-enterprise.list
修改 ceph镜像更新源
echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous stretch main" >> /etc/apt/sources.list.d/ceph.list
开始更新即可
apt update && apt dist-upgrade
升级Corosync到Corosync 3
关闭高可用服务,只有一台pve的可以忽略。
systemctl stop pve-ha-lrm
systemctl stop pve-ha-crm
添加Proxmox Corosync 3 Stretch存储库
echo“deb http://mirrors.ustc.edu.cn/proxmox/debian/corosync-3/ stretch main”> /etc/apt/sources.list.d/corosync3.list
运行命令更新
apt update
根据官方手册支持执行:
apt list --upgradeable
apt dist-upgrade --download-only
apt dist-upgrade
如果关闭了高可用服务的在更新完毕后需要重新启动高可用服务
systemctl start pve-ha-lrm
systemctl start pve-ha-crm
升级pve到6.3
执行以下更新命令确保最新:
apt update
apt dist-upgrade
执行镜像源更新命令,将Debian的镜像源更换为升级源
sed -i 's/stretch/buster/g' /etc/apt/sources.list
添加Proxmox VE 6的镜像存储库地址
echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription " > /etc/apt/sources.list.d/pve-no-sub.list
修改其他镜像源的升级包地址
sed -i -e 's/stretch/buster/g' /etc/apt/sources.list.d/pve-install-repo.list
修改Ceph的升级包地址
echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous buster main" > /etc/apt/sources.list.d/ceph.list
开始运行更新命令
apt update
apt dist-upgrade
在更新的过程中会出现几次输入的交互,第一次提示apt相关信息,输入Q退出继续执行更新,后续直接确认回车即可。
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。