Comment 2 for bug 1840477

Revision history for this message
Matt Heller (matthew-f-heller) wrote :

My apologies, I just realized I did have to change one more line to make the generated grub menu work for me, the diff of 30_os-prober should really be:

diff /etc/grub.d/30_os-prober.original /etc/grub.d/30_os-prober
246c246
< LINITRD="`echo ${LINUX} | cut -d ':' -f 5`"
---
> LINITRD="`echo ${LINUX} | cut -d ':' -f 5 | tr '^' ' '`"
255c255
< LINITRD="${LINITRD#/boot}"
---
> LINITRD="$(echo $LINITRD | sed 's|/boot/|/|g')"

--Matt