Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] installed Gentoo on SSD - no bootable device Sid S <r030t1@×××××.com>