Few days ago I wrote about ESXi on RPi,  as an another popular virtualization platform, Proxmox VE(or PVE) can also be installed on a Raspberry Pi 4 with Pimox, and the installation process is quite simpler than ESXi’s.

Content below shows how to install Proxmox VE on a Raspberry Pi 4 (8GB).

Preparation

  • A RPi 4
    • Although it’s not recommended by the repo author, it is possible to run on a RPi 3B+. If you want to try it, please check this issue.
  • A microSD card with arm64 Raspbian installed
    • The arm64 Raspbian can be downloaded here, the latest version should be fine.
    • PVE itself does not require much of the space, a 16GB card will be enough. If you want to run multiple VMs you should get bigger card, but considering the max speed of a SD card, adding other USB drives would be more suitable.
    • I originally tried to install on Debian Bullseye as the repository suggests, but as always (why do bad things happen to good people) —— it didn’t work somehow(I’m tired of saying this): the pve-* packages can’t be configured properly.
  • Power supply, type-c cable, keyboard, monitor, micro HDMI cable, Ethernet cable

Reference

Steps

Make sure you flashed arm64 Raspbian to the SD card, plug the card into RPi, then boot it up.

Follow instructions must be performed locally(as in monitor and keyboard) not remotely(like SSH), since the installation will stop/start network interfaces.

Network configuration

Static IP address

On Debian Bullseye, network interfaces configuration can be handled by editing /etc/network/interfaces and ifup/ifdown. Although Raspbian is based on Debian, its networking can’t be handled by that out-of-the-box, we have to edit /etc/dhcpcd.conf instead.

Find the interface sector in /etc/dhcpcd.conf, uncomment the lines and change it according to your condition.

Save the config file, execute

systemctl restart dhcpcd.service

Hostname and hosts file

Edit /etc/hostname if you want to customize Pi’s name.

Then make sure you have the corrent IP – Hostname bond record in /etc/hosts: the record’s IP is your previously configured static IP and the Hostname is the RPi’s.

Then you can try to ping your Pi’s hostname to check the connection.

Installing PVE

Continue reading “Proxmox VE on Raspberry Pi 4 with Pimox”

wor-flasher 是方便在 Raspbian 下创建树莓派 Windows Arm 系统盘的脚本工具,理论上支持所有 Debian 系发行版,其 UEFI 固件使用了 pftf 的树莓派 3/4 固件

wor-flasher 使树莓派安装 Windows 的操作变得十分简单,此外,通过 wor-flasher 可以直接使用树莓派构建 Windows,无需额外电脑

下文将展示如何使用 wor-flasher 在树莓派上安装 Windows 11(Windows 10 同理)

准备

请仔细阅读本小节内容,树莓派 Windows 的安装过程十分漫长,尽量保证不出现硬件问题以免从头再来

  • 树莓派 3/4
    • 下文使用树莓派4 8GB 版本
  • 安装了 Raspbian 的 microSD  卡
    • SD 卡仅用来安装 Raspbian 并运行 wor-flasher 脚本,容量达到 Raspbian 的要求即可
  • 一个 U 盘或硬盘
    • 用来安装 Windows,容量需要大于 25 GB
    • 建议配合 SATA 转 USB 线使用 SSD,U 盘的质量良莠不齐,一些发热、减速 U 盘会使安装过程极其漫长
    • 使用硬盘时,请确保转接线是 SATA 直接转 USB,硬盘盒可能无法安装,因为分区表可能会无法写入磁盘
    • 使用 HDD 时,即使是 2.5 寸也建议连接独立电源,HDD 的 USB 供电会影响树莓派本身的供电电压,会造成树莓派电压不足
  • HDMI线,显示器,电源,键盘和鼠标

参考

步骤

将 SD 卡插入树莓派,上电开机进入 Raspbian

更新 EEPROM

打开终端,执行

sudo rpi-eeprom-update
sudo rpi-eeprom-update -a
reboot

获取 wor-flasher

git clone https://github.com/Botspot/wor-flasher

安装 Windows Arm

将 U 盘/硬盘插入树莓派

安装时需要连接 worproject.ml 下载文件,确保树莓派可以连接此网站

Continue reading “wor-flasher – 树莓派运行 Windows 10/11”