Browse files

Add GRUB files to install media

  • Loading branch information...
1 parent b7f494d commit c90346ecdf128ccd35081877d2008ee76cc51555 @kmoore134 kmoore134 committed Oct 11, 2013
Showing with 405 additions and 9 deletions.
  1. +202 −0 overlays/install-overlay/boot/grub/grub.cfg
  2. BIN overlays/install-overlay/boot/grub/pcbsdfont.pf2
  3. +2 −0 overlays/install-overlay/boot/grub/themes/pcbsd/README
  4. BIN overlays/install-overlay/boot/grub/themes/pcbsd/background.png
  5. BIN overlays/install-overlay/boot/grub/themes/pcbsd/blob_w.png
  6. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_c.png
  7. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_e.png
  8. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_n.png
  9. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_ne.png
  10. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_nw.png
  11. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_s.png
  12. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_se.png
  13. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_sw.png
  14. BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_w.png
  15. BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_10.pf2
  16. BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_12.pf2
  17. BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_14.pf2
  18. BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_16.pf2
  19. BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_bold_14.pf2
  20. BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_c.png
  21. BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_n.png
  22. BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_s.png
  23. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_c.png
  24. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_e.png
  25. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_n.png
  26. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_ne.png
  27. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_nw.png
  28. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_s.png
  29. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_se.png
  30. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_sw.png
  31. BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_w.png
  32. +83 −0 overlays/install-overlay/boot/grub/themes/pcbsd/theme.txt
  33. +36 −0 overlays/install-overlay/boot/grub/themes/starfield/README
  34. BIN overlays/install-overlay/boot/grub/themes/starfield/blob_w.png
  35. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_c.png
  36. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_e.png
  37. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_n.png
  38. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_ne.png
  39. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_nw.png
  40. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_s.png
  41. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_se.png
  42. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_sw.png
  43. BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_w.png
  44. BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_10.pf2
  45. BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_12.pf2
  46. BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_14.pf2
  47. BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_16.pf2
  48. BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_bold_14.pf2
  49. BIN overlays/install-overlay/boot/grub/themes/starfield/slider_c.png
  50. BIN overlays/install-overlay/boot/grub/themes/starfield/slider_n.png
  51. BIN overlays/install-overlay/boot/grub/themes/starfield/slider_s.png
  52. BIN overlays/install-overlay/boot/grub/themes/starfield/starfield.png
  53. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_c.png
  54. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_e.png
  55. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_n.png
  56. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_ne.png
  57. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_nw.png
  58. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_s.png
  59. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_se.png
  60. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_sw.png
  61. BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_w.png
  62. +79 −0 overlays/install-overlay/boot/grub/themes/starfield/theme.txt
  63. +3 −9 overlays/install-overlay/root/PCBSDStart.sh
View
202 overlays/install-overlay/boot/grub/grub.cfg
@@ -0,0 +1,202 @@
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
+#
+
+### BEGIN /usr/local/etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+set default="0"
+
+if [ x"${feature_menuentry_id}" = xy ]; then
+ menuentry_id_option="--id"
+else
+ menuentry_id_option=""
+fi
+
+export menuentry_id_option
+
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; then
+ saved_entry="${chosen}"
+ save_env saved_entry
+ fi
+}
+
+function load_video {
+ insmod vbe
+ insmod vga
+ insmod video_bochs
+ insmod video_cirrus
+}
+
+if loadfont ($root)/boot/grub/pcbsdfont.pf2 ; then
+ set gfxmode=auto
+ load_video
+ insmod gfxterm
+fi
+terminal_output gfxterm
+insmod gfxmenu
+loadfont ($root)/boot/grub/themes/pcbsd/dejavu_10.pf2
+loadfont ($root)/boot/grub/themes/pcbsd/dejavu_12.pf2
+loadfont ($root)/boot/grub/themes/pcbsd/dejavu_14.pf2
+loadfont ($root)/boot/grub/themes/pcbsd/dejavu_16.pf2
+loadfont ($root)/boot/grub/themes/pcbsd/dejavu_bold_14.pf2
+insmod png
+set theme=($root)/boot/grub/themes/pcbsd/theme.txt
+export theme
+set timeout=10
+
+menuentry "Graphical Install" {
+ kfreebsd /boot/kernel/kernel
+ set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
+ set kFreeBSD.hint.fdc.0.at=isa
+ set kFreeBSD.hint.fdc.0.port=0x3F0
+ set kFreeBSD.hint.fdc.0.irq=6
+ set kFreeBSD.hint.fdc.0.drq=2
+ set kFreeBSD.hint.fd.0.at=fdc0
+ set kFreeBSD.hint.fd.0.drive=0
+ set kFreeBSD.hint.fd.1.at=fdc0
+ set kFreeBSD.hint.fd.1.drive=1
+ set kFreeBSD.hint.atkbdc.0.at=isa
+ set kFreeBSD.hint.atkbdc.0.port=0x060
+ set kFreeBSD.hint.atkbd.0.at=atkbdc
+ set kFreeBSD.hint.atkbd.0.irq=1
+ set kFreeBSD.hint.psm.0.at=atkbdc
+ set kFreeBSD.hint.psm.0.irq=12
+ set kFreeBSD.hint.sc.0.at=isa
+ set kFreeBSD.hint.sc.0.flags=0x100
+ set kFreeBSD.hint.uart.0.at=isa
+ set kFreeBSD.hint.uart.0.port=0x3F8
+ set kFreeBSD.hint.uart.0.flags=0x10
+ set kFreeBSD.hint.uart.0.irq=4
+ set kFreeBSD.hint.uart.1.at=isa
+ set kFreeBSD.hint.uart.1.port=0x2F8
+ set kFreeBSD.hint.uart.1.irq=3
+ set kFreeBSD.hint.ppc.0.at=isa
+ set kFreeBSD.hint.ppc.0.irq=7
+ set kFreeBSD.hint.atrtc.0.at=isa
+ set kFreeBSD.hint.atrtc.0.port=0x70
+ set kFreeBSD.hint.atrtc.0.irq=8
+ set kFreeBSD.hint.attimer.0.at=isa
+ set kFreeBSD.hint.attimer.0.port=0x40
+ set kFreeBSD.hint.attimer.0.irq=0
+ set kFreeBSD.hint.wbwd.0.at=isa
+ set kFreeBSD.hint.psm.0.flags=0x1000
+ set kFreeBSD.kern.ipc.shmseg=1024
+ set kFreeBSD.kern.ipc.shmmni=1024
+ set kFreeBSD.kern.maxproc=10000
+ set kFreeBSD.legal.intel_ipw.license_ack=1
+ set kFreeBSD.legal.intel_iwi.license_ack=1
+ set kFreeBSD.vfs.zfs.prefetch_disable=1
+ set kFreeBSD.hint.acpi_throttle.0.disabled=1
+ set kFreeBSD.machdep.disable_mtrrs=1
+ set kFreeBSD.kern.geom.eli.visible_passphrase=2
+}
+
+menuentry "Run X in VESA mode" {
+ kfreebsd /boot/kernel/kernel
+ set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
+ set kFreeBSD.hint.fdc.0.at=isa
+ set kFreeBSD.hint.fdc.0.port=0x3F0
+ set kFreeBSD.hint.fdc.0.irq=6
+ set kFreeBSD.hint.fdc.0.drq=2
+ set kFreeBSD.hint.fd.0.at=fdc0
+ set kFreeBSD.hint.fd.0.drive=0
+ set kFreeBSD.hint.fd.1.at=fdc0
+ set kFreeBSD.hint.fd.1.drive=1
+ set kFreeBSD.hint.atkbdc.0.at=isa
+ set kFreeBSD.hint.atkbdc.0.port=0x060
+ set kFreeBSD.hint.atkbd.0.at=atkbdc
+ set kFreeBSD.hint.atkbd.0.irq=1
+ set kFreeBSD.hint.psm.0.at=atkbdc
+ set kFreeBSD.hint.psm.0.irq=12
+ set kFreeBSD.hint.sc.0.at=isa
+ set kFreeBSD.hint.sc.0.flags=0x100
+ set kFreeBSD.hint.uart.0.at=isa
+ set kFreeBSD.hint.uart.0.port=0x3F8
+ set kFreeBSD.hint.uart.0.flags=0x10
+ set kFreeBSD.hint.uart.0.irq=4
+ set kFreeBSD.hint.uart.1.at=isa
+ set kFreeBSD.hint.uart.1.port=0x2F8
+ set kFreeBSD.hint.uart.1.irq=3
+ set kFreeBSD.hint.ppc.0.at=isa
+ set kFreeBSD.hint.ppc.0.irq=7
+ set kFreeBSD.hint.atrtc.0.at=isa
+ set kFreeBSD.hint.atrtc.0.port=0x70
+ set kFreeBSD.hint.atrtc.0.irq=8
+ set kFreeBSD.hint.attimer.0.at=isa
+ set kFreeBSD.hint.attimer.0.port=0x40
+ set kFreeBSD.hint.attimer.0.irq=0
+ set kFreeBSD.hint.wbwd.0.at=isa
+ set kFreeBSD.hint.psm.0.flags=0x1000
+ set kFreeBSD.kern.ipc.shmseg=1024
+ set kFreeBSD.kern.ipc.shmmni=1024
+ set kFreeBSD.kern.maxproc=10000
+ set kFreeBSD.legal.intel_ipw.license_ack=1
+ set kFreeBSD.legal.intel_iwi.license_ack=1
+ set kFreeBSD.vfs.zfs.prefetch_disable=1
+ set kFreeBSD.hint.acpi_throttle.0.disabled=1
+ set kFreeBSD.machdep.disable_mtrrs=1
+ set kFreeBSD.kern.geom.eli.visible_passphrase=2
+ set kFreeBSD.xvesa=YES
+}
+
+menuentry "Emergency Console" {
+ kfreebsd /boot/kernel/kernel
+ set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
+ set kFreeBSD.hint.fdc.0.at=isa
+ set kFreeBSD.hint.fdc.0.port=0x3F0
+ set kFreeBSD.hint.fdc.0.irq=6
+ set kFreeBSD.hint.fdc.0.drq=2
+ set kFreeBSD.hint.fd.0.at=fdc0
+ set kFreeBSD.hint.fd.0.drive=0
+ set kFreeBSD.hint.fd.1.at=fdc0
+ set kFreeBSD.hint.fd.1.drive=1
+ set kFreeBSD.hint.atkbdc.0.at=isa
+ set kFreeBSD.hint.atkbdc.0.port=0x060
+ set kFreeBSD.hint.atkbd.0.at=atkbdc
+ set kFreeBSD.hint.atkbd.0.irq=1
+ set kFreeBSD.hint.psm.0.at=atkbdc
+ set kFreeBSD.hint.psm.0.irq=12
+ set kFreeBSD.hint.sc.0.at=isa
+ set kFreeBSD.hint.sc.0.flags=0x100
+ set kFreeBSD.hint.uart.0.at=isa
+ set kFreeBSD.hint.uart.0.port=0x3F8
+ set kFreeBSD.hint.uart.0.flags=0x10
+ set kFreeBSD.hint.uart.0.irq=4
+ set kFreeBSD.hint.uart.1.at=isa
+ set kFreeBSD.hint.uart.1.port=0x2F8
+ set kFreeBSD.hint.uart.1.irq=3
+ set kFreeBSD.hint.ppc.0.at=isa
+ set kFreeBSD.hint.ppc.0.irq=7
+ set kFreeBSD.hint.atrtc.0.at=isa
+ set kFreeBSD.hint.atrtc.0.port=0x70
+ set kFreeBSD.hint.atrtc.0.irq=8
+ set kFreeBSD.hint.attimer.0.at=isa
+ set kFreeBSD.hint.attimer.0.port=0x40
+ set kFreeBSD.hint.attimer.0.irq=0
+ set kFreeBSD.hint.wbwd.0.at=isa
+ set kFreeBSD.hint.psm.0.flags=0x1000
+ set kFreeBSD.kern.ipc.shmseg=1024
+ set kFreeBSD.kern.ipc.shmmni=1024
+ set kFreeBSD.kern.maxproc=10000
+ set kFreeBSD.legal.intel_ipw.license_ack=1
+ set kFreeBSD.legal.intel_iwi.license_ack=1
+ set kFreeBSD.vfs.zfs.prefetch_disable=1
+ set kFreeBSD.hint.acpi_throttle.0.disabled=1
+ set kFreeBSD.machdep.disable_mtrrs=1
+ set kFreeBSD.kern.geom.eli.visible_passphrase=2
+ set kFreeBSD.xconsole=YES
+}
View
BIN overlays/install-overlay/boot/grub/pcbsdfont.pf2
Binary file not shown.
View
2 overlays/install-overlay/boot/grub/themes/pcbsd/README
@@ -0,0 +1,2 @@
+PC-BSD GRUB2 default theme
+Copied and modified from the default "starfield" theme
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/blob_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_c.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_e.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_n.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_ne.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_nw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_s.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_se.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_sw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/boot_menu_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_10.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_12.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_14.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_16.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/dejavu_bold_14.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_c.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_n.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/slider_s.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_c.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_e.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_n.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_ne.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_nw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_s.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_se.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_sw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/pcbsd/terminal_box_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
83 overlays/install-overlay/boot/grub/themes/pcbsd/theme.txt
@@ -0,0 +1,83 @@
+# Default theme for GRUB2
+#
+# Copyright (C) 2011 Daniel Tschudi
+# Copyright (C) 2013 Kris Moore
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+
+#general settings
+title-text: "PC-BSD Bootloader"
+title-font: "DejaVu Sans Bold 14"
+title-color: "#000"
+message-font: "DejaVu Sans Regular 12"
+message-color: "#000"
+message-bg-color: "#000"
+terminal-box: "terminal_box_*.png"
+terminal-font: "DejaVu Sans Regular 12"
+desktop-image: "background.png"
+
+#help bar at the bottom
++ label {
+ top = 100%-25
+ left = 0
+ width = 100%
+ height = 20
+ text = "@KEYMAP_MIDDLE@"
+ align = "center"
+ font = "DejaVu Sans Regular 10"
+ color = "#000"
+}
+
+#boot menu
++ boot_menu {
+ left = 10%
+ width = 80%
+ top = 15%
+ height = 45%
+ item_font = "DejaVu Sans Regular 12"
+ item_color = "#000"
+ selected_item_font = "DejaVu Sans Bold 14"
+ selected_item_color= "#2621CC"
+ selected_item_pixmap_style = "blob_*.png"
+ icon_height = 25
+ icon_width = 25
+ item_height = 26
+ item_padding = 0
+ item_icon_space = 0
+ item_spacing = 1
+ scrollbar = true
+ scrollbar_width = 20
+ scrollbar_thumb = "slider_*.png"
+ menu_pixmap_style = "boot_menu_*.png"
+}
+
+#progress bar
++ progress_bar {
+ id = "__timeout__"
+ left = 15%
+ top = 65%
+ height = 20
+ width = 50%
+ font = "DejaVu Sans Regular 12"
+ text_color = "#000"
+ fg_color = "#6ac"
+ bg_color = "#fff"
+ border_color = "#000"
+ text = "@TIMEOUT_NOTIFICATION_LONG@"
+}
View
36 overlays/install-overlay/boot/grub/themes/starfield/README
@@ -0,0 +1,36 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% GRUB2 gfxmenu default theme by Daniel Tschudi %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Version history:
+
+ 0.99: first test release
+
+Introduction:
+
+ This shall be the default theme for the GRUB2. As the theme format seems to be more stable then before, there is hope that this theme will work
+ in future version of GRUB2 as well.
+
+Usage:
+
+ The font (c.f. theme.txt) required by this theme are not supplied with it,
+ as they should be generated out of the newest available version at compile time.
+
+Remarks:
+
+ All images of the theme have been made by the author using GIMP.
+
+ This theme does not contain any text in a fixed language.
+
+ As soon as gfxmenu allows it, this theme should be updated to support localised layouts, such as different position for the scrollbar depending on reading direction.
+
+ In order to speed up the loading process on smaller resolutions, the starfield.png might be converted in to .jpeg images of different resolution.
+
+ This theme is inspired by the work and themes of Jo Shields.
+
+ Do not not use the m-word near the ape, ook!
+
+
+Copyright & Licensing:
+
+ Please see the COPYING file
View
BIN overlays/install-overlay/boot/grub/themes/starfield/blob_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_c.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_e.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_n.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_ne.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_nw.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_s.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_se.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_sw.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/boot_menu_w.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_10.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_12.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_14.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_16.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/dejavu_bold_14.pf2
Binary file not shown.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/slider_c.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/slider_n.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/slider_s.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/starfield.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_c.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_e.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_n.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_ne.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_nw.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_s.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_se.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_sw.png
Diff not rendered.
View
BIN overlays/install-overlay/boot/grub/themes/starfield/terminal_box_w.png
Diff not rendered.
View
79 overlays/install-overlay/boot/grub/themes/starfield/theme.txt
@@ -0,0 +1,79 @@
+# Default theme for GRUB2
+#
+# Copyright (C) 2011 Daniel Tschudi
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+
+#general settings
+message-font: "DejaVu Sans Regular 12"
+message-color: "#000"
+message-bg-color: "#fff"
+terminal-box: "terminal_box_*.png"
+terminal-font: "DejaVu Sans Regular 12"
+desktop-image: "starfield.png"
+
+#help bar at the bottom
++ label {
+ top = 100%-25
+ left = 0
+ width = 100%
+ height = 20
+ text = "@KEYMAP_MIDDLE@"
+ align = "center"
+ font = "DejaVu Sans Regular 10"
+ color = "#FFF"
+}
+
+#boot menu
++ boot_menu {
+ left = 10%
+ width = 80%
+ top = 20%
+ height = 50%
+ item_font = "DejaVu Sans Regular 12"
+ item_color = "#000"
+ selected_item_font = "DejaVu Sans Bold 14"
+ selected_item_color= "#000"
+ selected_item_pixmap_style = "blob_*.png"
+ icon_height = 25
+ icon_width = 25
+ item_height = 26
+ item_padding = 0
+ item_icon_space = 0
+ item_spacing = 1
+ scrollbar = true
+ scrollbar_width = 20
+ scrollbar_thumb = "slider_*.png"
+ menu_pixmap_style = "boot_menu_*.png"
+}
+
+#progress bar
++ progress_bar {
+ id = "__timeout__"
+ left = 15%
+ top = 80%
+ height = 20
+ width = 70%
+ font = "DejaVu Sans Regular 12"
+ text_color = "#000"
+ fg_color = "#fff"
+ bg_color = "#6ac"
+ border_color = "#fff"
+ text = "@TIMEOUT_NOTIFICATION_LONG@"
+}
View
12 overlays/install-overlay/root/PCBSDStart.sh
@@ -39,11 +39,7 @@ fi
/root/debugpcsysinstall.sh
# Check if we are running in a VM and enable guest services
-case "$(kenv smbios.system.product)" in
-VirtualBox) /usr/local/etc/rc.d/vboxguest onestart ;;
-VMware*) ;;
- *) ;;
-esac
+/usr/local/etc/rc.d/vboxguest onestart
# Set all NICS to DHCP
NICS=`ifconfig -l`
@@ -95,10 +91,8 @@ mkdir /tmp/.qt
mkdir /tmp/xkb
# Check if we should be going to the console instead of X directly
-/sbin/sysctl kern.module_path | /usr/bin/grep "CONSOLE" >/dev/null 2>/dev/null
-FOUND="$?"
-if [ "$FOUND" = "0" ]
-then
+kenv xconsole 2>/dev/null | grep -q "YES"
+if [ $? -eq 0 ]; then
/root/PCBSDtext.sh
shutdown -r now
exit

0 comments on commit c90346e

Please sign in to comment.