You are not logged in.

#1 2012-12-15 18:09:46

galanom
Member
Registered: 2012-12-15
Posts: 2

Can I install Arch on a OpenVZ VM?

Hi,
I have a VPS to a provider that uses OpenVZ but does not have images of Arch.
I chose Debian, is there a way to transform it to Arch?
Thank you!

Offline

#2 2012-12-15 18:14:36

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: Can I install Arch on a OpenVZ VM?

Since OpenVZ uses an external kernel, I'm not sure.

Try it.

Your kernel need to be i686 or x86_64. Read this: https://wiki.archlinux.org/index.php/In … ting_Linux

I recommend you method 3. But, while I have done the steps of that guide over debian and fedora, I haven't tried on OpenVZ virtualization.

So, its on your own risk.

Last edited by chris_l (2012-12-15 18:16:55)


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#3 2012-12-15 18:25:20

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Can I install Arch on a OpenVZ VM?

That depends. Which kernel does the host system run on? Our glibc needs at least Version 2.6.32 and systemd requires at least 2.6.39. Of course these requirements will get bumped in future.

Offline

#4 2012-12-15 18:31:26

galanom
Member
Registered: 2012-12-15
Posts: 2

Re: Can I install Arch on a OpenVZ VM?

Pierre wrote:

That depends. Which kernel does the host system run on? Our glibc needs at least Version 2.6.32 and systemd requires at least 2.6.39. Of course these requirements will get bumped in future.

Hi,
Thank you guys for the fast replies.

The uname says:
Linux vps 2.6.32-042stab065.3 #1 SMP

Offline

#5 2012-12-15 18:48:29

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Can I install Arch on a OpenVZ VM?

In that case I would not recommend running Arch.

Offline

#6 2012-12-15 19:28:30

Lynden
Member
Registered: 2011-11-10
Posts: 23

Re: Can I install Arch on a OpenVZ VM?

I've tried it a few times over the past 6ish months. While it does work with some workarounds at first, eg glibc needs to stay at a certain version, it will break on it's own after a week or two.
Nothing changed on the VPS' as far as I'm aware, but logging breaks, the filesystem constantly switches to read only, etc.

I switched to XEN last month though and it works awesomely. So I suggest XEN if you want Archlinux, else pick a more supported openvz os.

If you do go XEN or really want to try OpenVZ I suggest you go with a provider that offers at least 2012.09 as install image. Any image dated before that and you will have to deal with init->systemd, usr lib move, etc. A real pain.

Last edited by Lynden (2012-12-15 19:30:42)

Offline

#7 2012-12-16 01:41:26

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: Can I install Arch on a OpenVZ VM?

Lynden wrote:

So I suggest XEN if you want Archlinux

I work with arch under a KVM vps, and it works great.

KVM is my suggestion.

OpenVZ sounds too... problematic, IMHO.


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#8 2012-12-16 12:31:35

Lynden
Member
Registered: 2011-11-10
Posts: 23

Re: Can I install Arch on a OpenVZ VM?

chris_l wrote:
Lynden wrote:

So I suggest XEN if you want Archlinux

I work with arch under a KVM vps, and it works great.

KVM is my suggestion.

OpenVZ sounds too... problematic, IMHO.

Ah right, totally forgot KVM is an option too xP

Offline

#9 2012-12-16 12:36:35

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Can I install Arch on a OpenVZ VM?

Well, if you like to run your own OS, hardware virtualization is your best option (xen, kvm, vmware etc.). OS virtualization (lxc, openvz, nspawn, chroot etc.) is problematic unless your host OS is the same as the one within the container.

Offline

#10 2012-12-16 17:07:59

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: Can I install Arch on a OpenVZ VM?

Pierre wrote:

OS virtualization (lxc, openvz, nspawn, chroot etc.) is problematic unless your host OS is the same as the one within the container.

Well, yes. What I meant is that buying a OpenVZ VPS sounds too problematic (unless the provider host OS runs the same distro you want to use - in the case of arch, sounds unlikely), but running OpenVZ on your own server sounds ok; you have control which OS runs the host after all.


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#11 2012-12-18 11:45:21

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Can I install Arch on a OpenVZ VM?

galanom wrote:

Hi,
I have a VPS to a provider that uses OpenVZ but does not have images of Arch.
I chose Debian, is there a way to transform it to Arch?
Thank you!

No!

I own a OpenVz server at home, and it runs Debian and so do all VPS.
My template is homebrew Debian.
It is possible to use other templates (Centos,Fedora etc), but you need 'access' to the server.
One thing is certain, you're VPS needs to be a OS based on Linux!

Look here for existing templates, as you see Arch is there under 'Contributed templates'.

You could ask your provider to upload it for you;)


@Pierre
You could install more templates, so you're not bound to the one you installed

Offline

Board footer

Powered by FluxBB