Missing boot files

Issues related to applications and software problems
Post Reply
rossiscool123
Posts: 3
Joined: 2020/01/05 23:50:02

Missing boot files

Post by rossiscool123 » 2020/01/05 23:59:20

Hello CentOS community. I own a dedicated server ran by Hetzner and earlier today I noticed I had almost zero storage in my /boot directory. being an absolute idiot I thought it was be a smart idea to delete some of the zips and tar.g files to free up some space, little did I know I was completely oblivious that these were the kernel files.
I have done some fiddling around inside the recovery system to try and pull all our files off in the /home directory but cannot access them. The server currently has 2 NVMe drives in RAID 0 if that helps. I know somewhere here must think this is a simple task but for me I'm still quite the novice and have learned a small bit more.

If anyone has any guidance or a solution please feel free to reply to this thread. If anyone here actually manages to resolve this fully I'll even pay you for your services so this should incentivize some of you.

I look forward to hearing from you,

Kind Regards,
Ross

User avatar
KernelOops
Posts: 173
Joined: 2013/12/18 15:04:03
Location: xfs file system

Re: Missing boot files

Post by KernelOops » 2020/01/06 17:08:00

You should be able to recover by booting the CentOS media. Its been some time since I last did it, the general idea is this:

1) boot from the CentOS media (iso image, dvd, network boot, whatever)
2) select rescue mode
3) mount your harddrive
4) chroot to the mounted directory
5) yum reinstall kernel grub2
6) re-configure and re-install grub2

maybe I'm forgetting a step or two, so google around for more details.
--
I love my computer - all my friends live there.
--

rossiscool123
Posts: 3
Joined: 2020/01/05 23:50:02

Re: Missing boot files

Post by rossiscool123 » 2020/01/07 09:29:50

Would you be willing to undergo this repair for a price, I'm not comfortable doing this myself and would happily pay you for it.

User avatar
KernelOops
Posts: 173
Joined: 2013/12/18 15:04:03
Location: xfs file system

Re: Missing boot files

Post by KernelOops » 2020/01/07 11:20:00

Sorry I can't do that for various reasons. Maybe you could ask in one of the freelance websites that do that sort of thing.
--
I love my computer - all my friends live there.
--

rossiscool123
Posts: 3
Joined: 2020/01/05 23:50:02

Re: Missing boot files

Post by rossiscool123 » 2020/01/07 11:51:23

If you know anyone or a website that specializes in this sort of thing I'll appreciate it. Thanks

Post Reply

Return to “CentOS 7 - Software Support”