Shamsul Kamal
asked on
Grub question
Hi,
I want to ask a question.
I have two HDD, RAID 1 configured on it. OS is CentOS, Now i want to check grub located on which HDD what steps i can use for checking or any utility which can provide all these details ?
Thanks
Javaid
I want to ask a question.
I have two HDD, RAID 1 configured on it. OS is CentOS, Now i want to check grub located on which HDD what steps i can use for checking or any utility which can provide all these details ?
Thanks
Javaid
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
grub in generally locates in the root partition. If you look in /etc/grub.conf you can find out where it is. For example -
title Red Hat Enterprise Linux Server (2.6.32-279.1.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.1.1.el6.x86_64 ro root=/dev/mapper/vg_001-lv_root rd_LVM_LV=vg_001/lv_root rd_LVM_LV=vg_001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto vga=791 3
initrd /initramfs-2.6.32-279.1.1.el6.x86_64.img
grub is always on boot partition so check the /boot partition details, if it is LV then you can use #lvdisplay -m
sA
sA
If the latter see: https://wiki.archlinux.org/index.php/Software_RAID_and_LVM
If the former see: http://askubuntu.com/questions/43036/how-do-i-install-grub-on-a-raid-system-installation