https://github.com/naelstrof/auto-usb-arch-scripts
Mainly for personal use, I take no responsibility!
https://github.com/naelstrof/auto-usb-arch-scripts
archlinux automation install installer portable usb
Last synced: 11 months ago
JSON representation
Mainly for personal use, I take no responsibility!
- Host: GitHub
- URL: https://github.com/naelstrof/auto-usb-arch-scripts
- Owner: naelstrof
- License: gpl-3.0
- Created: 2016-01-24T22:52:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T01:38:14.000Z (about 6 years ago)
- Last Synced: 2025-03-30T15:06:52.453Z (12 months ago)
- Topics: archlinux, automation, install, installer, portable, usb
- Language: Shell
- Size: 18.6 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Arch Linux USB Automatic Install Script
These nifty scripts will install a working Arch Linux installation onto a USB with little to no intervention.
## Features
* It comes equipped with gnome, vim, video drivers, and synaptics.
* Configures a wheel user, and gives it sudo access.
* Works with EFI and BIOS systems.
* Disables autodetect for ramdisk generation, so ramdisk is BIG but works on EVERYTHING.
* Disables filesystem journaling, and enables noatime for efficient SSD writes.
* Automatically enables GDM, and NetworkManager.
## Practical Usage
* Get around security features on public computers by booting into your own linux installation.
* Create a easy throw-away dual boot stick, as a rescue disk, or for quick school work.
* Quickly manufacture multiple arch sticks with Dota 2 installed and have a portable lan-party at some public computers.
## Issues
* Parted doesn't automatically align partitions optimally, non-issue for USB's afaik.
## Prerequisites
You'll need to be running on a linux machine with pacman. (Usually Arch Linux or some derivative.)
## Installation/Usage
**Make sure you follow instructions exactly!**
You can't just sudo the script, since it does some goofy piping and editor magic.
``` bash
git clone git@github.com:naelstrof/auto-usb-arch-scripts.git
cd auto-usb-arch-scripts
sudo su
./install.sh /dev/sdX MyCoolComputerName
```
You'll eventually be prompted for a username and password.
**WARNING**: If you have swap mounted on the computer you run this script on, you'll have to remove it from the /etc/fstab in order for it to boot on other systems.
Also, there's no need to run configure.sh.