@Filip: I don't know. The comment box wraps the lines to 75 character length. Therefore the sed line has broken into two lines. If you copied the raw text from the comment into the file it wont work.
Use this version instead: (note the backslash at the end of line) #!/bin/sh sed -i -E 's/^(\s*initrd\s+)(\S*\/)(.*)$/\1\2acpi_fixed.cpio \2\3/g' \ /boot/grub/grub.cfg.new -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861610 Title: 'Elan touchpad' not detected on 'Lenovo ThinkBook 15 IIL' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1861610/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs