Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Genkernel and grub2
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
Mr.P4T4TE
n00b
n00b


Joined: 15 Jul 2011
Posts: 36

PostPosted: Sun Nov 06, 2016 6:05 pm    Post subject: [solved] Genkernel and grub2 Reply with quote

Hi,

I'm trying to configure genkernel with BOOTLOADER="grub2" option but it seem that genkernel use the old way : grub2-mkconfig :

Code:
 genkernel --no-symlink all
* Gentoo Linux Genkernel; Version 64
* Running with options: --no-symlink all

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.7.4-gentoo for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-4.7.4-gentoo
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...
*         >> Compiling 4.7.4-gentoo bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
*         >> Compiling 4.7.4-gentoo modules...
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-4.7.4-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending udev cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Appending ld_so_conf cpio data...
* ldconfig: adding /sbin/ldconfig...
* ld.so.conf: adding /etc/ld.so.conf{.d/*,}...
*         >> Finalizing cpio...
*         >> Compressing cpio data (.xz)...
* You can customize Grub2 parameters in /etc/default/grub.
* Running grub2-mkconfig to create /boot/grub/grub.cfg...
/usr/share/genkernel/gen_bootloader.sh: ligne 53: grub2-mkconfig : not found
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab


How can I force genkernel to use "grub-mkconfig" instead of "grub2-mkconfig" ?


Last edited by Mr.P4T4TE on Sun Nov 06, 2016 6:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21798
Location: here

PostPosted: Sun Nov 06, 2016 6:15 pm    Post subject: Reply with quote

Bug with a proposed patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Mr.P4T4TE
n00b
n00b


Joined: 15 Jul 2011
Posts: 36

PostPosted: Sun Nov 06, 2016 6:46 pm    Post subject: Reply with quote

Works !
Thanks you
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