Home > Linux

Centos error 15 file not found

a nice image
By Genesis and SheilaUpdated on June 3rd, 2022

What is Centos error 15 file not found?

Centos error 15 file not found is an error that usually occurs when there is an incorrect change to the bootloader configuration file "/boot/grub/menu.lst."

How can you fix Centos error 15 file not found?

Some of the solutions to this error include reinstalling the bootstrap code, using GRUB find command, and testing your hard disk drive.

Please see our in-depth walk-through solutions below.

1. Reinstall bootstrap code

"Centos error 15 file not found" may be caused by a damaged master boot record (MBR). If you have installed a secondary operating system, MBR could have been overwritten. To fix this, reinstall bootstrap code.

  1. Insert CentOS bootable device.
  2. Boot from CentOS bootable device.
  3. From the boot menu for type "linux rescue" at the "boot:" prompt for CentOS-4 or 5 while for CentOS-6 pick "Rescue installed system."
  4. Mount all filesystems in read-write mode.
  5. Replac root to real root ('/') on your hard disk:
    # chroot /mnt/sysimage
  6. Re-install bootstrap code (GRUB).
    For GRUB to the MBR on an SCSI or SATA disk: # grub-install /dev/sda
    For GRUB to the PBR of Partition #2 on a SCSI or SATA disk: # grub-install /dev/sda2
    For GRUB to the MBR on an IDE disk: # grub-install /dev/hda

2. Use GRUB find command

"Centos error 15 file not found" may also occur due to change in BIOS setting or hardware change. You may find yourself booting in grub boot prompt.

**grub> find /grub/grub.conf  
  

find /grub/grub.conf  
  

 (hd0,2)  
  

 (hd1,2)**

If you have multiple Linux operating systems installed try the find command below.

**grub> find /grub/grub.conf  
  

find /grub/grub.conf  
  

 (hd0,0)  
  

grub> find /grub/menu.lst  
  

find /grub/menu.lst  
  

 (hd0,0)  
  

 (hd0,1)**

3. Test your hard disk drive

"Centos error 15 file not found" may also be caused by a defective hard disk drive. You may want to test your drive for any bad sector or problem.