summaryrefslogtreecommitdiffstats
path: root/images/grub2.config
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-04-07 19:45:38 +0259
committerThomas Backlund <tmb@mageia.org>2015-04-07 19:45:38 +0259
commit34ffa3faf940b1441f06c1eeb480c232ad734346 (patch)
tree8ffb4df7cc368b55d67b828b87ce4b5e4bca70f3 /images/grub2.config
parenta49bc1abdfff9451b737a15a2d0a40327d863078 (diff)
downloaddrakx-34ffa3faf940b1441f06c1eeb480c232ad734346.tar
drakx-34ffa3faf940b1441f06c1eeb480c232ad734346.tar.gz
drakx-34ffa3faf940b1441f06c1eeb480c232ad734346.tar.bz2
drakx-34ffa3faf940b1441f06c1eeb480c232ad734346.tar.xz
drakx-34ffa3faf940b1441f06c1eeb480c232ad734346.zip
create efi loader at build time
Diffstat (limited to 'images/grub2.config')
-rw-r--r--images/grub2.config33
1 files changed, 33 insertions, 0 deletions
diff --git a/images/grub2.config b/images/grub2.config
new file mode 100644
index 000000000..d69e7fbff
--- /dev/null
+++ b/images/grub2.config
@@ -0,0 +1,33 @@
+
+insmod efi_gop
+insmod efi_uga
+insmod video_bochs
+insmod video_cirrus
+insmod video_fb
+
+insmod font
+if loadfont ${prefix}/fonts/unicode.pf2
+then
+ insmod gfxterm
+ set gfxmode=1024x768,800x600,640x480
+ set gfxpayload=keep
+ terminal_output gfxterm
+fi
+
+insmod png
+set theme=($root)/EFI/BOOT/themes/maggy/theme.txt
+export theme
+
+set timeout=10
+
+search --no-floppy --set=root -l 'Mageia-5-x86_64-netinstall'
+
+menuentry 'Start Mageia 5 (Cauldron) Install' {
+ linux /isolinux/x86_64/vmlinuz quiet noiswmd
+ initrd /isolinux/x86_64/all.rdz
+}
+
+menuentry 'Start Mageia 5 (Cauldron) Rescue' {
+ linux /isolinux/x86_64/vmlinuz audit=0 noiswmd rescue
+ initrd /isolinux/x86_64/all.rdz
+}