Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222993 > unrolled thread

Virtualize a Debian system within Manjaro

Started byVictor Sudakov <vas@sibptus.ru>
First post2020-06-02 06:20 +0200
Last post2020-06-02 15:30 +0200
Articles 8 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Virtualize a Debian system within Manjaro Victor Sudakov <vas@sibptus.ru> - 2020-06-02 06:20 +0200
    Re: Virtualize a Debian system within Manjaro Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-02 08:00 +0200
      Re: Virtualize a Debian system within Manjaro Victor Sudakov <vas@sibptus.ru> - 2020-06-02 15:30 +0200
        Re: Virtualize a Debian system within Manjaro Victor Sudakov <vas@sibptus.ru> - 2020-06-02 16:50 +0200
        Re: Virtualize a Debian system within Manjaro Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-03 07:50 +0200
          Re: Virtualize a Debian system within Manjaro Victor Sudakov <vas@sibptus.ru> - 2020-06-07 14:10 +0200
    Re: Virtualize a Debian system within Manjaro john doe <johndoe65534@mail.com> - 2020-06-02 09:20 +0200
      Re: Virtualize a Debian system within Manjaro Victor Sudakov <vas@sibptus.ru> - 2020-06-02 15:30 +0200

#222993 — Virtualize a Debian system within Manjaro

FromVictor Sudakov <vas@sibptus.ru>
Date2020-06-02 06:20 +0200
SubjectVirtualize a Debian system within Manjaro
Message-ID<Ad6z7-89V-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Dear Colleagues,

There is an office where the standard desktop OS is Manjaro (a
clone of Arch Linux). There is not much choice actually.

I don't very much like Manjaro's packaging system and its lack of many
essential packages in binary format. When I need something as simple as
codesearch or apg or dateutils, it tries to compile them.

Willing to run a Debian instance within Manjaro, what's my best choice? 

The easiest thing that comes to mind is installing VirtualBox in
Manjaro, but are there less resource-intensive and GUI-dependent
options? Maybe some kind of chroot or container?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[toc] | [next] | [standalone]


#222997

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-06-02 08:00 +0200
Message-ID<Ad87T-wc-1@gated-at.bofh.it>
In reply to#222993

[Multipart message — attachments visible in raw view] — view raw

On Ma, 02 iun 20, 11:14:25, Victor Sudakov wrote:
> Dear Colleagues,
> 
> There is an office where the standard desktop OS is Manjaro (a
> clone of Arch Linux). There is not much choice actually.
> 
> I don't very much like Manjaro's packaging system and its lack of many
> essential packages in binary format. When I need something as simple as
> codesearch or apg or dateutils, it tries to compile them.
> 
> Willing to run a Debian instance within Manjaro, what's my best choice? 
> 
> The easiest thing that comes to mind is installing VirtualBox in
> Manjaro, but are there less resource-intensive and GUI-dependent
> options? Maybe some kind of chroot or container?

'systemd-nspawn'. You can use 'debootstrap' to create the Debian chroot, 
it was explicitly created to run also on other distributions (it's 
written in shell).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#223010

FromVictor Sudakov <vas@sibptus.ru>
Date2020-06-02 15:30 +0200
Message-ID<Adf9n-4QN-5@gated-at.bofh.it>
In reply to#222997

[Multipart message — attachments visible in raw view] — view raw

Andrei POPESCU wrote:
> > 
> > There is an office where the standard desktop OS is Manjaro (a
> > clone of Arch Linux). There is not much choice actually.
> > 
> > I don't very much like Manjaro's packaging system and its lack of many
> > essential packages in binary format. When I need something as simple as
> > codesearch or apg or dateutils, it tries to compile them.
> > 
> > Willing to run a Debian instance within Manjaro, what's my best choice? 
> > 
> > The easiest thing that comes to mind is installing VirtualBox in
> > Manjaro, but are there less resource-intensive and GUI-dependent
> > options? Maybe some kind of chroot or container?
> 
> 'systemd-nspawn'. You can use 'debootstrap' to create the Debian chroot, 
> it was explicitly created to run also on other distributions (it's 
> written in shell).

Thanks you, I'll definitely look into that. It that it?
https://wiki.archlinux.org/index.php/Systemd-nspawn#Create_a_Debian_or_Ubuntu_environment



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[toc] | [prev] | [next] | [standalone]


#223017

FromVictor Sudakov <vas@sibptus.ru>
Date2020-06-02 16:50 +0200
Message-ID<AdgoN-5xI-1@gated-at.bofh.it>
In reply to#223010

[Multipart message — attachments visible in raw view] — view raw

Victor Sudakov wrote:
> Andrei POPESCU wrote:
> > > 
> > > There is an office where the standard desktop OS is Manjaro (a
> > > clone of Arch Linux). There is not much choice actually.
> > > 
> > > I don't very much like Manjaro's packaging system and its lack of many
> > > essential packages in binary format. When I need something as simple as
> > > codesearch or apg or dateutils, it tries to compile them.
> > > 
> > > Willing to run a Debian instance within Manjaro, what's my best choice? 
> > > 
> > > The easiest thing that comes to mind is installing VirtualBox in
> > > Manjaro, but are there less resource-intensive and GUI-dependent
> > > options? Maybe some kind of chroot or container?
> > 
> > 'systemd-nspawn'. You can use 'debootstrap' to create the Debian chroot, 
> > it was explicitly created to run also on other distributions (it's 
> > written in shell).
> 
> Thanks you, I'll definitely look into that. It that it?
> https://wiki.archlinux.org/index.php/Systemd-nspawn#Create_a_Debian_or_Ubuntu_environment
> 

Just tried debootstrap+systemd-nspawn (Debian on Debian). It reminds me
very much of the FreeBSD jail infrastructure. No unnecessary hardware
emulation.

If it works well on Arch Linux, I'm going to use it there. Thank you
Andrei for the good advice.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[toc] | [prev] | [next] | [standalone]


#223028

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-06-03 07:50 +0200
Message-ID<AdurL-5Dz-1@gated-at.bofh.it>
In reply to#223010

[Multipart message — attachments visible in raw view] — view raw

On Ma, 02 iun 20, 20:23:21, Victor Sudakov wrote:
> Andrei POPESCU wrote:
> > 
> > 'systemd-nspawn'. You can use 'debootstrap' to create the Debian chroot, 
> > it was explicitly created to run also on other distributions (it's 
> > written in shell).
> 
> Thanks you, I'll definitely look into that. It that it?
> https://wiki.archlinux.org/index.php/Systemd-nspawn#Create_a_Debian_or_Ubuntu_environment

Looks like a good write-up.

Personally I'm only using 'systemd-nspawn -D /dir' as a quicker and 
nicer alternative to 'chroot'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#223160

FromVictor Sudakov <vas@sibptus.ru>
Date2020-06-07 14:10 +0200
Message-ID<Af2hH-7Ov-5@gated-at.bofh.it>
In reply to#223028

[Multipart message — attachments visible in raw view] — view raw

Andrei POPESCU wrote:
> > > 
> > > 'systemd-nspawn'. You can use 'debootstrap' to create the Debian chroot, 
> > > it was explicitly created to run also on other distributions (it's 
> > > written in shell).
> > 
> > Thanks you, I'll definitely look into that. It that it?
> > https://wiki.archlinux.org/index.php/Systemd-nspawn#Create_a_Debian_or_Ubuntu_environment
> 
> Looks like a good write-up.
> 
> Personally I'm only using 'systemd-nspawn -D /dir' as a quicker and 
> nicer alternative to 'chroot'.

I wanted the virtual machine to be a bit more independent of the host,
i.e. to be able to run its own networked services, be it even only
something as simple as "hg serve" so I went for the full systemd
service.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[toc] | [prev] | [next] | [standalone]


#223000

Fromjohn doe <johndoe65534@mail.com>
Date2020-06-02 09:20 +0200
Message-ID<Ad9nj-1pN-5@gated-at.bofh.it>
In reply to#222993
On 6/2/2020 6:14 AM, Victor Sudakov wrote:
> Dear Colleagues,
>
> There is an office where the standard desktop OS is Manjaro (a
> clone of Arch Linux). There is not much choice actually.
>
> I don't very much like Manjaro's packaging system and its lack of many
> essential packages in binary format. When I need something as simple as
> codesearch or apg or dateutils, it tries to compile them.
>
> Willing to run a Debian instance within Manjaro, what's my best choice?
>
> The easiest thing that comes to mind is installing VirtualBox in
> Manjaro, but are there less resource-intensive and GUI-dependent
> options? Maybe some kind of chroot or container?
>

Qemu preferably with KVM works well with Debian in a VM without a GUI.

Chroot/container/VM are not the same, which one you pick depend on what
you want to do with that Debian.

See also Libvirt to manage your container/VMs.

--
John Doe

[toc] | [prev] | [next] | [standalone]


#223009

FromVictor Sudakov <vas@sibptus.ru>
Date2020-06-02 15:30 +0200
Message-ID<Adf9n-4QN-1@gated-at.bofh.it>
In reply to#223000

[Multipart message — attachments visible in raw view] — view raw

john doe wrote:
> > 
> > There is an office where the standard desktop OS is Manjaro (a
> > clone of Arch Linux). There is not much choice actually.
> > 
> > I don't very much like Manjaro's packaging system and its lack of many
> > essential packages in binary format. When I need something as simple as
> > codesearch or apg or dateutils, it tries to compile them.
> > 
> > Willing to run a Debian instance within Manjaro, what's my best choice?
> > 
> > The easiest thing that comes to mind is installing VirtualBox in
> > Manjaro, but are there less resource-intensive and GUI-dependent
> > options? Maybe some kind of chroot or container?
> > 
> 
> Qemu preferably with KVM works well with Debian in a VM without a GUI.

The question is maybe I need not emulate hardware at all.

> 
> Chroot/container/VM are not the same, which one you pick depend on what
> you want to do with that Debian.

I mostly want to run Debian userspace commands and install
Debian userspace packages like aws, codesearch, dateutils, mercurial,
colordiff, ansible, mtr and others without the hassle of pacman.

> 
> See also Libvirt to manage your container/VMs.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web