summaryrefslogtreecommitdiff
path: root/resources/grub/config/grub_memdisk.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/grub/config/grub_memdisk.cfg')
-rw-r--r--resources/grub/config/grub_memdisk.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/grub/config/grub_memdisk.cfg b/resources/grub/config/grub_memdisk.cfg
index c9f22ff1..0763801b 100644
--- a/resources/grub/config/grub_memdisk.cfg
+++ b/resources/grub/config/grub_memdisk.cfg
@@ -1,4 +1,7 @@
set prefix=(memdisk)/boot/grub
-set root='cbfsdisk'
-source (cbfsdisk)/grub.cfg
+if [ -f (cbfsdisk)/grub.cfg ]; then
+ source (cbfsdisk)/grub.cfg
+else
+ source (memdisk)/boot/grub/grub_default.cfg
+fi