View previous topic :: View next topic |
Author |
Message |
Mr.P4T4TE n00b

Joined: 15 Jul 2011 Posts: 36
|
Posted: Sun Nov 06, 2016 6:05 pm Post subject: [solved] Genkernel and grub2 |
|
|
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 |
|
 |
fedeliallalinea Moderator


Joined: 08 Mar 2003 Posts: 25394 Location: here
|
Posted: Sun Nov 06, 2016 6:15 pm Post subject: |
|
|
Bug with a proposed patch _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Mr.P4T4TE n00b

Joined: 15 Jul 2011 Posts: 36
|
Posted: Sun Nov 06, 2016 6:46 pm Post subject: |
|
|
Works !
Thanks you |
|
Back to top |
|
 |
|