- Root: /dev/sda5
- ESP: /dev/sda2
- Swap (optional): /dev/sda7
Change these details to your own.
Needed* < the asterik means you must do the step
Just repartition your drive, or delete everything
| #!/bin/bash | |
| # a short template for --help and --version | |
| # Script declaration | |
| SCRIPTNAME="${0##*[\\/]}" | |
| SCRIPTVERSION="1.0" | |
| function apphelp # This will be shown when you run (name) --help. | |
| { |
| #!/bin/bash | |
| usage () { | |
| echo "Usage: xbps COMMAND [OPTIONS] [PACKAGES...]" | |
| echo "" | |
| echo "A shortcut to xbps commands." | |
| echo "" | |
| echo "[-h, --help, help, blank]: Shows this help" | |
| echo "[-v, --ver, --version, ver, version]: Shows your XBPS version" | |
| } |
Indicators:
Download and boot from a Debian/Ubuntu live CD: https://www.debian.org/CD/live/ (if you have an existing Linux system with debootstrap support, skip to step 3)
Login with user:live
| #!/bin/bash | |
| SPS="prompt >>" | |
| main () { | |
| echo $0 | |
| echo $SPS | |
| read stuff | |
| $stuff | |
| } | |
| for i in {1..1000} | |
| do |
Installing Arch without pacstrap is easy. No, you won't use archbootstrap. That is only for chroots. Instead, you will do it hand made.
First, make the file system.
mkdir -m 0755 -p /path/to/root/var/{cache/pacman/pkg,lib/pacman,log} /path/to/root/{dev,run,etc/pacman.d}
mkdir -m 1777 -p /path/to/root/tmp
mkdir -m 0555 -p /path/to/root/{sys,proc}
cp -a /etc/pacman.d/gnupg "/path/to/root/etc/pacman.d/"