Git Product home page Git Product logo

manjarotoarch's Introduction

Manjaro to Arch conversion script

This is a script to convert a Manjaro installation to an Arch installation with a single command.
The original version is this gist which did work but wasn't seamless.
This script follows the GPLv2 license in the original script.

Showcase(7x speedup)

a.mp4

Features

  • Support for all editions except Sway Daily
  • Nvidia drivers reinstall
  • Change UEFI boot entries
  • Change mirrors
  • Change kernel with Arch's
  • Change Manjaro stuff in /etc
  • Purge Manjaro stuff
  • Change theme to default in KDE Plasma

Why did I write this?

A few months ago, I was using Manjaro just because I liked the green theme, and I just wanted to compile paru.
The libalpm library and pacman, which recently had a major update at the time, weren't updated in Manjaro's mirrors, but paru already had an implementation of the updated versions.
I did manage to compile it by switching to an old tag, but it was very inconvenient, and I decided to switch to Arch while preserving my userspace. Online guides of it were wrong in many ways, and I finally found a working script which did work, but was incomplete. I decided to improve it, and the result is this.

Also I wanted to help people who aren't skilled enough to install Arch, but wants to say btw i use arch.

How this script works

The main difference of pure Arch and Manjaro is that they use different mirrors. Manjaro uses slightly old versions of a package for testing, so changing it to Arch mirrors is the first step.
Then the script deletes Manjaro-specific packages and Pacman configurations, and enables the multilib repository if it's commented out.
After that, the script performs a pacman -Syyuu so that the packages are updated and installs an Arch kernel.
Finally GRUB is updated to have Arch's theme and the distributor name is changed to Arch by installing lsb-release from the Arch Linux website.
Finally DE-specific operations are performed to give a better polished result.

Unsupported Editions

Sway Daily Community edition

The screen goes gray after rebooting after running this script.
As far as I have experimented it's definetely not a Wayland issue, it's an issue in Sway, probably because Manjaro configs are all deleted. Please DO NOT USE THIS IF YOU'RE ON SWAY!

TODO

  • Check if UEFI or legacy BIOS

  • Choose a different editor other than ${EDITOR}

  • Ask reboot after run

  • Ask which kernel version is to be installed

  • Manjaro Sway community edition support

manjarotoarch's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.