install.sh 454 B

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