You are not logged in.
Pages: 1
Good morning.
I was installing Arch on an 250gb SSD. So i created 4 partitions: 512M EFI (vfat) (/dev/sda1), 150G linux filesystem (ext4) (/dev/sda2), 16G swap partition (/dev/sda4) and the, remaining (~70G) linux filesystem (ext4). I mounted the /dev/sda2 to /mnt, the /dev/sda1 to /mnt/boot, the /dev/sda3 to /mnt/home and simply turnet the swap on. After the first downloads, i entered Arch (always from USB). So i installed grub and efibootmgr, but when i tryed "grub-install —efi-directory=/boot", it returned "Installing for i386-pc platform. grub-install: error: install device isn't specified.". So I (scared), rebooted the PC, and (as expected, it didn't boot). So i run the USB again, mounted the partitions (swap included), and tryed "grub-install —target=x86_64-efi —efi-directory=/boot" (target because I'm running on a 64 bit machine), but this time, it returned "Could not prepare Boot variable: No such file or directory. Installation finished. No error reported". So i rebooted to test, and it didn't work again.
What can i do? Thanks
Last edited by bobadigo (2016-09-22 11:34:33)
Offline
It appears you didn't enter the command correctly. From the wiki:
# grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=grub
The commands you tried were:
grub-install —efi-directory=/boot
grub-install —target=x86_64-efi —efi-directory=/boot
Your second command was almost correct, but as you can see you're missing the bootloader ID part.
Last edited by basica (2016-09-18 00:36:03)
Offline
I tryed right now:
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
Installing for x86_64-efi platform.
Could not prepare Boot variabile: No such file or directory.
Installation finished. No error reported.
Same as yesterday..
P.S. I had installed windows 10 on a 500GB HDD. I tryed to remove it, but the problem persist
Last edited by bobadigo (2016-09-18 09:33:08)
Offline
Could not prepare Boot variabile: No such file or directory.
Are you booted in UEFI mode?
Are all of the other requirements for UEFI variable support satisfied?
https://wiki.archlinux.org/index.php/Un … le_support
If your motherboard is not accepting new NVRAM entries then you can try the default .efi loader location instead:
# grub-install --target=x86_64-efi --efi-directory=/boot --removable
http://www.rodsbooks.com/efi-bootloader … ive-naming
Note that "--bootloader-id=" is for convenience only
Jin, Jîyan, Azadî
Offline
I checked, and i am not running in EFI mode. I don't know it is possible, considering that i am using a z170 motherboard..
How can i boot using EFI mode?
Offline
Likely an option in your BIOS. Each one is named differently though... google 'brand/model boot efi mode'
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I disabled "Secure Boot"and "Storage Boot Option" to UEFI. Nothing, always the same.
EDIT
Ok, now I am in EFI mode. To do that, i went to "boot override" and selected "UEFI:USB" (first it was just "USB").
I try installing again, i will tell you how it goes.
EDIT
Installation succesfully done, that to all for the answers!
Last edited by bobadigo (2016-09-18 22:02:22)
Offline
Pages: 1