{"id":13844880,"url":"https://github.com/drizzt/vps2arch","last_synced_at":"2026-01-30T11:31:25.713Z","repository":{"id":34245981,"uuid":"38125942","full_name":"drizzt/vps2arch","owner":"drizzt","description":"The fastest way to convert a VPS to Arch Linux! Mirror of https://gitlab.com/drizzt/vps2arch/","archived":false,"fork":false,"pushed_at":"2023-12-13T16:43:10.000Z","size":54,"stargazers_count":539,"open_issues_count":21,"forks_count":99,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-08-05T17:43:09.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitlab.com/drizzt/vps2arch/","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"blynkkk/blynk-library","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drizzt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-26T18:02:23.000Z","updated_at":"2024-07-24T03:30:21.000Z","dependencies_parsed_at":"2022-09-05T02:30:40.325Z","dependency_job_id":null,"html_url":"https://github.com/drizzt/vps2arch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzt%2Fvps2arch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzt%2Fvps2arch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzt%2Fvps2arch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzt%2Fvps2arch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drizzt","download_url":"https://codeload.github.com/drizzt/vps2arch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225772792,"owners_count":17521891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:03:00.928Z","updated_at":"2026-01-30T11:31:25.679Z","avatar_url":"https://github.com/drizzt.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell"],"sub_categories":[],"readme":"VPS2Arch\n========\n\nThe fastest way to convert a _VPS_ to [Arch Linux](https://www.archlinux.org/)!\n\nAuthor\n------\n\n[Timothy Redaelli](mailto:timothy@fsfe.org)\n\nDescription\n-----------\n\nThis script is used to convert a _VPS_, running another linux distro, to _Arch Linux_.  \nIt should be **only** used if your _VPS_ provider doesn't provide you an _Arch Linux_ image.\n\nDisclaimer\n----------\n\n\u003e I'm not responsible for any damage in your system and/or any violation of the agreement between you and your vps provider.  \n\u003e **Use at your own risk!**\n\nHow To\n------\n\nDownload the script on your _VPS_ and execute it with root privileges\n\n**WARNING** The script will **delete** any data in your _VPS_!\n\n\twget http://tinyurl.com/vps2arch\n\tchmod +x vps2arch\n\t./vps2arch\n\nSome _Debian_ _VPS_ images don't have the _CA certificates_ installed, so `wget` will give you the following errors:\n\n\tERROR: The certificate of `gitlab.com' is not trusted.\n\tERROR: The certificate of `gitlab.com' hasn't got a known issuer.\n\nTo fix them just execute `apt-get install ca-certificates` and then re-execute the previous commands.\n\nHow does it work?\n-----------------\n\nIt's Black Magic.\nJust kiddin' 😏, the script itself is very simple.\n\nIn a nutshell, it will download the _Arch Linux Bootstrap Image_ and (see the [wiki](https://wiki.archlinux.org/index.php/Install_from_existing_Linux#Method_B:_Using_the_Bootstrap_Image_.28recommended.29)),\nextract the image to / and configure the _Bootstrap chroot_.\n\nNow, about the **critical** part:\n\n\u003e How can you wipe the system without breaking everything?\n\nIt's simple: using `ld.so` from the _Bootstrap chroot_ to launch the `chroot` tool.\n\nSince it will erase all the system directories except from the _Bootstrap chroot_, `/dev`, `/proc`, `/sys` and the like,\nthe only way to launch a command inside the _Bootstrap chroot_ is to using ld.so from the _Bootstrap chroot_ itself.\n\nAt this point _Arch Linux_ has been installed, but not configured.\nThe script will provide a SSH-able system automagically configuring grub (or syslinux), network and restoring the root password from the original system (or by using `vps2arch` as password if no root password was set).\n\nOnce done doing its job, the script will ask you to manually reboot your _VPS_ and voilà, PROFIT!\n\nDoes it really work?\n--------------------\n\nYes, it does!\n\nOn the [Tested VPS Providers](https://gitlab.com/drizzt/vps2arch/wikis/Tested-VPS-Providers) wiki page you can find a list of **Tested VPS Providers**.\n\nTheoretically it should also work on **real** computers (running linux), but I think it's not worth it,\nbecause you can install it in the canonical way.\n\nContributing\n------------\n\nIf you have any useful modification, please use **Pull requests**.  \nIf you have successfully used this script on a different _distro_ - _VPS_ combination, please contact me so that I can update the above list.\n\nIf you are not a developer, but you still want to contribute, you can donate me an account on your _VPS_ provider and I'll do my best to support it.  \nOr you can just donate me some bucks I'll spend to buy a _VPS_ on your provider in order to support it.\n\nCaveats\n-------\n\n_IPv6_ currently is not supported. If you need to use it, please configure it manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrizzt%2Fvps2arch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrizzt%2Fvps2arch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrizzt%2Fvps2arch/lists"}