Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub not working - i dont find the error [closed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
woman-needs-help
n00b
n00b


Joined: 09 Mar 2019
Posts: 5

PostPosted: Sun Mar 17, 2019 7:41 pm    Post subject: Grub not working - i dont find the error [closed] Reply with quote

Hello, i have installed a new Gentoo -system. On the pc only works Gentoo. With super-Grub over CD the system will boot exactly. Please help. What can i do?
Infos:

Code:
localhost /boot/efi # grub-install --target=x86_64-efi
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.
localhost /boot/efi #


Code:
localhost /boot/efi # grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.


Code:
localhost /home/michi # grub-install --target=i386-efi --efi-directory=/boot --bootloader-id=gentoo_grub --recheck --debug
grub-install: error: /usr/lib/grub/i386-efi/modinfo.sh doesn't exist. Please specify --target or --directory.


Code:
#less /etc/fstab
#LABEL=boot             /boot           ext4            noauto,noatime  1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494              /               ext4            noatime         0 1
#LABEL=swap             none            swap            sw              0 0
#/dev/cdrom             /mnt/cdrom      auto            noauto,ro       0 0
/dev/sda2              /                ext4
/dev/sda1               /boot/       vfat
/etc/fstab lines 1-31/31 (END)


Code:
#less /etc/portage/make.conf

[# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
L10N="de"
USE="X, alsa, tk, tkinter, gtk, png, jpg, jpeg, gif"
GRUB_PLATFORMS="efi-64 pc"
/etc/portage/make.conf lines 1-21/21


Last edited by woman-needs-help on Sun Mar 31, 2019 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Mar 17, 2019 7:49 pm    Post subject: Reply with quote

woman-needs-help,

Welcome to Gentoo.

Either you are trying to install for a UEFI system and are not bootet in UEFI mode, so you get
Code:
EFI variables are not supported on this system.
or you are mixing a legacy BIOS system with a GPT disk label but did not make the 2MB bios_grub partition.
We can't tell for sure with the data provided.

Do you want to use Legacy BIOS or UEFI to boot?
The install is basically the same, so don't reinstall.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
woman-needs-help
n00b
n00b


Joined: 09 Mar 2019
Posts: 5

PostPosted: Thu Mar 21, 2019 1:19 pm    Post subject: Reply with quote

I want use UEFI.
Back to top
View user's profile Send private message
Verdazil
n00b
n00b


Joined: 14 Feb 2019
Posts: 47
Location: One small country ...

PostPosted: Thu Mar 21, 2019 2:24 pm    Post subject: Reply with quote

woman-needs-help wrote:
I want use UEFI.

1. Make the correct UEFI BIOS settings
2. Make the correct partitioning and Gentoo install for UEFI-sistems.
_________________
GA-Z170X-UD3 / i7-6700K / DDR4 32GB / Radeon RX 570 / TL-WDN4800 / Samsung SSD 850 EVO 250 Gb + WD Green WDC 2 Tb / BenQ BL2711U + LG TV 42LF650V
Back to top
View user's profile Send private message
woman-needs-help
n00b
n00b


Joined: 09 Mar 2019
Posts: 5

PostPosted: Thu Mar 21, 2019 3:24 pm    Post subject: Reply with quote

Whats correct ? Or whats wrong in my system?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Mar 21, 2019 3:57 pm    Post subject: Reply with quote

It is mandatory to boot in UEFI mode and activate your desired entry, the tool is efibootmgr. In case you have booted in legacy mode Grub2 install cannot do it for you.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
woman-needs-help
n00b
n00b


Joined: 09 Mar 2019
Posts: 5

PostPosted: Sun Mar 31, 2019 5:55 pm    Post subject: Reply with quote

I had installed Ubuntu and grub install with the help from ubuntu. Now it works. thanks to all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum