ventoy / vtoyboot

Work with ventoy to support boot Linux distros in a vdisk file (vhd/vdi/raw ...)
GNU General Public License v3.0
275 stars 23 forks source link

grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. #39

Open CaptainKAZ opened 2 years ago

CaptainKAZ commented 2 years ago

Hello i am encountering a problem when updating linux kernel (linux-image-5.11.0-27-generic) on physical machine. My system is Ubuntu 20.04 and my hardware is lenovo legion Y7000-1060 and after that when I try to run vtoybooot.sh and the same error arise again. Here is my log:

`正在处理用于 man-db (2.9.1-1) 的触发器 ... 正在处理用于 linux-image-5.13.0-35-generic (5.13.0-35.40~20.04.1) 的触发器 ... /etc/kernel/postinst.d/dkms:

CaptainKAZ commented 2 years ago

Update: I went back to virtual box then grub config can run correctly.... but why??

lvxu1987 commented 2 years ago

这个问题的原因你找到了没有?我也是有类似的问题。

get rootb uuid error: failed to get "rootb" uuid 正在生成 grub 配置文件 ... grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. Found background image: .background_cache.jpeg 找到 Linux 镜像:/boot/vmlinuz-5.10.101-amd64-desktop 找到 initrd 镜像:/boot/initrd.img-5.10.101-amd64-desktop grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. 找到 Linux 镜像:/boot/vmlinuz-5.10.60-amd64-desktop 找到 initrd 镜像:/boot/initrd.img-5.10.60-amd64-desktop grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. 找到 Linux 镜像:/boot/vmlinuz-5.4.70-amd64-desktop 找到 initrd 镜像:/boot/initrd.img-5.4.70-amd64-desktop grub-probe-bk:错误: cannot find a GRUB drive for /dev/mapper/ventoy2. Check your device.map. Adding boot menu entry for EFI firmware configuration 完成 This is ventoy enviroment replace shim efi ... shimx64.efi no need 3

vtoyboot process successfully finished.

shellspicker commented 2 months ago

ref to this: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1722594

over, this issue should be closed.

别没确定问题根源就来提issue, 都用ventoy启动linux了, 默认你对linux是比较熟悉的.