update-grub: cannot restore the original directory
Bug #673438 reported by
artphrases
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
Release is Ubuntu 10.04.1 All Updates from 10. Nov. 2010
apt-cache policy grub2
grub2:
Installed: (none)
Candidate: 1.98-1ubuntu7
I don`t understand why the display is saying, that grub is not installed?!
What happened:
I set the GRUB_TIMEOUT=0 in /etc/default/grub and ran the command update-grub sucessfully.
After a restart I altered the same value to 1 and tried a again to run update-grub with the failure message:
/usr/sbin/
Regards
Martin
Changed in grub2 (Ubuntu): | |
status: | Confirmed → Opinion |
status: | Opinion → Confirmed |
To post a comment you must log in.
That sounds like you were running update-grub from a directory that had been removed. Try making sure that the directory exists first (e.g. run 'cd $PWD', which will fail in much the same kind of way if that isn't the case).
The package you probably have installed is 'grub-pc'. grub2 is a metapackage, and you don't have to have it installed.