[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Working grub.cfg for UEFI boot FreeBSD using GRUB on x86
From: |
Andrei Borzenkov |
Subject: |
Re: Working grub.cfg for UEFI boot FreeBSD using GRUB on x86 |
Date: |
Mon, 10 Apr 2017 20:33:38 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
10.04.2017 14:53, HSR Hackspace пишет:
> Hi folks;
>
> Small update from my side on this issue. I realize that I am using
> little older version of grub2-efi and grub-pcbsd. I upgraded to to
> latest ports of BSD. On booting now instead of directly going into
> blurry graphics I'm getting "'no suitable video mode found, booting
> in blind mode'". After pressing any key goes into blurry unreadble
> fast moving graphics on top side of screen.
>
...
>
> Non working config for Freebsd:
>
> menuentry "FreeBSD" {
> insmod part_gpt
> insmod bsd
> insmod geli
> insmod ufs2
> set kFreeBSD.kern.vty=vt
> set root=(hd0,3)
> kfreebsd /boot/kernel/kernel
> kfreebsd_loadenv /boot/device.hints
> set kFreeBSD.vfs.root.mountfrom=ufs:/dev/da0p3
> }
>
> menuentry "FreeBSD" {
> insmod ufs2
> insmod bsd
> insmod gfxterm
> insmod font
> insmod videotest
> insmod videoinfo
> set gfxmode=auto
> set kernvt="vt"
> set kFreeBSD.kern.vty=vt
> set root=(hd0,3)
> kfreebsd /boot/kernel/kernel
> kfreebsd_loadenv /boot/device.hints
> set kFreeBSD.vfs.root.mountfrom=ufs:/dev/da0p3
> }
>
That does not match. The only *BSD loader that emits "booting in blind
mode" is knetbsd. kfreebsd should simply switch to text mode. May be
there are distro specific patches, then it is better to ask FreeBSD folks.