Skip to content

Instantly share code, notes, and snippets.

@jmvrbanac
Last active August 29, 2015 14:00
Show Gist options
  • Save jmvrbanac/11306891 to your computer and use it in GitHub Desktop.
Save jmvrbanac/11306891 to your computer and use it in GitHub Desktop.
Disable graphical Grub for Debian guest on XenServer 6
#!/bin/sh
# Disable graphical Grub due to Xen defect which causes a blank screen
sed -i "s/#GRUB_TERMINAL=console/GRUB_TERMINAL=console/g" /etc/default/grub
# Set Grub timeout to a reasonable amount
sed -i "s/GRUB_TIMEOUT=5/GRUB_TIMEOUT=20/g" /etc/default/grub
# Update Grub
update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment