[Guide] DietPi on ProxMox

Guides and tutorials for various stuff. Posted by DietPi users.
Galvinized83
Posts: 8
Joined: Sat Jun 22, 2019 3:53 am

Re: [Guide] DietPi on ProxMox

Post by Galvinized83 »

MichaIng wrote: Thu Sep 16, 2021 8:41 am I'm thinking about providing a Proxmox image
That would be awesome
User avatar
murphydoe
Posts: 12
Joined: Tue May 04, 2021 7:22 am

Re: [Guide] DietPi on ProxMox

Post by murphydoe »

I would also be pleased !
maybe you could do it like here ?
https://github.com/ej52/proxmox-scripts ... /README.md

I use this because Nginx Proxy Manager under Docker always refuses to work after some time.

As a whole VM, Dietpi unfortunately consumes too much of my little space. There are a few things that should run in their own container.
rafiki
Posts: 1
Joined: Fri Nov 19, 2021 4:36 pm

Re: [Guide] DietPi on ProxMox

Post by rafiki »

I've tried this guide on Proxmox 7.1, but fails everytime, changed all settings. No luck

After many tries I got it working..

The steps I took:

I Installed NetDebian Image, all standard settings
Upped memory and started install
I dont need a GUI, just standard system utilities & openSSH server

You have to edit SSH to use Putty
In the proxmox console enter nano /etc/ssh/sshd_config
find PermitRootLogin and remove the #
change PermitRootLogin prohibit-password to PermitRootLogin yes
Save with CTRL X, Y,enter
restart SSH with /etc/init.d/ssh restart

get IP with ip a
Use Putty to login

After login
enter apt update
enter apt install -y curl ca-certificates systemd-sysv
enter bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/Micha ... _DIETPI.sh')"
select master image
enter a name
enter a pre-image name -> debian
select nr. 20 - x86_64 Virtual Machine
choose Wifi if you need it
choose Bullseye
sit back and relax.
finished? then reboot
Done, DietPi on Proxmox
User avatar
murphydoe
Posts: 12
Joined: Tue May 04, 2021 7:22 am

Re: [Guide] DietPi on ProxMox

Post by murphydoe »

please excuse my asking:
you have installed it as VM and not as LXC container ?

You're right - it really doesn't work with the current image. But with the one from Buster it does:
DietPi_NativePC-BIOS-x86_64-Buster_Installer
You just have to update everything...

While I'm here:
@MichaIng
Where can I download older versions ?
I have already searched for it
User avatar
Joulinar
Posts: 6457
Joined: Sat Nov 16, 2019 12:49 am

Re: [Guide] DietPi on ProxMox

Post by Joulinar »

We don't offer older images by purpose. There is nothing like an archive.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3516
Joined: Sat Nov 18, 2017 6:21 pm

Re: [Guide] DietPi on ProxMox

Post by MichaIng »

Instead of building images with outdated Debian versions, which will cause you issues and us additional support efforts in the mid/long term, probably you guys want to help debugging why it doesn't work with the current Bullseye image? E.g. providing error messages, details what/where exactly it "doesn't work" or so? Just an idea :).
User avatar
murphydoe
Posts: 12
Joined: Tue May 04, 2021 7:22 am

Re: [Guide] DietPi on ProxMox

Post by murphydoe »

You are right.
I should have posted that - sorry
I promise to do better ;)

the problem with Proxmox (v.6.4) is, that the bullseye version doesn't give an error message and simply aborts the hard disk scan. dietpi is my absolute favourite, but it couldn't be reinstalled. luckily I still had the buster version and it ran through. then update everything again and I'm back with you.
Post Reply