Accidentally deleted / boot

There are at boot startup files accidentally deleted so unfortunate if the system goes into paralysis, this time we need to troubleshoot, first into the boot CD will switch to save the top exit choose to enter emergency mode, follow the prompts to enter the up / down first a / general so we need to switch temporarily to provide false to true after / below this time with chroot / mnt / sysimage can switch up to start creating cdrom in media, after the / dev / cdrom mounted to / media / cdrom after the file rpm -ivh / media / cdrom / Packages / krenel-3 (filled with). After detecting the input rpm at the end of this command with the --force it. Next grup2-install / dev / sda last grub2-mkconfig> /boot/grub2/grub.cfg then quit and start again just fine

Guess you like

Origin www.cnblogs.com/CAPF/p/11314183.html