View previous topic :: View next topic |
Author |
Message |
hiroru n00b
Joined: 15 Jul 2010 Posts: 3 Location: Spain
|
Posted: Mon Apr 14, 2014 3:27 pm Post subject: Grub2 with GPT and UEFI don't read grub.conf file |
|
|
Hi Guys,
After many hours trying to solve it by myself I'm exhausted
I have Grub2 working with GPT and UEFI but, Grub always run with minimal-bash command line. Once there, if I do:
Code: | configfile /grub/grub.conf |
It shows my menu and Gentoo start smoothly....
This is my fstab:
Code: |
/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: |
.
|-- 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?
Thank in advance _________________ Old Gentoo User, coming back to the roots (from Debian) |
|
Back to top |
|
|
jfp Guru
Joined: 08 Jul 2007 Posts: 326 Location: Virginia, USA
|
Posted: Mon Apr 14, 2014 5:24 pm Post subject: |
|
|
Just an idea.
try renaming your /boot/grub/grub.conf to /boot/grub/grub.cfg
From /etc/default/grub
Code: | # To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
# 'grub2-mkconfig -o /boot/grub/grub.cfg'
|
_________________ jfp |
|
Back to top |
|
|
srs5694 Guru
Joined: 08 Mar 2004 Posts: 434 Location: Woonsocket, RI
|
Posted: Tue Apr 15, 2014 2:01 am Post subject: |
|
|
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/ |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
|
Back to top |
|
|
hiroru n00b
Joined: 15 Jul 2010 Posts: 3 Location: Spain
|
Posted: Tue Apr 15, 2014 7:51 am Post subject: |
|
|
jfp wrote: | Just an idea.
try renaming your /boot/grub/grub.conf to /boot/grub/grub.cfg
From /etc/default/grub
Code: | # 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) |
|
Back to top |
|
|
|