Solved

Grub question

Posted on 2013-05-27
4
404 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
4 Comments
 
LVL 7

Accepted Solution

by:
Milind Koyande earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now