Trying to run DietPi on a VPS Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
cyjohnny
Posts: 7
Joined: Mon Dec 16, 2019 7:19 pm

Trying to run DietPi on a VPS

Post 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
cyjohnny
Posts: 7
Joined: Mon Dec 16, 2019 7:19 pm

Re: Trying to run DietPi on a VPS

Post by cyjohnny »

any idea, someone?
User avatar
WarHawk
Posts: 622
Joined: Thu Jul 20, 2017 8:55 am

Re: Trying to run DietPi on a VPS

Post 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?
cyjohnny
Posts: 7
Joined: Mon Dec 16, 2019 7:19 pm

Re: Trying to run DietPi on a VPS

Post by cyjohnny »

unfortunately, there is not much to set. Or what exactly do you mean?
User avatar
Joulinar
Posts: 2304
Joined: Sat Nov 16, 2019 12:49 am

Re: Trying to run DietPi on a VPS

Post by Joulinar »

probably something to discuss with IONOS. Probably there are some condition needed to start a VM on their platform.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
zhage
Posts: 2
Joined: Sat Nov 02, 2019 11:51 pm

Re: Trying to run DietPi on a VPS

Post 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!
User avatar
Joulinar
Posts: 2304
Joined: Sat Nov 16, 2019 12:49 am

Re: Trying to run DietPi on a VPS

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply