hello everyone this is my first archlabs install error post!
so after 2x attempts at installing archlabs on a thinkpad t410 ( legacy boot) on a free partition to achieve a dual boot with windows 10, I ended up with some errors-
ERROR: installing for the i386-pc platform
Installation finished. No error reported
Unrecognized option --target=i386-pc
grub-mkconfig -o /boot/grub/grub.cfg fails with-
failed to get canonical path of airrootfs
cant arch-chroot mnt either, and that returns with-
mount/proc mount point does not exist
the device boots into a grub prompt-
and loading a winPE environment it cant see the OS if you probe with bootrec /ScanOs
However- a os-probe does detect the windows and archlabs partitions sucessfully.
any help is appreciated.
Lastly sorry about the grammar i had to type that all out im on another machine atm.
^ This indicates that you haven’t chrooted in to the installed system and are still running from the “live” environment.
If arch-chroot doesn’t work can you do it manually?
If the main system partition is on /dev/sda3 (for example) then use
mount /dev/sda3 /mnt
for i in proc sys dev ; do mount --rbind /$i /mnt/$i ; done
chroot /mnt /bin/bash
grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
reboot
If you have /boot on a separate partition then mount that (to /mnt/boot) as well before running the chroot command.
Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted or another software may use it which could be identified for example by the help of the ‘fuser’ command.
ill try a reboot,then back into live and see what else comes up.
First, install the packages grub and efibootmgr: GRUB is the bootloader while efibootmgr is used by the GRUB installation script to write boot entries to NVRAM.
Then follow the below steps to install GRUB:
Mount the EFI system partition and in the remainder of this section, substitute esp with its mount point.
Choose a bootloader identifier, here named GRUB. A directory of that name will be created in esp/EFI/ to store the EFI binary and this is the name that will appear in the UEFI boot menu to identify the GRUB boot entry.
Execute the following command to install the GRUB EFI application grubx64.efi to esp/EFI/GRUB/ and install its modules to /boot/grub/x86_64-efi/.
# grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB