Comment 5 for bug 217348

Revision history for this message
Agostino Russo (ago) wrote :

--- 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