bobbus2
August 26th, 2014, 10:06 AM
Hi, I'm trying to boot from an mdadm RAID1 array on 14.04.
From the Grub2 console I can see and access the files on the raid Array
ls
> (hd1) (hd1,msdos1) (hd1,msdos2) (md/0) (md/1)
set ROOT=(md/1)
ls /
>initrd.img vmlinuz bin/ boot/ dev/ .... and all the expected folders
When I continue to boot from the array ...
linux /vmlinuz root=/dev/md1 nodmraid bootdegraded=true bootdelay=2000
initrd /initrd.img
boot
... it fails to mount md1 to the system root with the message:
mounting /dev/md1 on /root failed: Device or Resource busy
Additional information:
- md0 on sdb1 is SWAP & md1 on sdb2 is the system array
- using UUID to identify md1 makes no difference
- incrementing the delay to the max 10000 makes no difference
- sda has working installation on 14.04 and can mount md1 to /mnt with no problem
- the array is degraded, having only one disk, but assembles and mounts correctly other than boot.
One thought ... I had to include mdraid1x on the grub install just to be able to see the array ...
grub-install --modules=mdraid1x /dev/sdb
... are there any other modules I need to pre-load on install?
Any help appreciated.
From the Grub2 console I can see and access the files on the raid Array
ls
> (hd1) (hd1,msdos1) (hd1,msdos2) (md/0) (md/1)
set ROOT=(md/1)
ls /
>initrd.img vmlinuz bin/ boot/ dev/ .... and all the expected folders
When I continue to boot from the array ...
linux /vmlinuz root=/dev/md1 nodmraid bootdegraded=true bootdelay=2000
initrd /initrd.img
boot
... it fails to mount md1 to the system root with the message:
mounting /dev/md1 on /root failed: Device or Resource busy
Additional information:
- md0 on sdb1 is SWAP & md1 on sdb2 is the system array
- using UUID to identify md1 makes no difference
- incrementing the delay to the max 10000 makes no difference
- sda has working installation on 14.04 and can mount md1 to /mnt with no problem
- the array is degraded, having only one disk, but assembles and mounts correctly other than boot.
One thought ... I had to include mdraid1x on the grub install just to be able to see the array ...
grub-install --modules=mdraid1x /dev/sdb
... are there any other modules I need to pre-load on install?
Any help appreciated.