Gentoo Archives: gentoo-user

From: Sid S <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] installed Gentoo on SSD - no bootable device
Date: Fri, 05 Sep 2014 04:30:30
Message-Id: CAAD4mYjD03txp6J0htW2dpMJGn4LkHwNtsSxeHfQ+K=jAH4T0w@mail.gmail.com
In Reply to: Re: [gentoo-user] installed Gentoo on SSD - no bootable device by Joseph
1 I believe what you've said is correct... because I'm pretty sure I read it
2 in the documentation.
3
4
5 On Thu, Sep 4, 2014 at 11:08 PM, Joseph <syscon780@×××××.com> wrote:
6
7 > On 09/04/14 20:44, Daniel Frey wrote:
8 >
9 >> On 09/04/2014 08:14 PM, Joseph wrote:
10 >>
11 >>> On 09/04/14 19:41, Daniel Frey wrote:
12 >>>
13 >>>> On 09/04/2014 05:36 PM, Joseph wrote:
14 >>>>
15 >>>>> When I installed grub2 I got no errors:
16 >>>>> grub2-install /dev/sda
17 >>>>> Installation finished. No error reported.
18 >>>>>
19 >>>>>
20 >>>> If you are trying to boot in EFI mode, you aren't installing it
21 >>>> correctly. That installed to the MBR in legacy mode.
22 >>>>
23 >>>>
24 >>>> Instructions are here: http://wiki.gentoo.org/wiki/GRUB2
25 >>>>
26 >>>> You need to mount /boot, and mount the EFI boot partition before
27 >>>> installing grub2 using `grub2-install --target=x86_64-efi`.
28 >>>>
29 >>>
30 >>> I'm still lost with this grab2, very confusing. Gentoo official
31 >>> documentation did not mention any of this :-/
32 >>>
33 >>> Official documentation did ask to create /dev/sda1 2M BIOS boot
34 >>> partition but there was no instruction how to mount it or format it.
35 >>> I was under impression Grub2 will do all of this.
36 >>> I booted with CD-minimal and there is no "mkdosfs" command.
37 >>>
38 >>> Do I need to format the /dev/sda1?
39 >>>
40 >>> If I do:
41 >>> mkfs -t vfat -F 32 -n efi-boot /dev/sda1
42 >>> mkfs.vfat: No such file or directory
43 >>>
44 >>>
45 >> I forgot to mention in my last post that you absolutely must boot from
46 >> an EFI-enabled kernel, the gentoo ISOs do not do this. I used the Mint
47 >> 17 ISO to do this, when you go to boot options it should list it as EFI
48 >> bootable.
49 >>
50 >
51 > Thank you for explanation.
52 > I have a question with regards to that EFI. Does it refer to this
53 > /dev/sda1 2M BIOS boot partition?
54 > So this partition needs to be formatted to DOS file system and mounted in
55 > /boot/efi directory?
56 > Gentoo Documentation is very outdated and confusing when it comes to this
57 > new GRUB2.
58 > Sometimes I want to scrap this crap and go back to standard legacy GRUB.
59 >
60 > --
61 > Joseph
62 >
63 >