Sunday, March 15, 2015

Centos grub boot missing

Leave a Comment
Redhat/Centos grub boot  missing. in order to boot from the Redhat/CentOS box with grub problems, you need to know 2 things:
  • The /boot partition
  • The root (/) partition.
Problem Redhat/centos grub boot missing not login into server.

grub boot

Step 1: find the /boot partition/

List available disks at grub prompt
grub> find (hd        -->TAB key
List available disk partition at grub prompt
grub> find (hd0,        -->TAB key
Examples of find command a grub.conf file

grub> find (hd0,0)//grub/grub.conf

grub> find (hd0,0)/boot/grub/grub.conf
   Error 15: File not found

Step 2: The root (/) partition.

grub> root (hd0,0)
grub> kernel /vmlinuz-2.6.32-431.el6.i686 ro root=/dev/sda1
grub> initrd /initramfs-2.6.32-431.el6.i686.img
grub> boot
For example my system:
# fdisk -l
grub boot 02

# ls -la  /boot
grub boot 01

Redhat/Centos grub boot  missing, the linux commands above helpful you! 

Copyright by:


Post a Comment