Hello ! The problem actually is that the mdadm program is NOT installed on the new system. I opened a shell and did : [code]root@ubuntu:~# chroot /target root@ubuntu:/# grub-install /dev/sda Installing for i386-pc platform. grub-install: error: disk `md0' not found. root@ubuntu:/# ls /dev/md* /dev/md0 /dev/md1 root@ubuntu:/# mount /dev/mapper/vg0-lv1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) /dev/md0 on /boot type ext4 (rw,relatime,stripe=4,data=ordered) /dev/mapper/vg0-lvhome on /home type ext4 (rw,relatime,data=ordered) /dev/mapper/vg0-lv5 on /opt type ext4 (rw,relatime,data=ordered) /dev/mapper/vg0-lv2 on /usr type ext4 (rw,relatime,data=ordered) /dev/mapper/vg0-lv3 on /var type ext4 (rw,relatime,data=ordered) /dev/sr0 on /cdrom type iso9660 (ro,noatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=3916776k,nr_inodes=979194,mode=755) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=785676k,mode=755) root@ubuntu:/# ls /boot abi-3.19.0-25-generic memtest86+.elf abi-3.19.0-30-generic memtest86+_multiboot.bin config-3.19.0-25-generic System.map-3.19.0-25-genericinitrd.img-3.19.0-25-generic vmlinuz-3.19.0-25-generic.efi.signed initrd.img-3.19.0-30-generic vmlinuz-3.19.0-30-generic lost+found vmlinuz-3.19.0-30-generic.efi.signed memtest86+.bin root@ubuntu:/# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sdc2[0] sdb2[2] sda2[1] 312359700 blocks [3/3] [UUU] md0 : active raid1 sda1[0] sdc1[2] sdb1[1] 208704 blocks [3/3] [UUU] unused devices: <none> root@ubuntu:/# grub-install --force /dev/sda Installing for i386-pc platform. grub-install: error: disk `md0' not found. root@ubuntu:/# mdadm --help The program 'mdadm' is currently not installed. You can install it by typing: apt-get install mdadm root@ubuntu:/# apt-get install mdadm Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: postfix Suggested packages: procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common postfix-cdb postfix-doc Recommended packages: default-mta mail-transport-agent The following NEW packages will be installed: mdadm postfix 0 upgraded, 2 newly installed, 0 to remove and 116 not upgraded. Need to get 0 B/1,445 kB of archives. After this operation, 4,799 kB of additional disk space will be used. Do you want to continue? [Y/n] Preconfiguring packages ... E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory) Selecting previously unselected package mdadm. (Reading database ... 203167 files and directories currently installed.) Preparing to unpack .../mdadm_3.2.5-5ubuntu4.2_amd64.deb ... Unpacking mdadm (3.2.5-5ubuntu4.2) ... Selecting previously unselected package postfix. Preparing to unpack .../postfix_2.11.0-1ubuntu1_amd64.deb ... Unpacking postfix (2.11.0-1ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for doc-base (0.10.5) ... Processing 32 changed doc-base files, 6 added doc-base files... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for ufw (0.34~rc-0ubuntu2) ... Setting up mdadm (3.2.5-5ubuntu4.2) ... Generating mdadm.conf... done. Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) Generating grub configuration file ... File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 789: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 789: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 817: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 817: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 848: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 848: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 884: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 884: /usr/sbin/grub-probe Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 995: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 995: /usr/sbin/grub-probe Found linux image: /boot/vmlinuz-3.19.0-30-generic Found initrd image: /boot/initrd.img-3.19.0-30-generic Found linux image: /boot/vmlinuz-3.19.0-25-generic Found initrd image: /boot/initrd.img-3.19.0-25-generic File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 1517: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 1517: /usr/sbin/grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 1870: grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 1870: grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 2014: grub-probe File descriptor 3 (pipe:[108902]) leaked on vgs invocation. Parent PID 2014: grub-probe Adding boot menu entry for EFI firmware configuration done * Starting MD monitoring service mdadm --monitor /sbin/mdadm already running. [fail] Setting up postfix (2.11.0-1ubuntu1) ... Adding group `postfix' (GID 125) ... Done. Adding system user `postfix' (UID 116) ... Adding new user `postfix' (UID 116) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding sqlite map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 126) ... Done. /etc/aliases does not exist, creating it.
Postfix was not set up. Start with cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf . If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for initramfs-tools (0.103ubuntu4.2) ... update-initramfs: Generating /boot/initrd.img-3.19.0-30-generic Processing triggers for ufw (0.34~rc-0ubuntu2) ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... root@ubuntu:/# grub-install /dev/sda Installing for i386-pc platform. Installation finished. No error reported. root@ubuntu:/# grub-install /dev/sdb Installing for i386-pc platform. Installation finished. No error reported. [/code] IMHO, you should "see" that the live system is using RAID AND LVM for it's disk and "try" to reproduce the configuration in the newly installed system.... Thanks for your support -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880766 Title: ubiquity and grub-install: fails to install grub on software RAID To manage notifications about this bug go to: https://bugs.launchpad.net/grub/+bug/880766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs