Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Grub2 with GPT and UEFI don't read grub.conf file

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
hiroru
n00b
n00b
User avatar
Posts: 3
Joined: Thu Jul 15, 2010 7:01 am
Location: Spain

Grub2 with GPT and UEFI don't read grub.conf file

  • Quote

Post by hiroru » Mon Apr 14, 2014 3:27 pm

Hi Guys,

After many hours trying to solve it by myself I'm exhausted :x

I have Grub2 working with GPT and UEFI but, Grub always run with minimal-bash command line. Once there, if I do:

Code: Select all

configfile /grub/grub.conf
It shows my menu and Gentoo start smoothly....

This is my fstab:

Code: Select all

/dev/sda2 on /boot type ext4 (rw,relatime,noatime,discard)
/dev/sdb1 on /home type ext4 (rw,relatime,noatime,discard)
/dev/sda1 on /boot/efi type vfat (rw) <-- Of course, this is EFI EF00 Partition
And this is my /boot dir tree:

Code: Select all

.
|-- efi
|   `-- EFI
|       `-- gentoo
|           |-- grub.conf
|           `-- grubx64.efi
|-- grub
|   |-- fonts
|   |   `-- unicode.pf2
|   |-- grub.conf
|   |-- grub.conf.bak
|   |-- grubenv
|   |-- locale
|   |   |-- ast.mo
|   |   |-- [...]
|   |   `-- zh_TW.mo
|   |-- themes
|   |   `-- starfield
|   |       |-- blob_w.png
|   |       |-- [...]
|   |       `-- theme.txt
|   `-- x86_64-efi
|       |-- acpi.mod
|       |-- [...]
|       `-- zfs.mod
|-- initramfs-genkernel-x86_64-3.12.13-gentoo
|-- kernel-genkernel-x86_64-3.12.13-gentoo
|-- lost+found
`-- System.map-genkernel-x86_64-3.12.13-gentoo
Any idea here? :oops:

Thank in advance
Old Gentoo User, coming back to the roots (from Debian)
Top
jfp
Guru
Guru
Posts: 326
Joined: Sun Jul 08, 2007 9:10 pm
Location: Virginia, USA

  • Quote

Post by jfp » Mon Apr 14, 2014 5:24 pm

Just an idea.
try renaming your /boot/grub/grub.conf to /boot/grub/grub.cfg
From /etc/default/grub

Code: Select all

# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
#     'grub2-mkconfig -o /boot/grub/grub.cfg'
jfp
Top
srs5694
Guru
Guru
Posts: 434
Joined: Mon Mar 08, 2004 5:08 pm
Location: Woonsocket, RI
Contact:
Contact srs5694
Website

  • Quote

Post by srs5694 » Tue Apr 15, 2014 2:01 am

My suggestion is to replace GRUB 2 with something else. IMHO, GRUB 2 is overly-complex and far too difficult to configure. Every other EFI boot loader for Linux is easier to configure, at least when using a distribution like Gentoo that expects users to do much of the work. (Fedora, Ubuntu, and similar distributions have scripts that set GRUB 2 up tolerably well for typical configurations.) See the following page for information on the alternatives:

http://www.rodsbooks.com/efi-bootloaders/
Top
nlsa8z6zoz7lyih3ap
Guru
Guru
Posts: 388
Joined: Tue Sep 25, 2007 5:35 pm
Location: Canada

  • Quote

Post by nlsa8z6zoz7lyih3ap » Tue Apr 15, 2014 2:38 am

If you liked the way that grub-0.97 could be configured and used, then see
http://wiki.gentoo.org/wiki/GRUB2_Quick ... figuration

for how to use grub2 much the same way.

In particular note the section "Manual Configuration"
Top
hiroru
n00b
n00b
User avatar
Posts: 3
Joined: Thu Jul 15, 2010 7:01 am
Location: Spain

  • Quote

Post by hiroru » Tue Apr 15, 2014 7:51 am

jfp wrote:Just an idea.
try renaming your /boot/grub/grub.conf to /boot/grub/grub.cfg
From /etc/default/grub

Code: Select all

# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
#     'grub2-mkconfig -o /boot/grub/grub.cfg'
Thank you jfs,

I have a sense of shame about this..... but it's true, simply change grub.conf with grub.cgf :?
Old Gentoo User, coming back to the roots (from Debian)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic