GithubHelp home page GithubHelp logo

joshterrell805-historic / digitalocean-debian-to-arch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gh2o/digitalocean-debian-to-arch

0.0 1.0 0.0 399 KB

Script to convert a Debian installation on DigitalOcean to Arch Linux

Shell 77.40% Python 22.60%

digitalocean-debian-to-arch's Introduction

DigitalOcean Debian to Arch

DigitalOcean deprecated Arch Linux a while back because it was relatively difficult to support due to the rolling updates. I wrote this script to bring it back! This script downloads all the packages necessary for a base Arch Linux VPS, extracts them, configures them, and installs the fully configured system on the root of the filesystem. This script also configures the system to run kexec on startup to ensure that the latest installed kernel version is running.

Warning

This script may cause your VPS to become unbootable. I only recommend running this script on newly created droplets with no important data.

Installation

  1. Create a new Debian 7.0 droplet (either 32-bit or 64-bit works).
  2. In the droplet (either SSH or console access works), run the following as root: wget https://raw.githubusercontent.com/gh2o/digitalocean-debian-to-arch/master/install.sh && bash install.sh
  3. Answer the questions as prompted.
    • If the script asks to remove a failed installation, there is a failed installation at /archroot that is unlikely to contain important data. It is safe and recommended to answer yes here.
    • Because the random number generator, required to generate keys for pacman, is painstakingly slow, the script will offer to install the package haveged which will speed it up. Again it is recommended to answer yes here.
  4. Sit back and relax! The system will automatically reboot once complete, and you should have a fully updated Arch Linux system in within minutes.
  5. You will be able to log in with your original root password. The replaced Debian files are located in /oldroot, which may be safely deleted to free up space.

Advanced Configuration

  • You may set archlinux_mirror in the script to a mirror closer to your droplet's datacenter for a faster installation.

digitalocean-debian-to-arch'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.