Proxmox VE 9 U 盘安装

作者: MakerNeo
最后更新: 2026-04-05 15:51:05
标签:

Index

Proxmox VE 9 U 盘安装

Proxmox VE 9 镜像下载

下载链接:https://www.proxmox.com/en/downloads/proxmox-virtual-environment/iso/proxmox-ve-9-0-iso-installer

U 盘镜像写入

使用 dd 命令制作 PVE(Proxmox VE)安装启动盘的步骤如下,适用于 Linux、macOS 或 WSL(Windows Subsystem for Linux)环境:


✅ 准备工作

  1. 下载 PVE ISO 镜像
    从官网获取最新版 ISO 文件:
    https://www.proxmox.com/en/downloads

  2. 插入 U 盘(≥8GB)
    确保 U 盘中无重要数据,后续操作会清空所有数据


✅ 使用 dd 命令制作启动盘(Linux/macOS)

  1. 确认 U 盘设备名
    打开终端,执行:

    lsblk

    或 macOS 下:

    diskutil list

    找到你的 U 盘,比如 /dev/sdX(Linux)或 /dev/disk2(macOS)。注意:不要选错盘符,否则会清空系统盘!

  2. 卸载 U 盘(重要)
    Linux:

    sudo umount /dev/sdX*

    macOS:

    diskutil unmountDisk /dev/diskX
  3. 写入镜像到 U 盘

    sudo dd if=./proxmox-ve_9.x-x.iso of=/dev/sdX bs=4M status=progress

    macOS 建议使用:

    sudo dd if=./proxmox-ve_9.x-x.iso of=/dev/rdiskX bs=1m
    • if= 后面是 ISO 文件路径
    • of= 后面是 U 盘设备路径
    • bs=4M 可加快写入速度
    • 写入完成后,执行:
      sync

✅ 启动安装

  1. 插入制作好的 U 盘到目标机器
  2. 开机按 F12 / ESC / DEL 进入 BIOS 或启动菜单
  3. 选择 U 盘启动
  4. 进入 Install Proxmox VE 安装界面,按提示完成安装即可

⚠️ 注意事项

  • 确认设备路径dd 命令无提示直接执行,写错盘会导致数据丢失。
  • 不要使用分区名(如 /dev/sdX1),应使用整个设备(如 /dev/sdX)。
  • Windows 用户建议使用 Rufus,选择 DD模式

如你不熟悉命令行,也可以使用图形工具如 Balena EtcherRufus(Windows)来完成制作,效果和 dd 相同。

替换 debian 源

因为底层是 debian,为了加快速度可以替换为阿里云的源, 打开/etc/apt/source.list 写入下面内容接口。

deb http://mirrors.aliyun.com/debian/ trixie main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ trixie main non-free contrib
deb http://mirrors.aliyun.com/debian-security/ trixie-security main
deb-src http://mirrors.aliyun.com/debian-security/ trixie-security main
deb http://mirrors.aliyun.com/debian/ trixie-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ trixie-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ trixie-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ trixie-backports main non-free contrib

然后执行 apt-get update 即可

开启 IPv6

vim /etc/sysctl.conf 输入一下内容

net.ipv6.conf.all.accept_ra=2
net.ipv6.conf.default.accept_ra=2
net.ipv6.conf.vmbr0.accept_ra=2
net.ipv6.conf.all.autoconf=2
net.ipv6.conf.default.autoconf=2
net.ipv6.conf.vmbr0.autoconf=2

然后执行sysct -p;systemctl restart networking 即可。

确认网卡 IPv6 是否获取成功 ip a

10: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:f0:d2:d0:9a:b3 brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.2/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 240e:389:eb1:92e0:2f0:d2ff:fed0:9ab3/64 scope global dynamic mngtmpaddr proto kernel_ra 
       valid_lft 237976sec preferred_lft 151576sec
    inet6 fe80::2f1:d2ff:fed0:9ab3/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

inet6 以240e开始则说明已经获取成功公网 ipv6 地址。