Giter Site home page Giter Site logo

archbootstrap's Introduction

archbootstrap

An ArchLinux bootstrap scripts.

The repository consists of a configuration file and two scripts:

environment

A bash file used as a configuration file.

00.step.sh

It wipes out the specified disk in the configuration file (environment, in which creates two partitions, one for boot and other for the OS.

The OS partition is encrypted with crypsetup and configured with a basic LVM layout with ext4 as the filesystem.

After the disk has been configured, it generates a environment.partition file to be used by the 01.script.sh (needed to configure and setup grub).

chroot

arch-chroot /mnt
cd /bootstrap/archbootstrap/

01.step.sh

It does some local and locale configuration, setting up the hostname, resolv, passwords, users, sudoers and grub configuration (only EFI is being supported for now).

Finally allocating swap as a file.

Network (WiFi)

There's no preconfigured network, use iwd to configure the wifi connection if needed, some iwd hints:

List devices

iwctl device list

Scan networks

iwctl station DEVICE scan

Show networks

iwctl station DEVICE get-networks

Connect

iwctl station DEVICE connect SSID --passphrase PASSWORD

Check connection

iwctl station DEVICE show

DHCP configuration

dhclient

Check connection

ping 1.1.1.1.

Enable integrated DHCP (if needed)

cat <<EOF > /etc/iwd/main.conf
[General]
EnableNetworkConfiguration=true
EOF

Start iwd daemon (if necessary)

systemctl status iwd
systemctl start iwd

Configuration files

/var/lib/iwd/

More about iwd: https://wiki.archlinux.org/title/Iwd.

Check also:

archbootstrap's People

Contributors

atejeda avatar

Watchers

 avatar James Cloos avatar

Forkers

srosalest

archbootstrap's Issues

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.