Krepi n00b
Joined: 04 Jul 2014 Posts: 1
|
Posted: Fri Jul 04, 2014 8:06 am Post subject: GRUB2 trouble |
|
|
Hi all! First time gentoo installer here, having trouble with GRUB2. I hope this isn't in the wrong section - it's not legacy and I couldn't find my issue when I googled.
I'm trying to install GRUB2 as my bootloader on an EFI system that is going to run only gentoo. I've emerged GRUB2 with the command
Code: | emerge sys-boot/grub |
My hard drive is configured so that /dev/sda1 is meant to be the efi partition, and I mount that in /boot/efi. I then try to run
Code: | grub2-install --target=x86_64-efi --efi-directory=/boot/efi --boot-directory=/boot |
which is something I arrived at because
Code: | grub2-install /dev/sda |
only gave me "efi distributor id not specified".
Now, to the actual problem: this generates the error message "mkdir: cannot create directory ‘/boot/efi/EFI’: Cannot allocate memory"
I realize that mkdir is telling me that it can't create the directory, but there is enough space to create a directory (partition is currently empty). I am in a chroot environment while doing these things. I don't know what's going on, and would be thankful for any help or explanations![/code] |
|