grub cannot mount raid1 wheezy
I have created 2 raid1 partitation
/dev/md1 ext4 and /dev/md2 swap / is on /dev/md1 I have tried using http://sysadmin.compxtreme.ro/how-to...oftware-raid1/ to create my raid1 . I did update-grub update-initramfs -u After copying all files from / on my sda1 parttation to /mnt/md1 and after doing grub-install /dev/sda grub-install /dev/sdb and then reboot. The outcome is that the grub loader starts, I can choose between some linux-os but hereafter the loader is not able to mount /dev/md1 and I end with an initramfs prompt. With a rescue disk I am able to mount /dev/md1 and when I run mdadm --examine --scan I get UUID which is different from what I find under /dev/disk/by-uuid why? Is that the problem? What should I do? |
/etc/default/mdadm
The problem was that the ramdisk during boot didn't assemble the array
After modifying the /etc/default/mdadm with INITRDSTART='all' and AUTOSTART=true and then update-initramfs it worked |
All times are GMT -5. The time now is 06:14 PM. |