LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-17-2012, 05:56 PM   #1
sailor420
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Unable to boot from degraded RAID array?


I have a home server running 10.04 configured with an mdadm-based RAID array. The boot and /home partitions are both on RAID-1 arrays, and I have a large data partition on RAID-5. There are three disks, with a partition from each disk making up each mdadm array--so three arrays (two RAID-1, one RAID-5), each with three disks, /dev/sda, sdb, and sdc.

Recently, /dev/sda failed, and mdadm kicked it out of the array correctly. I replaced the drive, and am now trying to boot, but when I do, I get an error "Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key." It seems that this is likely a message from my ASUS BIOS.

It seems to me that this is likely due to a missing boot loader. Am I correct in this? I'm guessing that since /dev/sda is likely what the system is trying to boot off of and since it is now a blank drive until I can boot to rebuild the array, that the machine can't boot. Oddly, I swear I remember installing GRUB to all of the disks and making sure they were bootable.

I'm tempted to change the boot order in the BIOS and see if that works, but I'm worried that doing this might somehow corrupt the now degraded RAID-5 partition (not sure why... but I'd rather not do something I don't fully understand the implications of).

How should I go about fixing this? Any help is greatly appreciated.
 
Old 02-17-2012, 06:24 PM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,135

Rep: Reputation: 230Reputation: 230Reputation: 230
Hi

If the error message is from the BIOS, it probably means you lost the MBR. You can recover or rewrite it it with a live cd. Did you try one?
 
Old 02-17-2012, 06:36 PM   #3
sailor420
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!

I have not tried that--I wanted to make sure as best I could of what was going on before I did it to make sure I don't screw up the RAID array.

How would I do that, making sure that the required GRUB2 information is copied over to the new HDD to let me boot the RAID array?
 
Old 02-18-2012, 07:33 AM   #4
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,135

Rep: Reputation: 230Reputation: 230Reputation: 230
Hi

Resinstalling Windows in a dual boot system also messes up the MBR, so I think you can use the same procedure:

https://help.ubuntu.com/community/Re...tallingWindows

It should be a simple command:

sudo grub-install /dev/sda
 
  


Reply

Tags
boot, mdadm, raid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] RAID 5 array not assembling all 3 devices on boot using MDADM, one is degraded. kirby9 Linux - Software 11 11-20-2010 10:32 AM
dirty degraded md raid array edgjerp Linux - Hardware 1 01-07-2009 01:51 PM
Degraded Array on Software Raid pcinfo-az Linux - Hardware 8 07-03-2008 10:43 AM
Software RAID-1 unable to boot degraded keithk23 Linux - Server 2 09-27-2006 08:52 AM
RAID 1 Degraded Array gsoft Debian 2 08-18-2006 02:17 PM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration