aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grub.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/grub.cfg b/grub.cfg
index b0abc4da8319..9962c3e24115 100644
--- a/grub.cfg
+++ b/grub.cfg
@@ -90,6 +90,15 @@ insmod regexp
insmod ahci
insmod part_msdos
for x in (ahci*,*) ; do
+ if [ -f "$x/netbsd" ] ; then
+ menuentry "Load NetBSD from $x" $x {
+ root=$2
+ knetbsd /netbsd
+ }
+ fi
+done
+
+for x in (ahci*,*) ; do
if [ -f "$x/grub/grub.cfg" ] ; then
menuentry "Load Config from $x" $x {
root=$2