[TUTORIAL] Proxmox on RISC-V

liberodark

Member
Apr 26, 2021
112
24
23
31
Hi,

Want to share my PoC of PVE on RISC-V hardware.
I have created cluster of risc-v hardware, also have make tutorial for install proxmox on PVE from PVE Port Project.
So i want to share that for users & dev want to work on this hardware too.
I think is important to support RISCV64 or ARM64 architecture to improve the possibility of PVE.
That what i want to share some links for that.
Also if you want to speak about RISC-V im available.

How to Install PVE on RISC-V (This is not official source of PVE !!!)

Hi,
Here's how to install proxmox on armbian for example.
Compatible with the following Boards :

StarFive Vision 2 (riscv64)

Connexion SSH :
ssh root@192.168.0.10
password : 1234

In our example the board uses the following IP : 192.168.0.10

Update your OS :
Code:
apt update
apt dist-upgrade -y

Add your host name :
nano /etc/hosts
change 127.0.1.1 starfive by 192.168.0.10 starfive

Add the GPG Key :
curl https://global.mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg

Add the repository Proxmox :
nano /etc/apt/sources.list.d/pveport.list

Code:
deb [arch=riscv64] https://global.mirrors.apqa.cn/proxmox/debian/pve sid port
#deb [arch=riscv64] https://global.mirrors.apqa.cn/proxmox/debian/pve sid ceph-reef
#deb [arch=riscv64] https://global.mirrors.apqa.cn/proxmox/debian/pbs sid port
#deb [arch=riscv64] https:global.mirrors.apqa.cn/proxmox/debian/kernel sid port

Install ifupdown2 :
apt update && apt install -y ifupdown2

Install Proxmox :
Code:
mkdir -p /var/log/ceph
apt install -y proxmox-ve postfix open-iscsi

Configure the Network :

ip a

The interface of my board is : end0 (This is the right port)

nano /etc/network/interfaces

Code:
auto lo
iface lo inet loopback

iface end0 inet manual

iface end1 inet dhcp

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.10/24
        gateway 192.168.0.1
        bridge-ports end0
        bridge-stp off
        bridge-fd 0

apt remove -y resolvconf rdnssd (If one of the packages is installed)
systemctl disable --now pve-firewall (Fixes an iptables_restore_cmdlist issue)
PS : Have fixed this issue on my personal build of pve-firewall.

Reboot the board
reboot -f

Configure Proxmox :
https://192.168.0.10:8006

Repo LXC RISCV64 :
https://e.pcloud.link/publink/show?code=kZYRi1ZVlxOsHWi0zudLqraNUbWckfjIIB7 (Mirroir)

Download Debian :
mkdir -p /var/lib/vz/template/cache
https://e.pcloud.link/publink/show?code=XZbzr1ZKJ700sh96l42U6kiUa2YUzsq4azX

**Create a Debian LXC :
Code:
pct create 200 --rootfs local:10 \
--hostname debian-bullseye \
--password linux \
local:vztmpl/debian-sid-default_20240103_riscv64.tar.xz

pct start 200 && pct enter 200

Here you have installed Proxmox !


Best Regards


Original tutorial for Install PVE on RISC-V (French)
https://forum.linuxos.ovh/d/202-installer-proxmox-sur-riscv64

Useful links :
https://www.reddit.com/r/RISCV/comments/1bupcwn/pve_on_riscv/
https://github.com/jiangcuo/Proxmox-Port
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!