update-initramfs: "cannot open /dev/md/0"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
Site Admin
Posts: 1465
Joined: Fri Aug 29, 2003 8:39 pm

update-initramfs: "cannot open /dev/md/0"

Post by ^rooker »

Copying an existing disk-image (with several partitions in it) using "dd" to install a preconfigured Debian 6 onto a Linux SoftRAID mirror (mdadm RAID1).
Works perfectly fine when doing it on a single disk, but GRUB2 fails to boot with "error: unknown disk"

Here's what I've tried:

Code: Select all

$ update-initramfs -u
Returns the following error:
mdadm: cannot open /dev/md/0: No such file or directory
This somewhat makes sense, because the RAID registered itself as "/dev/md127" - so "/dev/md/0" doesn't exist.

To be continued...

Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply