The officially official Devuan Forum!

You are not logged in.

#1 2020-08-28 19:42:29

x12a1f
Member
Registered: 2020-07-27
Posts: 7  

simple method for installing a couple of devuan virtual machines

Hi,

I'm trying to figure out how to install a couple of devuan (bare minimum) virtual machines. I like to avoid having to actually run the devuan installer on each virtual machine. Just run a command and there is a new devuan virtual machine which is configured (IP address etc) and ready to start.

On debian i've used xen-create-image, but devuan is not supported.
I've looked at disk-image-create and various other tools but I could not find one which supports devuan.

I came across https://git.devuan.org/devuan-sdk/vm-sdk.git but when I tried that it complained about dpkgdivert missing and some other errors.
I think this one looks promising but the documentation is very poor so I'm kind of lost on how to use it an how to diagnose those errors.

Is there any tool which can create a devuan virtual machine? Either KVM or Xen would be ok.

Thanks.

Offline

#2 2020-08-28 20:08:25

x12a1f
Member
Registered: 2020-07-27
Posts: 7  

Re: simple method for installing a couple of devuan virtual machines

After having a look in /usr/share/xen-tools/debian.d it looks trivial to add support for devuan to xen-create-image so I think I'm going to try that first.

Offline

#3 2020-08-28 20:14:13

x12a1f
Member
Registered: 2020-07-27
Posts: 7  

Re: simple method for installing a couple of devuan virtual machines

Offline

#4 2020-08-29 09:38:18

Geoff 42
Member
Registered: 2016-12-15
Posts: 366  

Re: simple method for installing a couple of devuan virtual machines

Those instructions were written around five years ago. One thing which I spotted is that the mirror should probably be updated from :-

mirror = http://packages.devuan.org/merged

to:-

mirror = http://deb.devuan.org/merged

Geoff

Offline

#5 2020-08-29 15:51:44

Geoff 42
Member
Registered: 2016-12-15
Posts: 366  

Re: simple method for installing a couple of devuan virtual machines

The first few posts in the thread "Xen and the art of VM" describe using debootstrap to install an image.

https://dev1galaxy.org/viewtopic.php?id=2556

The thread then goes off describing how to try out other ways of installing, if you want to look at installers!

I hope that the first few posts are still relevant.

Geoff

Offline

#6 2020-08-30 14:21:52

x12a1f
Member
Registered: 2020-07-27
Posts: 7  

Re: simple method for installing a couple of devuan virtual machines

Thanks! I'll read them and try to get something working.

Offline

#7 2020-09-03 11:39:43

aladedragon
Member
Registered: 2017-10-20
Posts: 6  

Re: simple method for installing a couple of devuan virtual machines

x12a1f wrote:

Hi,

I'm trying to figure out how to install a couple of devuan (bare minimum) virtual machines. I like to avoid having to actually run the devuan installer on each virtual machine. Just run a command and there is a new devuan virtual machine which is configured (IP address etc) and ready to start.
[...]

Thanks.

Hello
I use vagrant, wich is very easy to use with Vbox provider and also posible to do it with Kvm witha bit of love.

there are some boxes ready for use:

https://app.vagrantup.com/boxes/search? … =&q=devuan

http://mirror.fra10.de.leaseweb.net/dev … agrant.box

o/

Offline

#8 2020-09-06 20:08:35

x12a1f
Member
Registered: 2020-07-27
Posts: 7  

Re: simple method for installing a couple of devuan virtual machines

Geoff 42 wrote:

The first few posts in the thread "Xen and the art of VM" describe using debootstrap to install an image.

https://dev1galaxy.org/viewtopic.php?id=2556

I used the method described here to install a xen image. Works very well. Thanks.

Offline

Board footer