Replacing disks on RAID1 boot, grub can't find /dev/md0

Chris Burgess <[email protected]>
Newsgroups gmane.org.user-groups.linux.dunedin.general
Message-ID <[email protected]>
I’m swapping some existing HDD in an old server (2 x 250GB => 2 x 2TB) which is RAID1. My aim was to add the larger disk to the array, sync, and then swap out the existing disks for another new disk before growing the partitions to use available size.

sda + sub are partitioned into three (10GB/512M/230GB) and these appear(ed) as md0,md1,md2

Connected first new HDD and partitioned using larger partitions than the original (became 50GB/2GB/therest).

Added new disk using mdadm, watched it sync md0,(md1?),md2. Cool.

Executed grub instructions for the new disk only.

grub
grub> root (hd2,0)
grub> setup (hd2)

Rebooted, and it drops to Busybox and says /dev/md0 is not found.

I’ve tried reverting back to the original disks (didn’t think I’d modified them at all yet) but same deal. So I may have changed partition table or otherwise upset grub’s ability to see md0.

What’s my best next step?

_______________________________________________
DunLUG mailing list
[email protected]
http://lists.ethernal.org/listinfo/dunlug
DunLUG Wiki - http://dunlug.kallisti.net.nz/
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTwHeWAAoJELoav6MBGu4RRu0IAKclHffoaPE3hTQwihY3C8Db
mUXVTHVLA1WM/bJI1qzWT89yxQ/DrkS6Y4XSAKLgUN75oIHsclwHQUVHckBI+1He
rd7YKAiIzoI5JoWNBYgzCVPdEG8wW44hNE9VsohbWZ3ksnVzi/5skxgGdosHQjo3
6uVvjAuiDsKjRTrBxM4Tep/3h/rMoebKaG+2TcZvPtvP4b5Gb1EYjj9Tb8XG8/nG
L6m4UwA5l8sNAPMQ7Hgv35yiDUnjczrE0u1SAHcOECBrZA0IvN7GWS6VdGGjMMU+
r0gu/iYRmWMKmNAFIkgwONTFU6S4gEJrSaulg0Vu17smFlx8WfNn82jOy9ntf8c=
=JmjL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.