1

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.

  • 1
    The server installer can still be used to install on software raid, though the text only interface is somewhat difficult to understand. You have to first create raid partitions, then jump to the "configure software raid" sub menu. Once your system is installed, just apt-get install ubuntu-desktop to turn your server installation into a desktop installation. – exore Jun 26 '14 at 6:58
  • Is ubuntu-desktop package only difference between server and desktop edition? I believe kernels are also tweaked differently for each use cases. – Myth Jun 26 '14 at 7:18
  • as stated on ubuntu faq, there is no kernel difference between desktop and server edition since ubuntu 12.04 – exore Jun 26 '14 at 15:54
  • @exore Ended up using Ubuntu server installer. – Myth Jul 2 '14 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.