Solved

Grub question

Posted on 2013-05-27
4
412 Views
Last Modified: 2013-07-08
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
0
Comment
Question by:smksa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
Milind Koyande earned 500 total points
ID: 39200339
You can use the find command on grub prompt to find the grub/boot loader location.

Please refer following links:
http://wiki.centos.org/HowTos/GrubInstallation : explains grub installation
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/393772-how-install-bootloader-both-disks-software-raid-1-a.html#post1863202 : it shows how to use find command
0
 
LVL 26

Expert Comment

by:arober11
ID: 39200439
Is the RAID array hardware or software based, as in did you create it from a BIOS utility or did you create it from the Linux installer?

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
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39201497
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

Open in new window

0
 
LVL 13

Expert Comment

by:Sandy
ID: 39235859
grub is always on boot partition so check the /boot partition details, if it is LV then you can use #lvdisplay -m


sA
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question