Dear all, I'm trying to migrate a Debian Jessie system from a single disk to an md raid1. I have created the RAID and copied everything over to the array (single partition before and after), but I struggle to get the grub config generated with the new array.
I have mostly been following https://raid.wiki.kernel.org/index.php/ Converting_an_existing_system#Installing_grub But when it says "Now run grub-mkconfig. It should detect your array", that's not happening for me, as far as I can see. I've grepped through it for the UUID too... Both because it looks a little scary and because it is a good idea to stick to the distro way of doing things, I'd like to do it the Debian way and generate the config rather than write it by hand. Allthough I don't see an menuentry generated for the new array, I see the domdadm getting onto the boot line, so at least the /etc/default/grub is correct. Though it wasn't the way I wanted to do it, I then tried to hack the grub.cfg itself, but it didn't seem to help. Finally, I tried adding GRUB_DEVICE_UUID=30c01ed7-24cd-482e-84d2-785ae3acfd8c in /etc/default/grub, since root@kanga:/boot/grub# ls -l /dev/disk/by-uuid | grep md lrwxrwxrwx 1 root root 9 Aug 23 14:47 30c01ed7-24cd-482e-84d2-785ae3acfd8c -> ../../md1 Now, I'm out of ideas, and I will be very grateful for any help. Best, Kjetil _______________________________________________ Help-grub mailing list Help-grub@gnu.org https://lists.gnu.org/mailman/listinfo/help-grub