- #!bin/bash
- # Instala os pacotes básicos do archlinux:
- pacstrap /mnt base base-devel linux linux-firmware grub efibootmgr nano networkmanager broadcom-wl wireless_tools wpa_supplicant dialog net-tools blueman
- # Gera a fstab:
- genfstab -U -p /mnt >> /mnt/etc/fstab
- # Copia script post-install e pacman.conf >> /mnt:
- cp pacman.conf /mnt/etc/
- cp post-install.sh /mnt
- # Entra em chroot >> /mnt e executa post-install:
- arch-chroot /mnt sh post-install.sh
|