Re: Ubuntu guest Grub prompt

From: Matt Churchyard <>
Date: Mon, 28 Feb 2022 09:02:29 UTC

>I've installed (many tries) Ubuntu 21 as guest on FreeBSD 13

>Installation runs without problem, but a boot, it drops to grub prompt. 
>I know how to boot (set prefix=(hd0,gpt2)/boot/grub etc...)

>But how to fix permanently ?

>My config file :


If you want to stick with the grub loader there's a few things you could try.

Setting grub_run_partition="gpt2" will cause it to look for (hd0,gpt2)/boot/grub/grub.conf, which may solve it if it's just looking in the wrong partition for the grub config. There's also grub_run_dir & grub_run_file to specify the grub directory and config file if needed. Otherwise you could try using the grub_runX options to directly specify the bootloader commands you need to use to make it boot.

There's a bit more information in the list of config options -




Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer