- The /boot partition
- The root (/) partition.
Step 1: find the /boot partition/
List available disks at grub promptgrub> find (hd -->TAB keyList available disk partition at grub prompt
grub> find (hd0, -->TAB keyExamples of find command a grub.conf file
grub> find (hd0,0)//grub/grub.conf
(hd0,0)
(hd0,1)
(hd0,2)
grub> find (hd0,0)/boot/grub/grub.conf
Error 15: File not found
Step 2: The root (/) partition.
grub> root (hd0,0)For example my system:
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
# fdisk -l
# ls -la /boot
Redhat/Centos grub boot missing, the linux commands above helpful you!
Copyright by: www.linuxoperatingsystem.info http://goo.gl/kMscJ4
0 comments:
Post a Comment