Re: Ubuntu guest Grub prompt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Feb 2022 09:02:29 UTC
>Hi, >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 : >loader="grub" >cpu=2 >memory=2048M >network0_type="virtio-net" >network0_switch="public" >disk0_type="virtio-blk" >disk0_name="disk0.img" >uuid="9fb3f8a7-7935-11ec-ae5a-d05099c11279" >network0_mac="58:9c:fc:00:1b:ed" 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 - https://github.com/churchers/vm-bhyve/blob/master/sample-templates/config.sample Matt >Cheers, >Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr