mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Clean up code
This commit is contained in:
parent
2beb36e84d
commit
37a6541331
1 changed files with 0 additions and 13 deletions
13
install.sh
13
install.sh
|
@ -1,25 +1,12 @@
|
|||
# This file is used to partition, mount and install arch linux on UEFI systems.
|
||||
|
||||
# Default keyboard layout is US.
|
||||
# To change layout :
|
||||
# 1. Use `localectl list-keymaps` to display liste of keymaps.
|
||||
# 2. Use `loadkeys [keymap]` to set keyboard layout.
|
||||
# ex : `loadkeys de-latin1` to set a german keyboard layout.
|
||||
|
||||
# Figure out how much RAM the system has an set a variable
|
||||
# ramTotal=$(grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024}')
|
||||
ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'})
|
||||
|
||||
# Update system clock.
|
||||
# timedatectl set-ntp true
|
||||
|
||||
# Load kernel modules
|
||||
# modprobe dm-crypt
|
||||
# modprobe dm-mod
|
||||
|
||||
# Switch to root
|
||||
# sudo -i
|
||||
|
||||
# Detect and list the drives.
|
||||
lsblk -f
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue