# Why can't I find the hard disk and cannot enter the system after compiling the new version of the kernel and booting it?

**URL:** <https://forums.rockylinux.org/t/why-cant-i-find-the-hard-disk-and-cannot-enter-the-system-after-compiling-the-new-version-of-the-kernel-and-booting-it/17101>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [January 8, 2025, 4:06am UTC](https://forums.rockylinux.org/t/why-cant-i-find-the-hard-disk-and-cannot-enter-the-system-after-compiling-the-new-version-of-the-kernel-and-booting-it/17101 "2025-01-08T04:06:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snjvery](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@snjvery](https://forums.rockylinux.org/u/snjvery)\
**Post date:** [January 8, 2025, 4:06am UTC](https://forums.rockylinux.org/t/why-cant-i-find-the-hard-disk-and-cannot-enter-the-system-after-compiling-the-new-version-of-the-kernel-and-booting-it/17101/1 "2025-01-08T04:06:17Z")

</div>

I installed Rocky Linux 8.10 on a Dell server, and then manually compiled the 4.19.325 version of the kernel. The compilation command is as follows  
make clean  
cp /boot/config-$(uname -r) .config  
make -j$(nproc)  
make INSTALL\_MOD\_STRIP=1 modules\_install  
make install  
kernel-install add 4.19.325-custom /boot/vmlinuz-4.19.325-custom

After restarting, I cannot enter the compiled kernel. The prompt is that the hard disk cannot be found. ls /dev/sd\* does not have any hard disk

Switching back to the old kernel can work normally. How can I enter the kernel correctly?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 9, 2025, 4:07am UTC](https://forums.rockylinux.org/t/why-cant-i-find-the-hard-disk-and-cannot-enter-the-system-after-compiling-the-new-version-of-the-kernel-and-booting-it/17101/2 "2025-03-09T04:07:10Z")

</div>

Closed on March 9, 2025, 4:07am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
