update-grub fails,why?

Asked by Emmanuel Kinego

Trying to update-grub but it fails with the following response
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

I have replied yes but still loading

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

If you are trying to update the grub2 config files on a hard drive but have booted off the LiveCD then you will need to chroot into the filesystem before you can run update grub.

What drive is your Ubuntu installed on, and is it currently bootable? If it's bootable then just boot off it and run update-grub

Chris

Can you help with this problem?

Provide an answer of your own, or ask Emmanuel Kinego for more information if necessary.

To post a message you must log in.