NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 9.3 UEFI installation help



On Thu, 1 Dec 2022, Mayuresh wrote:

Something like this boots:
    set root=(hd0,gpt1)
    knetbsd /netbsd --root=dk5
    boot

But it says

    error: no suitable video mode found
    Booting in blind mode


I don't usually boot NetBSD via grub, but, this worked:

---
$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'NetBSD-HEAD' --class netbsd --class bsd --class os --id 'netbsd' {
    gfxmode 1366x768
    insmod part_gpt
    insmod efi_gop
    insmod gfxterm
    set gfxpayload=keep
    insmod ufs2
    set root=(hd0,gpt10)
    knetbsd /netbsd
    boot
}
$ sudo update-grub
---

You may have load a different module for VESA, and change the resolution.

-RVP


Home | Main Index | Thread Index | Old Index