diff options
-rw-r--r-- | install-hyperbola/asus/install.md | 43 | ||||
-rw-r--r-- | install-hyperbola/asus/uefi.md | 4 |
2 files changed, 28 insertions, 19 deletions
diff --git a/install-hyperbola/asus/install.md b/install-hyperbola/asus/install.md index 0015410..b994439 100644 --- a/install-hyperbola/asus/install.md +++ b/install-hyperbola/asus/install.md @@ -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` diff --git a/install-hyperbola/asus/uefi.md b/install-hyperbola/asus/uefi.md index 84bb4da..c1ed842 100644 --- a/install-hyperbola/asus/uefi.md +++ b/install-hyperbola/asus/uefi.md @@ -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 |