I am trying to setup Sofware RAID 1 for my ubuntu desktop (14.04) Unfortunately desktop installer no longer supports RAID1 configuration. Therefore I am trying to manually set this up.
I followed this blog post with following changes:
- set root='(md/0)'
- Added insmod mdraid1x instead of raid
- I do not have separate boot partition ( /dev/md0 is set to / )
When I try to boot using /dev/md0 , I am dropped to busybox shell with following error:
mount: mounting /dev on /root/dev failed: no such file or directory
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /proc on /root/proc failed: no such file or directory
Target filesystem doesn't have requested /sbin/init
I ran cat /proc/mdstat
in initramfs which shows all three devices are active.
mount /dev/md0 /root
works fine and I can see the filesystem mounted.
I found following in dmesg
:
md: bind<sdb6>
md0: unknown partition table
I am really stuck with this and trying to find solution since couple of days. Any help would be really appreciated.
apt-get install ubuntu-desktop
to turn your server installation into a desktop installation.