2014-03-08 3:20 GMT-03:00 Pavel Volkov <negai...@gmail.com>:

> On Saturday 08 March 2014 02:31:35 Facundo Curti wrote:
> > Hi all. I'm again with a newbie problem :/
> > I almost finish to install gentoo but I have a little problem, I can't
> boot
> > gentoo ._.
> >
> > I already installed the system with GRUB2 and systemd, I made partitions
> > with GPT using parted, but I can't boot.
> >
> > My partitions: http://bpaste.net/show/186352/
> >
> > This "legacy_boot" flag is a recent try I made :P. I also tried with
> "boot"
> > flag, and with no flags. But any way this does not work
> >
>
> With UEFI you don't need bios_grub partition.
> You also don't nee the legacy_boot flag.
>
> But what you need is a FAT32 partiton where the GRUB's UEFI binary will be
> installed.
>
> You mount that partition at /boot/efi
> You should also set GRUB_PLATFORMS="efi-64" in make.conf and update world.
>
> After that run "grub2-install /dev/sda" (or whatever block device you use).
>
> Then you can verify that GRUB 2 is added into UEFI boot menu: run
> efibootmgr as
> root (it's from sys-boot/efibootmgr package).
>
> Thank you men! You are awesome.

But I have a problem, after I do
emerge --update world
when I make grub2-install, I get off this error:

            /usr/lib/grub/i386-pc doesn't exist. Please especify --target
or --directory

So I choice a target:
            grub-install --target x86_64-efi/ /dev/sdb

And this says me:
            Fatal: Couldn't open either sysfs or procfs directories for
accesing EFI variables
            Try "modprobe efivars" as root

I try it and nothing happens... I mounted sys and proc following the gentoo
handbook:

            # mount -t proc proc /mnt/gentoo/proc            # mount
--rbind /sys /mnt/gentoo/sys            # mount --rbind /dev
/mnt/gentoo/dev


This is my df -h:

            Filesystem      Size  Used Avail Use% Mounted on
 rootfs           15G  3.1G   11G  23% /            udev
10M  4.0K   10M   1% /dev            tmpfs            15G  3.1G   11G
23% /            /dev/sdb2        15G  3.1G   11G  23% /
shm             1.8G     0  1.8G   0% /dev/shm            /dev/sdb4
    92G   60M   87G   1% /home            /dev/sdb1       2.0M  124K
1.9M   7% /boot/efi            udev             10M  4.0K   10M   1%
/dev            shm             1.8G     0  1.8G   0% /dev/shm


No errors mounting :/


Thank you! Bytes! ;)

Reply via email to