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

boot-update: should respect subvol of btrfs filesystem

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      boot-update changes my working grub.cfg to non-working, here is the diff and the output from mount command

      -  linux /boot/bzImage-4.16.13 rootflags=compress=lzo,ssd,subvol=funtoo_rootfs rootfstype=btrfs root=/dev/sdc2
      +  linux /funtoo_rootfs/boot/bzImage-4.16.13 rootfstype=btrfs root=/dev/sdc2 rootflags=subvol=funtoo_rootfs
      
      
      root@sucellus /b/grub # ❯❯❯ mount |grep rootfs
      /dev/sdc2 on / type btrfs (rw,noatime,compress=lzo,ssd,space_cache,subvolid=288,subvol=/funtoo_rootfs)
      

      note the /funtoo_rootfs/boot/ => /boot change

      the compress and ssd stuff is IMHO not needed as this gets mounted according to /etc/fstab

      and also here
      if loadfont /boot/grub/unifont.pf2

      should be
      if loadfont /funtoo_rootfs/boot/grub/unifont.pf2

            Unassigned Unassigned
            palica Pavol Cupka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: