Public bug reported:

Binary package hint: ubiquity

I have three disks for software raid that I have set up as
/dev/sd[abc]1. The third disk is slower than the first two, so I have it
marked as "writemostly" through mdadm. They are assembled onto raid
array /dev/md0.

However, ubiquity tries to guess that the bootloader should be installed
on all /dev/sd[abc]. That is fantastically-smart behaviour.

However, when probing the array properties, it gets confused. Output of
/var/log/messages is:

Nov 24 02:52:38 ubuntu grub-installer: info: Installing grub on '/dev/sda 
/dev/sdb writemostly /dev/sdc'
Nov 24 02:52:38 ubuntu grub-installer: info: grub-install supports --no-floppy
Nov 24 02:52:38 ubuntu grub-installer: info: Running chroot /target 
grub-install  --no-floppy --force "/dev/sda"
Nov 24 02:52:40 ubuntu grub-installer: Installation finished. No error reported.
Nov 24 02:52:40 ubuntu grub-installer: info: grub-install ran successfully
Nov 24 02:52:40 ubuntu grub-installer: info: grub-install supports --no-floppy
Nov 24 02:52:40 ubuntu grub-installer: info: Running chroot /target 
grub-install  --no-floppy --force "/dev/sdb"
Nov 24 02:52:42 ubuntu grub-installer: Installation finished. No error reported.
Nov 24 02:52:42 ubuntu grub-installer: info: grub-install ran successfully
Nov 24 02:52:42 ubuntu grub-installer: info: grub-install supports --no-floppy
Nov 24 02:52:42 ubuntu grub-installer: info: Running chroot /target 
grub-install  --no-floppy --force "writemostly"
Nov 24 02:52:44 ubuntu grub-installer: Invalid device `writemostly'.
Nov 24 02:52:44 ubuntu grub-installer: Try `/usr/sbin/grub-setup --help' for 
more information.
Nov 24 02:52:44 ubuntu grub-installer: error: Running 'grub-install  
--no-floppy --force "writemostly"' failed.

At this point, I get the graphical "Bootloader install failed" dialog,
with "How would you like to proceed?"

The problem is that the "okay" button is always greyed out, and thus the
installation hangs/fails.

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unity grub-install on raid incorrectly handles 'writemostly' flag
https://bugs.launchpad.net/bugs/680751
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to