From: Michael Prokop Date: Fri, 3 Nov 2006 23:02:30 +0000 (+0100) Subject: try to fix groot-problem of grub X-Git-Tag: 0.2~17 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=df215113c0cc97a0b7b66186c4eec5ba991fde10 try to fix groot-problem of grub --- diff --git a/chroot-script b/chroot-script index e6c95a7..620a2c6 100644 --- a/chroot-script +++ b/chroot-script @@ -158,7 +158,7 @@ if [ -n "$GROOT" ] ; then # finally install grub update-grub -y - sed -i "s/groot=.*/groot=(${GROOT})/g" /boot/grub/menu.lst + sed -i "s/^# groot=.*/# groot=(${GROOT})/g" /boot/grub/menu.lst # not sure why savedefault does not work for me; any ideas? sed -i "s/^savedefault.*/# &/g" /boot/grub/menu.lst update-grub -y