--- grub-installer 2008-04-28 16:21:48.519362000 +0100 +++ grub-installer.new 2008-04-28 16:26:37.285702000 +0100 @@ -857,7 +857,7 @@ fi
if db_get grub-installer/bootdev_directory && [ "$RET" ]; then - sed -i "/^# groot=/s:).*:)$RET:" $ROOT/boot/grub/$menu_file + sed -i "s:^# groot=(hd.*:# groot=()$RET:" $ROOT/boot/grub/$menu_file need_update_grub=1 fi
--- grub-installer 2008-04-28 16:21:48.519362000 +0100
+++ grub-installer.new 2008-04-28 16:26:37.285702000 +0100
@@ -857,7 +857,7 @@
fi
if db_get grub-installer/ bootdev_ directory && [ "$RET" ]; then s:).*:) $RET:" $ROOT/boot/ grub/$menu_ file grub/$menu_ file
need_update_ grub=1
- sed -i "/^# groot=/
+ sed -i "s:^# groot=(hd.*:# groot=()$RET:" $ROOT/boot/
fi