Gerardo Marx Chávez-Campos 025ee33b55 | 1 year ago | |
---|---|---|
bspwm | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 1 year ago | |
base-mbr.sh | 3 years ago | |
base-uefi.sh | 3 years ago | |
cinnamon.sh | 3 years ago | |
dwm.sh | 3 years ago | |
gnome.sh | 3 years ago | |
kde.sh | 3 years ago | |
xfce.sh | 3 years ago | |
xorg-basic.sh | 3 years ago |
In this repository you will find packages-scripts for the base install of Arch Linux and the Gnome, KDE, Cinnamon and Xfce desktop environments. More to come for Windows Managers soon.
Modify the packages to your liking, make the script executable with chmod +x scriptname
and then run with ./scriptname
.
Remember that the first part of the Arch Linux install is manual, that is you will have to partition, format and mount the disk yourself. Install the base packages and make sure to include git
so that you can clone the repository in chroot
.
A small summary:
$ setfont ter-132n
$ loadkeys es
$ timedatectl set-ntp true
If there is possible get access through a Ethernet cable, otherwise configure the Wi-Fi connection
# rmmod b43 ssb bcma wl
# modprobe wl
# iwctl
To get an interactive prompt do:
$ iwctl
The interactive prompt is then displayed with a prefix of [iwd]#.
Tip: In the iwctl prompt you can auto-complete commands and device names by hitting Tab. To exit the interactive prompt, send EOF by pressing Ctrl+d. You can use all commands as command line arguments without entering an interactive prompt. For example: iwctl device wlan0 show.
To list all available commands:
[iwd]# help
Connect to a network
First, if you do not know your wireless device name, list all Wi-Fi devices:
[iwd]# device list
Then, to scan for networks:
[iwd]# station device scan
You can then list all available networks:
[iwd]# station device get-networks
Finally, to connect to a network:
[iwd]# station device connect SSID
Tip: The user interface supports autocomplete, by typing station and Tab Tab, the available devices are displayed, type the first letters of the device and Tab to complete.
To test wifi use:
$ ping 8.8.8.8
Refresh the servers with
$ pacman -Syy
first verify your boot mode by using:
ls /sys/firmware/efi/efivars
if you have an answer from the system you will use the efi
installation mode.
Then, use lsblk
to determine your device name and topology:
$ lsblk
then create the next partitions using:
$ cgdisk /dev/sda
From here and now, the HD path (/dev/sda) will depend from the number and order of your hard drives. Thus, please verify the path structure and size with lsblk
command. Therefore, in the next steps change the path for your preferred one
For EFI partitions use:
mkfs.vfat /dev/sda1
For swap partitions use:
mksawp /dev/sda2
swapon /dev/sda2
For ext4 partitions use:
mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sda4
mkfs.ext4 /dev/sda5
$ mount /dev/sda3 /mnt
$ mkdir -p /mnt/boot/efi
$ mkdir /mnt/home
$ mount /dev/sda1 /mnt/boot/efi
$ mount /dev/sda4 /mnt/home
To install the basic or base system you will use the scripts in this repository. To install the base system modify the file base-uefi.sh
to your needs. The minimal packages and configuration is already done in the file. However, change your user-name
and the root password
$ pacstrap /mnt base linux linux-firmware git vim broadcom-wl-dkms linux-headers
$ genfstab -U /mnt >> /mnt/etc/fstab
$ arch-chroot /mnt
$ git clone http://gmarxcc.com:8088/gmarx/arch-basic.git
$ cd arch-basic
$ ./base-uefi.sh
check also the file /etc/mkinitcpio.conf
to select properly the video drivers
MODULES=(radeon) en el archivo
mkinitcpio -p linux
To install the most basic Windows System (also useful to work with DWM -Dynamic Window Manager-) or X System run the script xorg-basic.sh
, also available in this repository by:
$ ./xorg-basic.sh
Note: it is widely recommended to work with dwm and the suckles applications. Visit the repository: http://gmarxcc.com:8088/Linux/dwm, already prepared to run in Apple Hardware. To implement the dwm in other platforms search the suckless web.