You are not logged in.

#1 2011-05-05 00:41:55

android
Member
From: San Diego
Registered: 2003-04-18
Posts: 160

[SOLVED] upgrade motherboard, can't find rootfs

Hello,

I've had a server running arch for a couple of years.

Originally it ran a via motherboard with a single core intel CPU.

I recently upgraded to a motherboard with a quad core2 CPU.

The disks are a mdadm raid1 mirror.

Once I move the disks to the motherboard it fails to mount the rootfs.

I can boot the kernel from either hard disk, but it doesn't assemble the raid1 array.

After "Running Hook [mdadm]" the error is:

Root device '/dev/md2' doesn't exist. Attempting to create it.
ERROR: Unable to determine major/minor number of root device 'dev/md2'.

Does anyone have an idea why the new CPU/motherboard wouldn't assemble the existing raid1 array?

Thanks!

Last edited by android (2011-05-07 01:32:49)

Offline

#2 2011-05-05 07:19:59

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] upgrade motherboard, can't find rootfs

I do know nothing about raid, but I think you should check the partitions' name. I mean you used hda1, hda2 and now they are sda1, sda2, or if you have more hdds, the order changed, so it's sdb1, sdb2. However the best way is to use UUID, so it wouldn't depend on how your BIOS handles those hard disks.

Offline

#3 2011-05-07 01:31:02

android
Member
From: San Diego
Registered: 2003-04-18
Posts: 160

Re: [SOLVED] upgrade motherboard, can't find rootfs

Thanks for your reply siriusb!

I eventually booted from USB media, on the new hardware, and did a: pacman -Syu

This included a new kernel, so it also rebuilt the initrd image.

After this the new motherboard/CPU recognized and mounted the raid1 rootfs.

I considered just running mkinitcpio to see if this would fix the prob, but the system needed an update anyway.

I'll mark this one solved.

Thanks Again for writing!

johnea

Offline

Board footer

Powered by FluxBB