LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2009, 08:51 PM   #1
Daemo
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora 12
Posts: 7

Rep: Reputation: 0
After BIOS update, raid 1 root won't boot


Hello

I had a perfectly normal Fedora 8 system running happily with a RAID1 / and /boot. After updating the BIOS to diagnose a potential disk problem, the boot sequence doesn't get very far.

The POST runs, the GRUB menu is displayed, and boots the default kernel. Then I get this:

Code:
Booting 'Fedora (2.6.26.8-57.fc8)'
root(hd0,0)
 Filesystem type is ext2fs, partition type 0xfd
kernel /vmlinuz-2.6.26.8-57.fc8 ro root=/dev/md1 rhdg quiet
  [Linux_bzImage, setup=0x3000, size=0x205da0]
initrd /initrd-2.6.26.8-57.fc8.img
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Red Hat nash version 6.0.19 starting...
mdadm: no devices found for /dev/md1
mdadm: no devices found for /dev/md2
EXT3-fs: unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
...and that's where it stops.

I only use md's. I do not use LVM.

I have booted with the rescue CD, and surprisingly it finds all the disk devices, assembles the raid devices and mounts everything just fine. The /etc/mdadm.conf is set up correctly, verified with a
Code:
mdadm --details --scan
From the rescue shell, I have tried running:
Code:
# chroot /mnt/sysimage
# /sbin/mkinitrd -v /boot/initrd-2.6.26.8-57.fc8.img 2.6.26.8-57.fc8
...and rebooted to exactly the same error.

I have tried reverting to the previous version of the BIOS to no avail. So I once again upgraded the BIOS and it now has the latest version.

Where do I go to from here?

Thanks for any help.

-D
 
Old 02-24-2009, 09:27 PM   #2
Daemo
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora 12
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, solved my own problem!

The issue was that I didn't specify that the initrd image should have the raid1 drivers preloaded. I needed to change the command from:
Quote:
/sbin/mkinitrd -v /boot/initrd-2.6.26.8-57.fc8.img 2.6.26.8-57.fc8
to
Quote:
/sbin/mkinitrd --preload=raid1 -v /boot/initrd-2.6.26.8-57.fc8.img 2.6.26.8-57.fc8
..and that did the trick.

-D
 
  


Reply

Tags
boot, mdadm, raid1


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
Dual boot BIOS Software RAID 0 blues supercoqui Linux - Laptop and Netbook 4 10-14-2006 01:47 PM
After update no keybaord in root, blank boot.log AlanH Fedora 0 11-14-2005 12:32 PM
Howto install linux with BIOS RAID 0, dual boot with windows? jbmigel Linux - Newbie 5 10-28-2005 04:52 AM
RAID 1 on boot/root: LILO error hamish Linux - Software 2 06-28-2005 03:47 AM
boot + root on software raid 1 kris.kj.jacobs Linux - Software 2 06-03-2001 08:15 AM


All times are GMT -5. The time now is 03:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration