Page 1 of 1

Trying to run DietPi on a VPS

Posted: Mon Dec 16, 2019 7:36 pm
by cyjohnny
Hi all,

I would like to run DietPi on a VPS Server at IONOS (former 1&1, a Hoster in Germany).

As they offer installing from own images (Supported file types: .vdi, .qcow, .qcow2, .vhd, .vhdx and .vmdk), I first tried installing the pre-built DietPi image for VMware as it is a vmdk-File but it did not work - same error as shown below.

Then I tried converting the ready-to-run image of Debian 10 offered by IONOS themselves to transform this into DietPi with the PREP_SYSTEM_FOR_DIETPI.sh thing (https://github.com/MichaIng/DietPi/issues/1285).

The installation itself went through without any errors, but after reboot it is stuck with the same error as when installing the VMDK-File.
Please see the attached screenshot from the virtual KVM-Console.
KVM.JPG
Has anyone any idea how to solve this?

Thanks and best regards
johnny

Re: Trying to run DietPi on a VPS

Posted: Tue Mar 03, 2020 9:49 am
by cyjohnny
any idea, someone?

Re: Trying to run DietPi on a VPS

Posted: Wed Mar 04, 2020 4:53 am
by WarHawk
One of the DEV's should pop in soon

I have never run it in a virtual machine so I don't know how it would work...did you go thru the virtual machine and ensure all the options are set correctly?

Re: Trying to run DietPi on a VPS

Posted: Wed Mar 04, 2020 10:17 am
by cyjohnny
unfortunately, there is not much to set. Or what exactly do you mean?

Re: Trying to run DietPi on a VPS

Posted: Wed Mar 04, 2020 7:10 pm
by Joulinar
probably something to discuss with IONOS. Probably there are some condition needed to start a VM on their platform.

Re: Trying to run DietPi on a VPS

Posted: Wed Apr 29, 2020 12:21 pm
by zhage
Did you solve your Problem with ionos?

I have the same Problem.

EDIT:

This is the device mounts on a freshly installed Debian 10 Ionos VPS:

Code: Select all

root@localhost:~# df -h
Filesystem             Size  Used Avail Use% Mounted on
udev                   214M     0  214M   0% /dev
tmpfs                   46M  5.2M   41M  12% /run
/dev/mapper/vg00-lv01  7.5G  1.3G  5.9G  18% /
tmpfs                  230M     0  230M   0% /dev/shm
tmpfs                  5.0M     0  5.0M   0% /run/lock
tmpfs                  230M     0  230M   0% /sys/fs/cgroup
/dev/sda1              464M   84M  352M  20% /boot
tmpfs                   46M     0   46M   0% /run/user/0
So it seems that the Script renames the "dev/mapper/vg00-lv01" or changes the mountpoint to /?!

I think this could be solved in the Debian->DietPi Conversion Script somehow?!
Would be really nice if we could get dietpi working on ionos VPS.

Thanks in advance for any help!

Re: Trying to run DietPi on a VPS

Posted: Mon May 18, 2020 12:36 pm
by Joulinar
Hi Guys,

@MichaIng was able to provide the needed steps to be able to run at IONOS. Basically it started at the the following on GitHub https://github.com/MichaIng/DietPi/issu ... -629822409