grub-install fails because sed-4.0.5 is incompatible with its sed expressions. sed-3.x works fine however. Reproducible: Always Steps to Reproduce: 1. grub-install /dev/floppy/0 2. 3. Actual Results: # grub-install /dev/floppy/0 sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS Unrecognized ls output: Not found or not a block device.
please, we need to find somebody else to do grub. i cant handle it right now but maybe again in the future. _so_ sorry Matthew to have left this for so long :(
Hey, I find this strange, because sed-4 afaik doesn't have any regressions in functionality from sed-3... have you tried with a more recent sed-4 series?
okay this is confirmed with sed-4.0.7 and also 4.0.5 by someone else encountering the same problem. <li1_bastard> and i get this error <li1_bastard> root # grub-install --root-directory=/mnt/floppy/ '(fd0)' <li1_bastard> sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS <li1_bastard> sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS <li1_bastard> Unrecognized ls output: Not found or not a block device.
This was fixed in the grub CVS back on 19th Feb! See http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/util/grub-install.in Can someone please patch this in or update grub to a more recent snapshot?
Created attachment 20364 [details, diff] Fix the incompatible sed expressions in grub-install.in This is the code change from grub CVS grub-install.in 1.38. http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/util/grub-install.in.diff?r1=1.37&r2=1.38
Created attachment 20365 [details, diff] The patch to the ebuild to use grub-0.93-grub-install-sed.patch
Matt et al, is this still an issue?
Is this fixed in grub-0.94?
This is certainly fixed in grub-0.95, so I'm adding bug #55732 as a dependency.
This is fixed in grub-0.94. Closing. Please re-open if this is still an issue for anyone.
Can this be fixed in "sys-boot/grub-static-0.93.20030118" or can grub-static be updated? Currently, this is still broken for AMD64 users.