I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: http://vault.centos.org/7.0.1406/os/Source/SPackages/kernel-3.10.0-123.el7.src.rpm
I can build the kernel rpm successfully (using "
rpmbuild -ba kernel.spec"). After that, I install the kernel rpm with no problems (using "rpm -Uvh").
However, when I reboot the system using the new kernel, it drops into to the dracut command line and gives the below warnings:
dracut-initqueue: Warning: could not boot dracut-initqueue: Warning: /dev/disk/by-uuid/58f6642f-bbb9-1479-b03c-e97156f66975 does not exist
System is not booting after this point.
I checked if
/dev/disk/bu-uuid/58f6642f-bbb9-1479-b03c-e97156f66975 really exists or not using blkid command and blkid doesn't return anything.
/dev/disk/by-uuid/58f6642f-bbb9-1479-b03c-e97156f66975 not exist? What am I missing?
Interestingly, if I download the kernel rpm (not the source) and install it, I can reboot the system with no problems. It's not stuck in dracut then.