Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-4767

grub blocks boot when it's installed without a mounted /boot

    • Icon: Bug Bug
    • Resolution: Expected Behavior
    • Icon: Normal Normal
    • None
    • None
    • None

      With a specific (msdos) fdisk arrangement utilizing LVM and with /boot not mounted installing grub results in lvm warnings and then blocks the next startup.

      Steps to reproduce

      1) Build a disk according to the output of fdisk /dev/sda, lvm info and /etc/fstab

      2) run boot-update which produces this boot.conf

      3) manually unmount /dev/sda1 (/boot)

      4) run grub installation /usr/sbin/grub-install --target=i386-pc --no-floppy /dev/sda

      The output I get is

      Installing for i386-pc platform.

        /run/lvm/lvmetad.socket: connect failed: No such file or directory

        WARNING: Failed to connect to lvmetad. Falling back to internal scanning.

        /run/lvm/lvmetad.socket: connect failed: No such file or directory

        WARNING: Failed to connect to lvmetad. Falling back to internal scanning.

        /run/lvm/lvmetad.socket: connect failed: No such file or directory

        WARNING: Failed to connect to lvmetad. Falling back to internal scanning.

      Installation finished. No error reported.

      While it claims no error, grub will not find grub.cfg at startup.

       

        1. boot.conf
          0.2 kB
        2. fdisk
          0.4 kB
        3. fstab
          0.2 kB
        4. lvm
          3 kB

            Unassigned Unassigned
            mauricev mauricev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: