PDA

View Full Version : (Software-)Raid Problem after changing Motherboard


chris|s
2008-06-08, 04:59 PM CDT
Hi!

I had to change my Motherboard due to a Failure of the old one and now face the Problem, that Fedora won't boot anymore :(

The System is Fedora 8 (wanted to upgrade to 9 this week) with the root-Filesystem on a Software-Raid1 Array (which is obviously failing now)...

When trying to boot, I get this:

Decompressing Linux... done.
Booting the kernel.
Red Hat nash version 6.0.19 starting
mdadm: no devices found for /dev/md0
Reading all physical volumes. This may take a while...
No volume groups found
Volume Group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
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

/etc/mdadm.conf reads
# mdadm.conf written out by anaconda
DEVICE partitions
ARRAY /dev/md0 level=raid-1 num-devices=2 uuid=79315349:81aaaf3f:fb44e150:90b608d8

booting from the Fedora Rescue-CD, the Array works and I can access everything...


Please help! I'm desperate :confused: :(

notageek
2008-06-09, 02:27 AM CDT
Hello,

Is the new mobo of different make/model from the older one? If so you'll have to re-create the initrd on your machine.

The following steps describe the process...

1. Boot to the Fedora rescue CD
2. chroot to the Fedora volume.
3. cd /boot
4. mkinitrd initrd-(replace ur kernel version).img (your kernel version)
5. make sure to change the new initrd in /boot/grub/grub.conf

To assemble a pre-existing raid volume please try the following example.

# mdadm --assemble /dev/md1 /dev/sda1 /dev/sdb1

Hope this helps, let me know how it goes.

chris|s
2008-06-09, 05:19 AM CDT
Yay! Creating the new initrd solved the problem :D

Thank you so much for your help!