From 64e7e213458e200b318699ea02637d18db1721db Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sat, 1 Jul 2017 20:32:02 -0400 Subject: Fix OpenBSD grub.conf docs Previously, Libreboot's GRUB payload would fail to detect the OpenBSD menuentry. Now it does. --- docs/bsd/openbsd.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/bsd/openbsd.md b/docs/bsd/openbsd.md index ca9ac387..44cd9ef6 100644 --- a/docs/bsd/openbsd.md +++ b/docs/bsd/openbsd.md @@ -154,7 +154,10 @@ be used by libreboot. On your OpenBSD root partition, create the `/grub` directory and add the file `libreboot_grub.cfg` to it. Inside the `libreboot_grub.cfg` add these lines: - default=0 timeout=3 menuentry "OpenBSD" { + default=0 + timeout=3 + + menuentry "OpenBSD" {      kopenbsd -r sd0a (ahci0,openbsd1)/bsd } -- cgit v1.2.3-70-g09d2 From 1d527626326b69d0d2bf078687fe924f10d126a5 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sat, 1 Jul 2017 20:34:20 -0400 Subject: Fix OpenBSD grub.conf formatting There were some weird special characters which messed things up. Replacing them with spaces fixes the problem. --- docs/bsd/openbsd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/bsd/openbsd.md b/docs/bsd/openbsd.md index 44cd9ef6..ce8a3f06 100644 --- a/docs/bsd/openbsd.md +++ b/docs/bsd/openbsd.md @@ -158,7 +158,7 @@ On your OpenBSD root partition, create the `/grub` directory and add the file timeout=3 menuentry "OpenBSD" { -     kopenbsd -r sd0a (ahci0,openbsd1)/bsd + kopenbsd -r sd0a (ahci0,openbsd1)/bsd } The next time you boot, you'll see the old Grub menu for a few seconds, -- cgit v1.2.3-70-g09d2 From d0f60563a71bb1238ccb448d2ec7aa6de046e101 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sat, 1 Jul 2017 20:37:31 -0400 Subject: Fix NetBSD's grub.conf instructions The grub.conf mentioned here has the same errors that the OpenBSD one had. --- docs/bsd/netbsd.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/bsd/netbsd.md b/docs/bsd/netbsd.md index c3ed6970..323d0301 100644 --- a/docs/bsd/netbsd.md +++ b/docs/bsd/netbsd.md @@ -134,8 +134,11 @@ On your NetBSD root partition, create the `/grub` directory and add the file `libreboot_grub.cfg` to it. Inside the `libreboot_grub.cfg` add these lines: - default=0 timeout=3 menuentry "NetBSD" { -     knetbsd -r wd0a (ahci0,netbsd1)/netbsd + default=0 + timeout=3 + + menuentry "NetBSD" { + knetbsd -r wd0a (ahci0,netbsd1)/netbsd } The next time you boot, you'll see the old Grub menu for a few seconds, -- cgit v1.2.3-70-g09d2