# Trying to run DietPi on a VPS

**URL:** <https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668>\
**Category:** Troubleshooting\
**Created:** [16 December 2019 18:36 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668 "2019-12-16T18:36:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyjohnny](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/f08c70/32.png) [@cyjohnny](https://dietpi.com/forum/u/cyjohnny)\
**Post date:** [16 December 2019 18:36 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/1 "2019-12-16T18:36:37Z")

</div>

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 ([PREP\_SYSTEM\_FOR\_DIETPI.sh | Automate · Issue #1285 · MichaIng/DietPi · GitHub](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](https://dietpi.com/forum/uploads/default/original/2X/f/fa3f7c353949df8939fc83420b7f5dd88e7a6ca6.jpeg)  
Has anyone any idea how to solve this?

Thanks and best regards  
johnny

---

<div class="post-metadata">

**Author:** ![cyjohnny](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/f08c70/32.png) [@cyjohnny](https://dietpi.com/forum/u/cyjohnny)\
**Post date:** [3 March 2020 08:49 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/2 "2020-03-03T08:49:25Z")

</div>

any idea, someone?

---

<div class="post-metadata">

**Author:** ![WarHawk](https://dietpi.com/forum/user_avatar/dietpi.com/warhawk/32/21_2.png) [@WarHawk](https://dietpi.com/forum/u/WarHawk)\
**Post date:** [4 March 2020 03:53 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/3 "2020-03-04T03:53:32Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![cyjohnny](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/f08c70/32.png) [@cyjohnny](https://dietpi.com/forum/u/cyjohnny)\
**Post date:** [4 March 2020 09:17 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/4 "2020-03-04T09:17:58Z")

</div>

unfortunately, there is not much to set. Or what exactly do you mean?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [4 March 2020 18:10 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/5 "2020-03-04T18:10:11Z")

</div>

probably something to discuss with IONOS. Probably there are some condition needed to start a VM on their platform.

---

<div class="post-metadata">

**Author:** ![zhage](https://dietpi.com/forum/user_avatar/dietpi.com/zhage/32/56_2.png) [@zhage](https://dietpi.com/forum/u/zhage)\
**Post date:** [29 April 2020 10:21 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/6 "2020-04-29T10:21:47Z")

</div>

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:

```nohighlight
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!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [18 May 2020 10:36 UTC](https://dietpi.com/forum/t/trying-to-run-dietpi-on-a-vps/3668/7 "2020-05-18T10:36:30Z")

</div>

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/issues/1285#issuecomment-629822409](https://github.com/MichaIng/DietPi/issues/1285#issuecomment-629822409)
