mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-25 22:49:28 +02:00
Add README
This commit is contained in:
parent
cb5daa39bd
commit
e8d5fce5f0
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
||||
# ALMA - Arch Linux Mobile Appliance
|
||||
|
||||
This tools installs Arch Linux into a USB drive, making it a customized live Arch Linux bootable
|
||||
drive. It was inspired by [this](http://valleycat.org/linux/arch-usb.html) article. The USB drive
|
||||
should be bootable both by UEFI and legacy boot.
|
||||
|
||||
## Installation
|
||||
|
||||
You should build the project using `cargo build`. An AUR package will be provided with the first
|
||||
stable version.
|
||||
|
||||
## Usage
|
||||
|
||||
``` shell
|
||||
# alma create /dev/disk/by-id/usb-Generic_USB_Flash_Disk-0:0
|
||||
```
|
||||
|
||||
This will wipe the entire disk and create a bootable installation of Arch Linux. As a precaution,
|
||||
this tool will refuse to work with drive paths which don't start with `/dev/disk/by-id/usb-`.
|
||||
|
||||
After the installation is done you can either boot from it immediately or use `arch-chroot` to
|
||||
perform further customizations before your first boot.
|
||||
|
||||
## What exactly does it do?
|
||||
|
||||
This tool doesn't inspire to be a generic installer for Arch Linux. Instead, it does the minimum
|
||||
steps required to create a bootable USB with a few tweaks.
|
||||
|
||||
#. Partition the disk as suggested [here](http://valleycat.org/linux/arch-usb.html). The last
|
||||
partition will be formatted as BTRFS
|
||||
#. Bootstrap the system using `pacstrap -c`. The `-c` flag will use the host's cache instead the
|
||||
drive's cache, which will speed up things when you create multiple drives. This tool will install
|
||||
the base system, grub, intel-ucode, NetworkManager and btrfs-progs
|
||||
#. Generate initramfs without the `autodetect` hook
|
||||
#. Install GRUB in both legacy and UEFI modes
|
Loading…
x
Reference in New Issue
Block a user