help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update-grub fails saying it cannot find a device for /


From: Andrei Borzenkov
Subject: Re: update-grub fails saying it cannot find a device for /
Date: Sun, 14 Nov 2021 17:45:22 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 14.11.2021 16:31, Stefan Blachmann wrote:
> When I enter
> # update-grub
> I get an error message:
> /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
> 
> /dev has been mounted before entering the chroot /mnt environment using
> # mount --rbind /dev /mnt/dev
> 

In chroot you need at least /sys and /proc in addition to /dev, /run may also 
be needed.

> If I enter
> # grub-probe
> it answers:
> No path or device is specified.
> 
> If I enter
> # grub-probe /boot
> it answers:
> zfs
> 
> So, what do I need to do to make update-grub work?
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]