Install manjaro minimal into a linux container?

How can I install manjaro minimal into a linux container? I did not see it listed in the available templates.

lxc-create -n manjaro -t download
Setting up the GPG keyring
Downloading the image index

---
DIST	RELEASE	ARCH	VARIANT	BUILD
---
alpine	3.10	amd64	default	20210515_13:00
alpine	3.10	arm64	default	20210515_13:00
alpine	3.10	armhf	default	20210515_13:00
alpine	3.10	i386	default	20210515_13:00
alpine	3.10	ppc64el	default	20210515_13:00
alpine	3.10	s390x	default	20210515_13:00
alpine	3.11	amd64	default	20210515_13:00
alpine	3.11	arm64	default	20210515_13:00
alpine	3.11	armhf	default	20210515_13:00
alpine	3.11	i386	default	20210515_13:00
alpine	3.11	ppc64el	default	20210515_13:00
alpine	3.11	s390x	default	20210515_13:00
alpine	3.12	amd64	default	20210515_13:00
alpine	3.12	arm64	default	20210515_13:09
alpine	3.12	armhf	default	20210515_13:00
alpine	3.12	i386	default	20210515_13:00
alpine	3.12	ppc64el	default	20210515_13:00
alpine	3.12	s390x	default	20210515_13:00
alpine	3.13	amd64	default	20210515_13:00
alpine	3.13	arm64	default	20210515_13:00
alpine	3.13	armhf	default	20210515_13:00
alpine	3.13	i386	default	20210515_13:00
alpine	3.13	ppc64el	default	20210515_13:00
alpine	3.13	s390x	default	20210515_13:00
alpine	edge	amd64	default	20210515_13:00
alpine	edge	arm64	default	20210515_13:09
alpine	edge	armhf	default	20210515_13:00
alpine	edge	i386	default	20210515_13:00
alpine	edge	ppc64el	default	20210515_13:00
alpine	edge	s390x	default	20210515_13:00
alt	Sisyphus	amd64	default	20210516_01:17
alt	Sisyphus	arm64	default	20210516_01:17
alt	Sisyphus	i386	default	20210516_01:17
alt	Sisyphus	ppc64el	default	20210516_01:17
alt	p9	amd64	default	20210516_01:17
alt	p9	arm64	default	20210516_01:17
alt	p9	i386	default	20210516_01:17
apertis	v2019.6	amd64	default	20210515_10:53
apertis	v2019.6	arm64	default	20210515_10:53
apertis	v2019.6	armhf	default	20210515_10:53
apertis	v2020.4	amd64	default	20210515_10:53
apertis	v2020.4	arm64	default	20210515_10:53
apertis	v2020.4	armhf	default	20210515_10:53
apertis	v2021.0	amd64	default	20210515_10:53
apertis	v2021.0	arm64	default	20210515_10:53
apertis	v2021.0	armhf	default	20210515_10:53
archlinux	current	amd64	default	20210516_04:18
archlinux	current	arm64	default	20210516_04:18
archlinux	current	armhf	default	20210516_04:18
centos	7	amd64	default	20210516_07:08
centos	7	armhf	default	20210516_07:08
centos	7	i386	default	20210516_07:08
centos	8-Stream	amd64	default	20210516_07:08
centos	8-Stream	arm64	default	20210516_08:23
centos	8-Stream	ppc64el	default	20210516_07:08
centos	8	amd64	default	20210516_07:08
centos	8	arm64	default	20210516_07:08
centos	8	ppc64el	default	20210516_07:08
debian	bullseye	amd64	default	20210516_05:24
debian	bullseye	arm64	default	20210516_05:24
debian	bullseye	armel	default	20210516_05:39
debian	bullseye	armhf	default	20210516_05:24
debian	bullseye	i386	default	20210516_05:24
debian	bullseye	ppc64el	default	20210516_05:24
debian	bullseye	s390x	default	20210516_05:24
debian	buster	amd64	default	20210516_05:24
debian	buster	arm64	default	20210516_05:24
debian	buster	armel	default	20210516_06:04
debian	buster	armhf	default	20210516_06:07
debian	buster	i386	default	20210516_05:24
debian	buster	ppc64el	default	20210516_05:24
debian	buster	s390x	default	20210516_05:24
debian	sid	amd64	default	20210516_05:24
debian	sid	arm64	default	20210516_05:24
debian	sid	armel	default	20210516_06:19
debian	sid	armhf	default	20210516_05:36
debian	sid	i386	default	20210516_05:24
debian	sid	ppc64el	default	20210516_05:24
debian	sid	s390x	default	20210516_05:24
debian	stretch	amd64	default	20210516_05:24
debian	stretch	arm64	default	20210516_05:24
debian	stretch	armel	default	20210516_06:15
debian	stretch	armhf	default	20210516_05:40
debian	stretch	i386	default	20210516_05:24
debian	stretch	ppc64el	default	20210516_05:24
debian	stretch	s390x	default	20210516_05:24
devuan	ascii	amd64	default	20210515_11:50
devuan	ascii	arm64	default	20210515_11:50
devuan	ascii	armel	default	20210515_11:50
devuan	ascii	armhf	default	20210515_11:50
devuan	ascii	i386	default	20210515_11:50
devuan	ascii	ppc64el	default	20210515_11:50
devuan	beowulf	amd64	default	20210515_11:50
devuan	beowulf	arm64	default	20210515_12:16
devuan	beowulf	armel	default	20210515_11:50
devuan	beowulf	armhf	default	20210515_11:50
devuan	beowulf	i386	default	20210515_11:50
devuan	beowulf	ppc64el	default	20210515_11:50
fedora	32	amd64	default	20210515_20:33
fedora	32	arm64	default	20210515_20:33
fedora	32	ppc64el	default	20210515_20:33
fedora	32	s390x	default	20210515_20:33
fedora	33	amd64	default	20210515_20:33
fedora	33	arm64	default	20210515_20:33
fedora	33	ppc64el	default	20210515_20:33
fedora	33	s390x	default	20210515_20:33
fedora	34	amd64	default	20210515_20:33
fedora	34	arm64	default	20210515_20:33
fedora	34	s390x	default	20210515_20:33
funtoo	1.4	amd64	default	20210515_16:45
funtoo	1.4	armhf	default	20210508_17:33
funtoo	1.4	i386	default	20210505_16:45
gentoo	current	amd64	default	20210515_16:07
gentoo	current	armhf	default	20210515_16:07
gentoo	current	i386	default	20210515_16:07
gentoo	current	ppc64el	default	20210515_16:07
gentoo	current	s390x	default	20210515_16:07
kali	current	amd64	default	20210513_17:14
kali	current	arm64	default	20210515_17:36
kali	current	armel	default	20210515_17:36
kali	current	armhf	default	20210513_17:17
kali	current	i386	default	20210513_17:51
mint	sarah	amd64	default	20210516_08:51
mint	sarah	i386	default	20210516_08:52
mint	serena	amd64	default	20210516_08:51
mint	serena	i386	default	20210516_08:52
mint	sonya	amd64	default	20210516_08:51
mint	sonya	i386	default	20210516_08:51
mint	sylvia	amd64	default	20210516_08:51
mint	sylvia	i386	default	20210516_08:51
mint	tara	amd64	default	20210516_08:51
mint	tara	i386	default	20210516_08:51
mint	tessa	amd64	default	20210516_08:52
mint	tessa	i386	default	20210516_08:51
mint	tina	amd64	default	20210516_08:51
mint	tina	i386	default	20210516_08:51
mint	tricia	amd64	default	20210516_08:51
mint	tricia	i386	default	20210516_08:51
mint	ulyana	amd64	default	20210516_08:51
mint	ulyssa	amd64	default	20210516_08:51
opensuse	15.2	amd64	default	20210516_04:20
opensuse	15.2	arm64	default	20210516_04:20
opensuse	15.2	ppc64el	default	20210516_04:20
opensuse	tumbleweed	amd64	default	20210516_04:20
opensuse	tumbleweed	arm64	default	20210516_04:20
opensuse	tumbleweed	i386	default	20210516_04:20
opensuse	tumbleweed	ppc64el	default	20210516_04:20
openwrt	18.06	amd64	default	20210515_12:06
openwrt	19.07	amd64	default	20210515_11:57
openwrt	snapshot	amd64	default	20210515_11:57
oracle	7	amd64	default	20210516_07:46
oracle	8	amd64	default	20210516_07:46
plamo	6.x	amd64	default	20210516_01:33
plamo	6.x	i386	default	20210516_01:33
plamo	7.x	amd64	default	20210516_01:33
pld	current	amd64	default	20210514_04:08
pld	current	i386	default	20210510_20:46
sabayon	current	amd64	default	20210510_01:52
ubuntu	bionic	amd64	default	20210516_07:42
ubuntu	bionic	arm64	default	20210515_07:42
ubuntu	bionic	armhf	default	20210515_07:42
ubuntu	bionic	i386	default	20210515_07:42
ubuntu	bionic	ppc64el	default	20210515_07:57
ubuntu	bionic	s390x	default	20210515_07:42
ubuntu	focal	amd64	default	20210515_07:42
ubuntu	focal	arm64	default	20210515_07:42
ubuntu	focal	armhf	default	20210515_07:42
ubuntu	focal	ppc64el	default	20210515_07:42
ubuntu	focal	s390x	default	20210515_07:42
ubuntu	groovy	amd64	default	20210515_07:42
ubuntu	groovy	arm64	default	20210515_07:42
ubuntu	groovy	armhf	default	20210515_07:42
ubuntu	groovy	ppc64el	default	20210515_07:42
ubuntu	groovy	s390x	default	20210515_07:42
ubuntu	hirsute	amd64	default	20210515_08:30
ubuntu	hirsute	arm64	default	20210515_07:42
ubuntu	hirsute	armhf	default	20210515_08:06
ubuntu	hirsute	ppc64el	default	20210515_08:01
ubuntu	hirsute	s390x	default	20210515_07:52
ubuntu	impish	amd64	default	20210515_07:42
ubuntu	impish	arm64	default	20210515_08:06
ubuntu	impish	armhf	default	20210515_08:06
ubuntu	impish	ppc64el	default	20210515_07:42
ubuntu	impish	s390x	default	20210515_07:52
ubuntu	trusty	amd64	default	20210516_07:42
ubuntu	trusty	arm64	default	20210516_07:42
ubuntu	trusty	armhf	default	20210516_07:42
ubuntu	trusty	i386	default	20210516_07:42
ubuntu	trusty	ppc64el	default	20210516_07:42
ubuntu	xenial	amd64	default	20210516_07:42
ubuntu	xenial	arm64	default	20210516_07:42
ubuntu	xenial	armhf	default	20210516_08:17
ubuntu	xenial	i386	default	20210516_07:42
ubuntu	xenial	ppc64el	default	20210516_07:42
ubuntu	xenial	s390x	default	20210516_07:42
voidlinux	current	amd64	default	20210515_17:10
voidlinux	current	arm64	default	20210515_17:10
voidlinux	current	armhf	default	20210515_17:10
voidlinux	current	i386	default	20210515_17:10
---

Distribution: 

I don’t think anyone has added us to the lxc templates.

Closest would probably be Arch Linux (arm64).

1 Like

Is it possible to start with that image and just change the package repos, then update all packages or more complex?

Should be possible. Do you need anything Manjaro specific in the image?

I didn’t realize ManjaroARM used lots of ArchARM base packages. I wanted a 100% ManjaroARM container to compare the two.

You can do this it seems:

  1. download the archlinux current arm64 image
  2. start the lxc
  3. edit /etc/pacman.d/mirrorlist to define a manjaroarm mirror like https://mirror.math.princeton.edu/pub/manjaro/arm-stable/$repo/$arch
  4. manually download manjaro-keyring and manjaro-arm-keyring and install them with pacman -U ...
  5. edit /etc/pacman.conf diffing it against manjaroarm’s pacman.conf
  6. run pacman-key --init and pacman-key --populate archlinuxarm manjaro-arm
  7. run pacman -Syy && pacman -S manjaro-release manjaro-system
  8. Reinstall all packages pacman -Qnq | pacman -S -

I think that’s everything

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.