synteejol Posted August 26, 2018 Report Share Posted August 26, 2018 I tried to compile kernel using genkernel but I got the follwing error ln: failed to create symbolic link 'kernel': Operation not permitted * ERROR: Could not create the kernel symlink! In attachment genkernel log and genkernel configuration file what should I do genkernel.log genkernel.conf Link to comment Share on other sites More sharing options...
0 cardinal Posted August 26, 2018 Report Share Posted August 26, 2018 The error could be caused by a symlink/file name collision. /usr/share/genkernel/gen_func.sh print_info 5 " Make new symlink(s) (from ${BOOTDIR}):" print_info 5 " ${symlinkName} -> ${currDestImage}" pushd ${BOOTDIR} >/dev/null ln -s "${currDestImage}" "${symlinkName}" || gen_die "Could not create the ${symlinkName} symlink!" Genkernel should either append .old to existing symlink and its target file or delete symlinks to prevent collision. I have SYMLINK="no" and LOGLEVEL="3" in genkernel.conf Link to comment Share on other sites More sharing options...
0 synteejol Posted August 28, 2018 Author Report Share Posted August 28, 2018 Thank you for your reply, editing genkernel.conf the problem is solved. But there is another issue. I build kernel saccesfuly, update boot then reboot. With new kernel i obtain a new error: Network manager is inactive Link to comment Share on other sites More sharing options...
0 cardinal Posted August 29, 2018 Report Share Posted August 29, 2018 If you have no network connectivity with new kernel check that your network adapters are listed. If not you may need to identify and add the correct drivers to your custom kernel configuration and rebuild the kernel. I have a usb wifi adapter and motherboard built-in ethernet adapter: rj@funtoo ~ $ ls /sys/class/net eth0 lo wlan0 NetworkManager warning on my system in early boot message from rc.log: * Starting NetworkManager ... [ ok ] Connecting. 1sConnecting.. 1sConnecting... 1sConnecting....... 1sConnecting........ 1sConnecting......... 1sConnecting.......... 1sConnecting........... 1sConnecting............ 1sConnecting............. 1sConnecting.............. 1sConnecting............... 1sConnecting............... 0s [offline] * Marking NetworkManager as inactive. It will automatically be marked * as started after a network connection has been established. * WARNING: NetworkManager has started, but is inactive My network connectivity is established to both wifi and ethernet adapters despite the warning : Link to comment Share on other sites More sharing options...
Question
synteejol
I tried to compile kernel using genkernel but I got the follwing error
ln: failed to create symbolic link 'kernel': Operation not permitted
* ERROR: Could not create the kernel symlink!
In attachment genkernel log and genkernel configuration file
what should I do
genkernel.log
genkernel.conf
Link to comment
Share on other sites
3 answers to this question
Recommended Posts