LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2012, 02:39 PM   #1
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 23
How to install grub to BOTH hdd's - /boot on software raid1


I've been burned by this in the past, I need to make sure this is done right. I have a server with 2 hard drives with a linux autodetect software RAID1 mirroring them. The boot partition is on /dev/md0 - one of the arrays.

I have some questions. If the MBR is install on /dev/sda, and that's the drive that fails, it will not boot. I want to make sure grub is installed on BOTH drives, so if sda fails, the system will still boot off sdb. How do I accomplish this? There are no references to /dev/sd[ab] in grub.cfg, just set root='(md0)'. Is it really as simple as:

grub-install /dev/sda
grub-install /dev/sdb

And I need to do the same thing to a server with lilo, so basically the same questions.

Last edited by suprstar; 09-12-2012 at 03:37 PM.
 
Old 09-14-2012, 05:59 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try this http://support.rhinoequipment.com/in...kbarticleid=38
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed a new drive for my Software RAID1 in Linux but I cannot install grub on it kamuz Linux - Server 3 04-30-2012 07:10 PM
no appropriate miniroot is available error on hdd install and can't boot from grub jayunplugged DamnSmallLinux 1 04-17-2010 07:30 AM
HDD dual boot with GRUB, now install XP on that disk nkamp Linux - General 2 08-09-2008 09:57 PM
Ubuntu 8.03a3 New Install: GRUB Error 21 after new dual-HDD, dual-boot install tvdxer Ubuntu 1 01-29-2008 01:08 PM
[RAID1, GRUB] Secondary HDD can't boot up when primary HDD fails Akhran Linux - Newbie 2 05-04-2006 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration