source: overlays/install-overlay/boot/grub/grub.cfg @ 6ccc124

releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 6ccc124 was 6ccc124, checked in by Kris Moore <kris@…>, 10 months ago

Lets make sure ums is loaded by default, since some classes of mice aren't being detected
by devd properly.

Reported by: Claudio

  • Property mode set to 100644
File size: 2.4 KB
Line 
1#
2# DO NOT EDIT THIS FILE
3#
4# It is automatically generated by grub-mkconfig using templates
5# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
6#
7
8### BEGIN /usr/local/etc/grub.d/00_header ###
9if [ -s $prefix/grubenv ]; then
10  load_env
11fi
12set default="0"
13
14if [ x"${feature_menuentry_id}" = xy ]; then
15  menuentry_id_option="--id"
16else
17  menuentry_id_option=""
18fi
19
20export menuentry_id_option
21
22if [ "${prev_saved_entry}" ]; then
23  set saved_entry="${prev_saved_entry}"
24  save_env saved_entry
25  set prev_saved_entry=
26  save_env prev_saved_entry
27  set boot_once=true
28fi
29
30function savedefault {
31  if [ -z "${boot_once}" ]; then
32    saved_entry="${chosen}"
33    save_env saved_entry
34  fi
35}
36
37function load_video {
38  insmod vbe
39  insmod vga
40  insmod video_bochs
41  insmod video_cirrus
42}
43
44
45if loadfont ($root)/boot/grub/pcbsdfont.pf2 ; then
46  # If on a PC / BIOS platform
47  if [ x"${grub_platform}" = xpc ] ; then
48    set gfxmode=auto
49    load_video
50    insmod gfxterm
51  else
52    # EFI
53    insmod efi_gop
54    insmod gfxterm
55    insmod font
56    insmod videotest
57    insmod videoinfo
58    set gfxpayload=vga=normal
59  fi
60fi
61terminal_output gfxterm
62insmod gfxmenu
63loadfont ($root)/boot/grub/themes/pcbsd/dejavu_10.pf2
64loadfont ($root)/boot/grub/themes/pcbsd/dejavu_12.pf2
65loadfont ($root)/boot/grub/themes/pcbsd/dejavu_14.pf2
66loadfont ($root)/boot/grub/themes/pcbsd/dejavu_16.pf2
67loadfont ($root)/boot/grub/themes/pcbsd/dejavu_bold_14.pf2
68insmod png
69set theme=($root)/boot/grub/themes/pcbsd/theme.txt
70export theme
71set timeout=15
72
73menuentry "Graphical Install" {
74  kfreebsd /boot/kernel/kernel
75  kfreebsd_loadenv /boot/device.hints
76  kfreebsd_module_elf /boot/kernel/ums.ko
77  set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
78  set kFreeBSD.kern.geom.eli.visible_passphrase=2
79}
80
81menuentry "Graphical Install - (Failsafe VESA mode)" {
82  kfreebsd /boot/kernel/kernel
83  kfreebsd_loadenv /boot/device.hints
84  kfreebsd_module_elf /boot/kernel/ums.ko
85  set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
86  set kFreeBSD.kern.geom.eli.visible_passphrase=2
87  set kFreeBSD.xvesa=YES
88}
89
90menuentry "Text Install / Emergency Console" {
91  kfreebsd /boot/kernel/kernel
92  kfreebsd_loadenv /boot/device.hints
93  kfreebsd_module_elf /boot/kernel/ums.ko
94  set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
95  set kFreeBSD.kern.geom.eli.visible_passphrase=2
96  set kFreeBSD.xconsole=YES
97}
Note: See TracBrowser for help on using the repository browser.