LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2008, 08:19 AM   #1
theooze
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
Grub, RAID1 and a spare


I have a software RAID1 drive with a spare for my Fedora 8 install.

/boot and / are mirrored across 2 drives. The spare does not seem to get a filesystem or anything else useful on it so if I boot from it, the boot hangs, there's nothing to boot.

I've configured the bios to boot from the 1st and 2nd drives first (the mirrored pair that does have a valid /boot partition) but it seems like something is not honoring that boot order.

Would that be the BIOS? or grub?

is there any known working setup w/ a RAID1 and spares w/ grub - I can't seem to find any answers on that...
 
Old 10-14-2008, 03:16 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Grub works just fine with RAID 1; but you have to install it to both MBRs if you want to be able to boot from either drive (which I would think you'd want to if you're booting off RAID 1)

The spare doesn't get written to, because it is a spare! If and when one of the active RAID 1 drives goes down, then the spare should be added automatically, if everything is setup properly.

If you want the third drive to be bootable with a file system, then setup RAID 1 with 3 drives mirrored.
 
Old 10-14-2008, 06:11 PM   #3
theooze
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Original Poster
Rep: Reputation: 0
so i installed grub on the mirrored disks, that seems to do it.

so i think the problem is w/ kickstart then... the box was build w/ kickstart.

i have:

Code:
bootloader --location=mbr  --driveorder=sda,sdb,sdc
so that should put grub on the mbr of each drive?

or do i need to put something in the post-install to do it ?
 
Old 10-15-2008, 10:53 AM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Sorry, I don't know kickstart. However, I suspect you will have to manually put grub on the mbr of all booting drives. You can use grub-install or the Supergrub CD for that. Might have to ask a knowledgeable kickstart user.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Error 22, RAID1 on OpenSuse 10.3 Live CD matthiar SUSE / openSUSE 1 08-29-2008 12:12 PM
RAID1 Set up using GRUB Bootloader mreeves Debian 4 03-14-2008 08:34 PM
Redhat Enterprise linux4 with RAID1 and GRUB vedang Linux - Newbie 3 06-19-2006 10:59 AM
SuSe 10 + GRUB + RAID1 questions TimBee SUSE / openSUSE 5 12-22-2005 06:23 AM
RAID1 and GRUB - error loading operating system kenji1903 Linux - General 3 06-06-2004 10:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:58 AM.

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