Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2022 10:26:26 +0100
From:      Xavier Humbert <xavier@xavierhumbert.net>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Ubuntu guest Grub prompt
Message-ID:  <bbf87f9c-3d19-4a15-f80e-2824ad3e048a@xavierhumbert.net>
In-Reply-To: <ac3ac9dd-5e14-adb5-b301-140205a18749@havellab.de>
References:  <25130fd1-7f8a-f9fe-25b6-65776e0e1ac4@xavierhumbert.net> <62c1600e-03a9-f9f9-d417-f10f152a3ffe@havellab.net> <ac3ac9dd-5e14-adb5-b301-140205a18749@havellab.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all, adding <<grub_run_partition="2">> fixed my problem !

Cheers,

Xavier

Le 2/27/22 14:08, daniel domscheit-berg a écrit :
>
> Hej Xavier,
>
> try adding
>
> grub_run_partition="2"
> grub_run_dir="/grub"
>
> to your VM config file. Should do the trick.
>
> All the best
>
> daniel
>
> On 2/27/22 13:07, havellab catchall wrote:
>>
>>
>>
>> -------- Forwarded Message --------
>> Subject: Ubuntu guest Grub prompt
>> Date: Sun, 27 Feb 2022 11:19:18 +0100
>> From: Xavier Humbert <xavier@xavierhumbert.net>
>> To: freebsd-virtualization@freebsd.org
>>
>> 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"
>>
>> Cheers,
>>
>> Xavier
>>
-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bbf87f9c-3d19-4a15-f80e-2824ad3e048a>