I have compiled Linux kernel from source (without problem) and tried to install it. Specifically, after unpacking the Linux source code, I did

make && make modules

to compile. Then after some configuration, I simply used

sudo make modules_install install

to install the newly built binary. During this process, there is an error about locating file /sys/class/net/eth0/device/bus. It also throws grubby fatal error. Detailed error stack is as follows:

sh /mnt/factor/myProj3/linux- arch/x86/boot/bzImage System.map "/boot"
unable to stat /sys/class/net/eth0/device/bus: No such file or directory
WARNING: No module xenblk found for kernel, continuing anyway
grubby fatal error: unable to find a suitable template

The source code should be all right. What could be the cause of this fatal error? Without fixing it, I can't get Linux installed. Please advise.

1 Answer 1


Have you checked the bug list at



Both of them talk of creating a grub template file at /etc/default/grub , while also making sure if any of the other grub defaults or options to be made into this file.


Or edit /boot/grub/grub.conf manually and add those lines into the configuration to save you some sleep.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .