On Sunday 14 Jun 2015 14:40:40 João Matos wrote:
> Hi list,
> 
> I've bought me a ultrabook dell vostro 5470, and I'm trying to get gentoo
> running on it.
> 
> I'm having a few problems, but I'd like to correct the boot one first.
> 
> I'm installing it from ubuntu live cd, and the comand:
> 
> efibootmgr --create --disk /dev/sda --part 7 --label "Gentoo" --loader
> "\boot\efi\boot\bootx64.efi"
> 
> seems to work. It put a entry on bios - Gentoo - but when I select it, the
> windows start (second boot).

I think you have confused the too partitions EFI and /boot.


> The handbook is not that clear, so I'm not sure if I should call /dev/sda7
> of "--part 7". Other difference is I'm not using a separate /boot. Its
> everything at /, so I'm also not not sure if this path is ok.

Your EFI boot code will jump to the FAT32 EFI partition.  In all likelihood 
this is /dev/sda1.  Unless you have some boot manager in there to point to 
your Linux partition at /dev/sda7 you will only boot what the EFI partition 
bootx64.efi code offers.  Presently the bootx64.efi in the EFI partition is 
the MSWindows boot code.  Create a back up if you intend to mess about with 
this, or you will need to use a MSWindows CD to recreate it with.


> This seems to be the very simple, and I'd like to have it on my system. But
> I've also tried grub2, and got the following error:
> 
> "grub2-install: error: cannot find EFI directory."

Clearly it can't find the appropriate EFI partition.  Have you mounted it?

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to