Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel with grub2 support [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Caiman
n00b
n00b


Joined: 01 Jul 2007
Posts: 69

PostPosted: Mon Dec 23, 2013 10:35 am    Post subject: genkernel with grub2 support [SOLVED] Reply with quote

new installation , grub2 only
running

Code:
genkernel --menuconfig --bootloader=grub all


give me :

* Adding kernel to /boot/grub/grub.conf...
awk: fatal: cannot open file `/var/tmp/genkernel/31744.28539.4940.32356/grub.map' for reading (No such file or directory)
* Error! /boot/grub/grub.conf does not exist and the correct settings can not be automatically detected.
* Please manually create your /boot/grub/grub.conf file.

( I guess , it should work only with grub. correct ? )

fixed by :

Code:
grub2-mkconfig -o /boot/grub/grub.cfg


Is there other options to run genkernek with grub2?

Thanks,
Caiman.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1414

PostPosted: Tue Dec 24, 2013 8:48 pm    Post subject: Reply with quote

Hi,
in genkernel.conf is this option

/etc/genkernel.conf wrote:

# Add new kernel to grub
BOOTLOADER="grub2"


Genkernel looks in /etc/ fstab and knows the boot partition.
And it works well.

I have all the options in /etc/default/grub
in / etc/grub.d/40_custom
and in genkernel.conf.

So I have only one command:

genkernel all

regards
Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Caiman
n00b
n00b


Joined: 01 Jul 2007
Posts: 69

PostPosted: Tue Dec 24, 2013 9:10 pm    Post subject: Reply with quote

Thanks Marlo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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