public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
  @ 2014-03-08  7:18 99%   ` Facundo Curti
  0 siblings, 0 replies; 1+ results
From: Facundo Curti @ 2014-03-08  7:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2394 bytes --]

2014-03-08 3:20 GMT-03:00 Pavel Volkov <negaipub@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! ;)

[-- Attachment #2: Type: text/html, Size: 6290 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-03-08  5:31     [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI Facundo Curti
2014-03-08  6:20     ` Pavel Volkov
2014-03-08  7:18 99%   ` Facundo Curti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox