** Description changed:
Binary package hint: grub-installer
- Seems like the old code was removed in recent revisions, in particular
- there used to be the following snippet which is required by wubi
+ Loop-installations expect a root argument such as:
+
+ root ()/ubuntu/disks
+
+ There following code used to replace the existing groot to produce the
+ above string
if db_get grub-installer/bootdev_directory && [ "$RET" ]; then
sed -i "/^# groot=/s:).*:)$RET:" $ROOT/boot/grub/$menu_file
need_update_grub=1
fi
- Without the above, groot is not correct for loopinstallations.
+ But because of the way the new update-grub handles of groot/boot_device,
+ the groot string returned is formatted differently (there are no "()")
+ and the above sed command fails. The following should work:
+
+ if db_get grub-installer/bootdev_directory && [ "$RET" ]; then
+ sed -i "s:^# groot=.*:# groot=()$RET:" $ROOT/boot/grub/$menu_file
+ need_update_grub=1
+ fi
--
Incorrect groot makes wubi installations unbootable
https://bugs.launchpad.net/bugs/283520
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs