Skip to content

Instantly share code, notes, and snippets.

@textgoeshere
Created May 11, 2011 20:53
Show Gist options
  • Save textgoeshere/967319 to your computer and use it in GitHub Desktop.
Save textgoeshere/967319 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "adding xPUD 0.9.2" >&2
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "xPUD 0.9.2" {
set isofile="/boot/iso/xpud-0.9.2.iso"
loopback loop (hd0,1)$isofile
linux (loop)/boot/xpud isoscan=$isofile noisapnp quiet
initrd (loop)/opt/media
}
# This is a grub2 loader for the xPUD 0.9.2 iso from http://www.xpud.org/
# 1) Save this file /etc/grub.d/40_xpud (edit the partition if you need)
# 2) sudo chmod +x /etc/grub.d/40_xpud
# 3) sudo update-grub
# 4) save the iso in /boot/iso/xpud-0.9.2.iso
# reboot and hold down shift straight away - then select the xPUD menu item and enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment