What should I do if the system crashes and no optical drive is available. The simplest way to think of it is to re-install the CentOS Mount disc mount-oloopcentos.iso/mnt/copy the boot file cp/mnt/isolinux/boot/-a in cenots with the iso disc file to add grub. conf content: titlecentos_setupr
What should I do if the system crashes and no optical drive is available. The simplest method is to re-install CentOS with the iso CD file in cenots.
Attach a CD
mount -o loop centos.iso /mnt/
Copy the startup file
cp /mnt/isolinux /boot/ -a
Edit and add grub. conf:
Title centos_setup root (hd0, 0) // Determine the partition where your/boot is located, my/boot uses a separate partition kernel/isolinux/vmlinuz ro root =/isolinux. bin // if your/boot is not a separate partition, write/boot/isolinux/vmlinuz and/boot/isolinux. bin initrd/isolinux/initrd. img
Make sure your/partition has no important information to back up. Note that I am talking about/partition, not/directory !!!
reboot
In grub, select "centos_setup". if there is no problem with the above operations, you will see the text installation interface. First, you will see the language selection: you must select the default English, otherwise... I won't talk about it anymore.