Created
July 31, 2014 05:06
-
-
Save samdoran/90056b8e4a2aedc6a3e8 to your computer and use it in GitHub Desktop.
Grub 2 USB Drive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original grub.cfg and instructions from Lance at Pendrivelinux | |
# http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/ | |
#set timeout=0 | |
set default=0 | |
set isopath="/iso" | |
menuentry "Ubuntu 12 64-bit" { | |
set isofile="$isopath/ubuntu-12.iso" | |
set gfxpayload=keep | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noeject noprompt splash -- | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry "DBAN ISO" { | |
set isofile="$isopath/dban.iso" | |
set gfxpayload=text | |
loopback loop $isofile | |
linux (loop)/DBAN.BZI nuke="dwipe" iso-scan/filename=$isofile silent -- | |
} | |
menuentry "SpinRite" { | |
set isofile="$isopath/SpinRite.img" | |
set gfxpayload=text | |
linux16 /boot/memdisk raw | |
initrd16 $isofile | |
} | |
menuentry "SystemRescueCd 32-bit" { | |
set isofile="$isopath/systemrescuecd.iso" | |
set gfxpayload=keep | |
loopback loop $isofile | |
linux (loop)/isolinux/rescue32 isoloop=$isofile scandelay=1 setkmap=dvorak docache | |
initrd (loop)/isolinux/initram.igz | |
} | |
menuentry "SystemRescueCd 64-bit" { | |
set isofile="$isopath/systemrescuecd.iso" | |
set gfxpayload=keep | |
loopback loop $isofile | |
linux (loop)/isolinux/rescue64 isoloop=$isofile scandelay=1 setkmap=dvorak docache | |
initrd (loop)/isolinux/initram.igz | |
} | |
menuentry "CloneZilla" { | |
set isofile="$isopath/clonezilla.iso" | |
loopback loop $isofile | |
linux (loop)/live/vmlinuz boot=live live-config union=aufs nolocales noprompt gfxpayload=800x600x16 ip=frommedia findiso=$isofile | |
initrd (loop)/live/initrd.img | |
} | |
menuentry "Parted Magic" { | |
set isofile="$isopath/pmagic.iso" | |
loopback loop $isofile | |
linux (loop)/pmagic/bzImage iso_filename=$isofile edd=off load_ramdisk=1 prompt_ramdisk=0 rw gfxpayload=800x600x16 loglevel=9 max_loop=256 vmalloc=384MiB keymap=dvorak | |
initrd (loop)/pmagic/initrd.img | |
} | |
menuentry "GParted Live" { | |
set isofile="$isopath/gparted-live.iso" | |
set gfxpayload=text | |
loopback loop $isofile | |
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia toram=filesystem.squashfs findiso=$isofile | |
initrd (loop)/live/initrd.img | |
} | |
menuentry "Ophcrack No Tables" { | |
set isofile="$isopath/ophcrack-notables.iso" | |
set gfxpayload=text | |
loopback loop $isofile | |
linux (loop)/boot/bzImage root=/dev/null rw lang=en_US kmap=dvorak autologin iso-scan/filename=$isofile | |
initrd (loop)/boot/rootfs.gz | |
} | |
menuentry "Ophcrack Vista/7 Tables" { | |
set isofile="$isopath/ophcrack-vistatables.iso" | |
set gfxpayload=text | |
loopback loop $isofile | |
linux (loop)/boot/bzImage root=/dev/null rw lang=en_US kmap=dvorak autologin iso-scan/filename=$isofile | |
initrd (loop)/boot/rootfs.gz | |
} | |
menuentry "Memtest 86+" { | |
linux16 $isopath/memtest.bin | |
} | |
menuentry "Reboot" { | |
reboot | |
} | |
menuentry "Shutdown" { | |
halt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jackpot.