[HowTo] Convert Manjaro to EndeavourOS

This is a brief guide for those happy with fixing their own bugs to help convert a Manjaro installation to EndeavourOS. It can be applied to switch to plain Arch too, if you ignore the EOS-specific parts.

Note that this should work fine if you have open-source drivers - if you have NVIDIA you may have to do some other work too.

It's pretty straightforward if you're comfortable using the CLI for package management. If you're not, then you probably shouldn't try this!

However - do keep in mind that this will not result in a "clean Arch install", so if you have any weird issues then you're on your own.


1. Make a backup!

Should be obvious?

2. Catch up with unstable

Make the upgrade gap smaller.

sudo pacman-mirrors -aB unstable
sudo pacman -Syyu

3. Replace mirrors

Pick up a set of Arch mirrors from https://www.archlinux.org/mirrorlist/ , e.g.:

/etc/pacman.d/mirrorlist :

## United Kingdom
Server = https://mirror.netweaver.uk/archlinux/$repo/os/$arch

## Netherlands
Server = https://mirror.mijn.host/archlinux/$repo/os/$arch

Then, add an EndeavourOS repo, e.g.:

/etc/pacman.d/endeavouros-mirrorlist :

## Germany
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch

4. Add EndeavourOS to pacman.conf (below [multilib])

[endeavouros]
Include = /etc/pacman.d/endeavouros-mirrorlist

5. Import EndeavourOS key

sudo pacman-key --keyserver hkp://pool.sks-keyservers.net -r 003DB8B0CB23504F
sudo pacman-key --lsign 003DB8B0CB23504F

6. Remove Manjaro orchestration/customisation packages

sudo pacman -Rdd pacman-mirrors manjaro-release bashrc-manjaro
sudo pacman -Syy pacman pacman-contrib

Note that -Rdd won't check for dependencies so you will have to go back later and look over your packages. Yes, -Sy is normally bad but we'll fix that next.

7. Upgrade, install kernel, replace overlay packages

Check this list yourself to make sure you're happy with it. You might want to tweak it:

sudo pacman -Syu linux linux-headers filesystem grub sudo systemd systemd-libs systemd-sysvcompat xorg-server xorg-server-common xorg-server-xwayland yay reflector-simple eos-rankmirrors

Watch out for changes resulting in a .pacsave

Resolve those now, e.g. move the files back into place. Important ones are covered below.

8. Ensure GRUB menu built correctly

Check the output carefully. You might need to e.g.

sudo cp /etc/vconsole.conf.pacsave /etc/vconsole.conf

and re-run

sudo grub-mkconfig -o /boot/grub/grub.cfg

You could add a GRUB hook to /usr/share/libalpm/hooks/grub.hook:

[Trigger]
Type = File
Operation = Install
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
Target = boot/vmlinuz*

[Action]
Description = Updating Grub-Bootmenu
When = PostTransaction
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg

which will do this automatically on kernel changes (why isn't this standard?)

9. Reinstall GRUB

Replace Manjaro's GRUB boot loader with the Arch boot loader

sudo grub-install /dev/$YOUR-BOOT-DISK

Obviously, check that destination device as you normally would.

10. Check for other Manjaro-specific packages and replace/remove

Check for non-repo packages:

pacman -Qm

Note: this will show AUR packages too!

Check for things like kernel variants. Some packages in Manjaro's [community] will have AUR equivalents.

Remove and replace as you want.

sudo pacman -Rdd  $(pacman -Qsq manjaro-) $(pacman -Qsq mhwd)

This bit is important to check. Don't just copy, paste, and run.

11. Remove old kernel initramfs files

Remove the Manjaro kernels can leave behind their boot files.

Look under /boot and remove any files generated by Manjaro's kernel packages, then regenerate the GRUB config.

12. Check configuration files

For example:

  • Merge pacnew using pacdiff
  • Remove SyncFirst line from /etc/pacman.conf

13. Set hostname

e.g.

sudo nano /etc/hostname

14. Set locale

localectl set-locale en_GB.UTF-8

15. Check vconsole settings

/etc/vconsole.conf, e.g:

KEYMAP=uk
FONT=
FONT_MAP=

16. Update mirrors

reflector-simple
eos-rankmirrors

17. Re-check for updates. Ensure GRUB is correct.

sudo pacman -Syu
sudo grub-mkconfig -o /boot/grub/grub.cfg

18. Reboot

That should be all you need to do. Once booted, tidy the remaining Manjaro kernel and check again for orphans etc.

There may be some other smaller issues cause by lingering configuration differences. Also remember that these might not be common with EOS or Arch, so please don't report them as bugs to Arch!

If you find any other weird issues, make sure you step through the Arch install guide and make sure all the basics are in place.

29 Likes

deleted

5 Likes

This post was flagged by the community and is temporarily hidden.

1 Like

Ain't nobody got time for dat. :slight_smile: Installing Arch is easy, but configuring everything takes effort and time...

I nuked one of my Manjaro desktops and installed EndeavourOS. The Calamares installer is nowhere near as polished as Manjaro's and the slideshow they show you during install is pure cringe (e.g. "Houston we don't have a problem!" :man_facepalming:).

However, after the install, EndeavourOS runs beautifully! I'm very pleasantly surprised how well it runs. It's as fast as vanilla Arch, no bloat at all, and everything works out of the box! And it has most of the user friendly tools that Manjaro has (automatic detection of graphics cards, kernel management, mirror management) - took me less than half an hour to figure everything out (apart from an issue with an ancient Nvidia card, but I'll figure that out, too).

A superb distro, I'll give it a week or two to test it, and then I'll probably switch all my other machines to it, using this procedure @jonathon describes.

4 Likes

All good things take effort and time :blush:
Dont be lazy! :rofl: Think i will give Endeavour OS a spin in a VM :+1:

1 Like

deleted

1 Like

Openbox is even easier :slight_smile:

Another option to start from scratch is https://pacbang-linux.org with download from

1 Like

For that case, you should try making a dotfiles git repository. No more pasting...

:slight_smile:

4 Likes

Doesn't work for me, completely screwed up, lost sudo & su. Had to do a fresh install and then restore a timeshift backup (god that took forever).

Plus side, I accidentally changed to a UEFI boot........ Not sure how I did that :rofl:

But all working again.

Pretty well made guide :slightly_smiling_face:

I guess so - though for comparing how stuff works, I'm more likely to do a fresh installation, then import configs from the Timeshift folders as I did from Mint to Manjaro, then moving Manjaro to take over the SSD when I was happy with it as a main daily driver.

@jonathon thanks for the edit :wink: You know I stared at that and didn't spot the sudo!!

Will it work now? :rofl: (I knew the risks, I knew I could get it working again).

Due to the time it took to restore timeshift, I think a clonezilla image would be more optimal.

The sudden change to UEFI boot can be explained - The motherboard cmos battery socket on this laptop appears to be faulty, the dog knocked the power cable out (and ate my homework!), so it reset the bios. I was busy and not paying attention, et voila UEFI boot.

1 Like

Them pesky dogs they do it to show they are the boss, Lol

2 Likes

I followed this guide to convert my Manjaro KDE setup to EndeavourOS. After some extra work now my ThinkPad X1 Extreme Gen 2 runs smoothly.


The extra work I did:

  • Uninstall optimus-switch which doesn't work well under Arch.
  • Replace Nvidia 440.100 with 450.57 which has support (not perfect yet) for reverse Prime. So it's possible to use just 1 mode (hybrid).
  • Remove manjaro modules from /lib/modules
  • Remove snap and flatpak support from pamac.
  • Remove xdg-desktop-portal. This fixed "df: /run/user/1000/doc: Operation not permitted" error when running df command.
  • Rebuild grub menu and uefi boot entry with name "EndeavourOS"
  • Upgrade VirtualBox extension (from 6.1.10 to 6.1.12)

switch to eos it is better

Its basically Arch with a installer nice theme, and friendly forum

3 Likes

EndeavourOS is a replacement for simple Arch installer (Antegos) distros, whereas Manjaro is more a buffer aiming to improve on a basic install of Arch (yes, for people who can't do it all themselves) and to separate the packages, so what Arch gets today goes into testing. Whilst Arch users do more fixing on their systems, our devs do that for us - so that when we upgrade it should be less painful.

Forum is good, and active (though not always perfect) and sure, even after using Linux since 2007, I still can't get my head around half of what I find in Arch forums.

Arch is for more advanced users, Manjaro brings Arch down a peg or two without adding too much bloat (depending on your idea of bloat, I like a bit of theming and I don't want 'sudo update grub' to fail because I didn't install the required packages first...

deleted

22 posts were split to a new topic: Is it better to use an Arch-derivative with an installer or install Arch directly?

EndeavourOS is mostly vanilla Arch, with an additional repo that gives you some user-friendly utilities and scripts, some theming, yay, stuff like that... And it has a nice live image ISO with Xfce, containing Firefox and Calamares.

It runs like vanilla Arch, and feels like vanilla Arch. It's very nice, in my opinion.

Forum kindly sponsored by