Forums

Skip to content

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

GRUB does not install the configuration directories![SOLVED]

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
6 posts • Page 1 of 1
Author
Message
JKosta
n00b
n00b
Posts: 32
Joined: Mon Nov 11, 2013 3:26 pm

GRUB does not install the configuration directories![SOLVED]

  • Quote

Post by JKosta » Mon Nov 25, 2013 12:43 am

I am trying to install and configuring grub but I have problems with it.
This package does not install the /etc/default/grub file nor /etc/grub/ directory.

What I run:

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
What I get:

Code: Select all

cat  /boot/grub/grub.cfg#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
I get an empty file...
Is it normal?
Last edited by JKosta on Mon Nov 25, 2013 8:25 pm, edited 1 time in total.
Top
tryn
Guru
Guru
User avatar
Posts: 325
Joined: Sat Dec 21, 2002 8:13 pm
Location: 39.885° N. -88.913° W.

  • Quote

Post by tryn » Mon Nov 25, 2013 3:02 am

JKosta

The command that you have posted is not correct if this is what you ran then try this one.
But first make sure that boot is mounted.

Code: Select all

grub2-mkconfig -o /boot/grub/grub.cfg
Are you using this link to help set grub2 ?
http://www.gentoo.org/doc/en/grub2-migration.xml
Top
Logicien
Veteran
Veteran
User avatar
Posts: 1555
Joined: Fri Sep 16, 2005 8:04 am
Location: Montréal

  • Quote

Post by Logicien » Mon Nov 25, 2013 8:22 am

Did you install grub-static? If yes, this is Grub 1 and there is no /etc/grub.d directory and no /etc/default/grub file. If you want Grub 2 you have to emerge the grub package according with the value you give to the GRUB_PLATFORMS variable in /etc/portage/make.conf.
Paul
Top
JKosta
n00b
n00b
Posts: 32
Joined: Mon Nov 11, 2013 3:26 pm

  • Quote

Post by JKosta » Mon Nov 25, 2013 5:38 pm

tryn,

Code: Select all

grub2-mkconfig -o /boot/grub/grub.cfg
bash: grub2-mkconfig: command not found

Logicien,

Code: Select all

emerge -av grub

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-boot/grub-2.00-r7  USE="binfont nls -custom-cflags -debug -device-mapper -doc -efiemu -libzfs -mkfont -mount -sdl -static" GRUB_PLATFORMS="pc -coreboot -efi-32 -efi-64 -emu -ieee1275 -multiboot -qemu -qemu-mips -yeeloong" 0 kB
Top
fturco
Veteran
Veteran
Posts: 1181
Joined: Wed Dec 08, 2010 8:38 pm

  • Quote

Post by fturco » Mon Nov 25, 2013 7:26 pm

When did you last updated your system? As far as I know sys-boot/grub-2.00-r7 has never been released. It's strange.
Top
JKosta
n00b
n00b
Posts: 32
Joined: Mon Nov 11, 2013 3:26 pm

  • Quote

Post by JKosta » Mon Nov 25, 2013 8:24 pm

I installed sys-boot/grub-2.00_p5107-r2 and solved the problem.

Thanks to tryn, Logicien and fturco!
Top
Post Reply

6 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