install-hyperbola/asus: Fix package syntax (closes #7 #8 #9)

This commit is contained in:
Jesús 2020-04-26 21:17:27 -05:00
parent 6ce8222e00
commit a27fd36724
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 28 additions and 19 deletions

View File

@ -54,43 +54,48 @@
13. `# mount /dev/mmcblk1p2 /mnt`
`# mount /dev/mmcblk1p3 /mnt/home`
14. `# pacstrap -i /mnt base base-devel dhcpcd grub-bios wpa_supplicant xf86-input-synaptics kernel-firmware`
14. `# pacstrap -i /mnt base base-devel dhcpcd grub-bios wpa_supplicant xf86-input-synaptics kernel-firmware grub efibootmgr dosfstools openssh os-prober mtools linux-libre-lts-api-headers linux-libre-lts`
15. `# genfstab -U -p /mnt >> /mnt/etc/fstab`
16. `# arch-chroot /mnt`
17. `# pacman -S base-devel grub efibootmgr dosfstools openssh os-prober mtools linux-libre-lts-api-headers linux-libre-lts`
16. Build EFI
```bash
# mkdir /boot/efi
# mount /dev/mmcblk1p1 /boot/efi
# mkdir /boot/efi/EFI/BOOT
# cp -v /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
```
17. `# arch-chroot /mnt`
18. `# nano /etc/locale.gen` (uncomment es_ES.UTF-8)
19. `# locale-gen`
20. Enable `root` logon via `ssh`
21. `# rc-update add sshd default`
22. `# passwd` (for setting root password)
23. Build EFI (before `arch-chroot /mnt`)
`# mkdir /boot/efi`
`# mount /dev/mmcblk1p1 /boot/efi`
`# mkdir /boot/efi/EFI/BOOT`
`# cp -v /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI`
24. `nano -w /boot/efi/startup.nsh`
23. `nano -w /boot/efi/startup.nsh`
```bash
bcf boot add 1 fs0:\EFI\GRUB\grubx64.efi "Hyper GRUB bootloader"
```
25. `# grub-install --target=x86_64-efi --bootloader-id=GRUB --recheck --efi-directory=/boot/efi`
24. `# grub-install --target=x86_64-efi --bootloader-id=GRUB --recheck --efi-directory=/boot/efi`
26. `# cp /usr/share/locale/es/LC_MESSAGES/grub.mo /boot/grub/locale/es.mo`
27. `# grub-mkconfig -o /boot/grub/grub.cfg`
25. `# cp /usr/share/locale/es/LC_MESSAGES/grub.mo /boot/grub/locale/es.mo`
26. `# grub-mkconfig -o /boot/grub/grub.cfg`
28. Build botia32.efi (necessary in ASUSx205TA)
27. Build botia32.efi (necessary in ASUSx205TA)
`# grub-mkstandalone -d /usr/lib/grub/i386-efi/ -O i386-efi --modules="part_gpt part_msdos" --fonts="unicode" --locales="uk" --themes="" -o "/boot/efi/EFI/GRUB/bootia32.efi" "boot/grub/grub.cfg=/boot/grub/grub.cfg" -v`
`# cp -v /boot/efi/EFI/GRUB/bootia32.efi /boot/efi/EFI/BOOT/BOOTIA32.EFI`
29. Create swap file:
28. Create swap file:
* `# fallocate -l 2G /swapfile`
* `# chmod 600 /swapfile`
* `# mkswap /swapfile`
* `# echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab`
30. `$ exit`
31. `# umount -a`
32. `# reboot`
29. `$ exit`
30. `# umount -a`
31. `# reboot`

View File

@ -54,3 +54,7 @@ Recuerde cambiar `/output/path` y `/to/path/` por sus respectivo directorios
### Copiar bootia32.efi
Copie el archivo (bootia32.efi) al directorio /EFI/BOOT de la memoria usb
ejemplo:
cp -v /run/hyperiso/bootmnt/EFI/BOOT/bootx64.efi /mnt/boot/efi/EFI/BOOT/BOOTX64.EFI