# Slackware installer grub.cfg: set default="0" set timeout="30" set hidden_timeout_quiet=false # Set this to either console or gfxterm: DISPLAY_TYPE=console # Font to use for a gfxterm: DISPLAY_FONT=spleen # Graphics mode to use. # This one sets a resolution no higher than full HD. # This is typically fast enough, but has been known to cause a black screen # with some video cards. #GRUB_GFXMODE=1920x1080,1280x720,1024x768,800x600,640x480,auto # This one sets the display's native resolution. # Depending on your video card, this might be unreasonably slow. GRUB_GFXMODE=0x0 function load_video { if [ x$grub_platform = xefi ]; then insmod efi_gop elif [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ "$DISPLAY_TYPE" = "console" ]; then terminal_input console terminal_output console else # assume gfxterm # Use this block for a graphical console with a nice font. if loadfont $DISPLAY_FONT ; then set gfxmode=$GRUB_GFXMODE load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext terminal_output gfxterm fi fi if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=90 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=90 fi menuentry "Slackware 16.0 generic.s kernel"{ echo "Loading generic.s kernel and installer initrd. Please wait..." linux /kernels/generic.s/bzImage vga=normal ro printk.time=0 SLACK_KERNEL=generic.s initrd /isolinux/initrd.img } menuentry "Slackware 16.0 generic.s kernel (use nomodeset)"{ echo "Loading generic.s kernel (with nomodeset) and installer initrd. Please wait..." linux /kernels/generic.s/bzImage vga=normal ro printk.time=0 nomodeset SLACK_KERNEL=generic.s initrd /isolinux/initrd.img } # Detect installed operating system and allow booting them from GRUB: menuentry "Detect/boot any installed operating system" { configfile "/EFI/BOOT/osdetect.cfg" }