Skip to content

Instantly share code, notes, and snippets.

@xee5ch
Created February 20, 2011 22:43
Show Gist options
  • Save xee5ch/836395 to your computer and use it in GitHub Desktop.
Save xee5ch/836395 to your computer and use it in GitHub Desktop.
The current configuration file I have to use grub4dos with a variety of *nix platforms and PE pre-install Windows environments.
timeout 30
default 0
title WinPE (x86 NT6) 20100923
find --set-root /disks/win/x86/nt6/winpe.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt6/winpe.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title ERD 6.5 (x86 NT6) 20091019
find --set-root /disks/win/x86/nt6/erd65.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt6/erd65.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title ERD 6.0 (x86 NT6) 20091019
find --set-root /disks/win/x86/nt6/erd60.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt6/erd60.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title ElcomSoft Password Recovery (x86)
find --set-root /disks/win/x86/nt6/elcomsoft.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt6/elcomsoft.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title ERD 5.0 (x86 NT5) 20091019
find --set-root /disks/win/x86/nt5/erd50.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt5/erd50.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title ERD 6.0 (x64 NT6) 20100128
find --set-root /disks/win/x86/nt6/erd60.iso
map --heads=0 --sectors-per-track=0 /disks/win/x64/nt6/erd60.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title Archboot 20100801
find --set-root /disks/nix/x86/linux/archboot.iso
map --heads=0 --sectors-per-track=0 /disks/nix/x86/linux/archboot.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title Fedora 12 x64 (Install or upgrade an existing system)
find --set-root /menu.lst
kernel /disks/nix/x64/linux/fedora/isolinux/vmlinuz stage2=hd:LABEL="Fedora"
initrd /disks/nix/x64/linux/fedora/isolinux/initrd.img
title Fedora 12 x64 (Install system with basic video driver)
find --set-root /menu.lst
kernel /disks/nix/x64/linux/fedora/isolinux/vmlinuz stage2=hd:LABEL="Fedora" xdriver=vesa nomodeset
initrd /disks/nix/x64/linux/fedora/isolinux/initrd.img
title Fedora 12 x64 (Rescue installed system)
find --set-root /menu.lst
kernel /disks/nix/x64/linux/fedora/isolinux/vmlinuz stage2=hd:LABEL="Fedora" rescue
initrd /disks/nix/x64/linux/fedora/isolinux/initrd.img
title BackTrack 4 R2
find --set-root /disks/nix/x86/linux/bt4-r2.iso
map --heads=0 --sectors-per-track=0 /disks/nix/x86/linux/bt4-r2.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title FreeBSD 8.1 Current AMD64 Arch
find --set-root /disks/nix/x86/bsd/freebsd.iso
map --heads=0 --sectors-per-track=0 /disks/nix/x86/bsd/freebsd.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title Hiren's Boot CD 13.0
find --set-root /disks/misc/x86/hirens/hirens.iso
map --heads=0 --sectors-per-track=0 /disks/misc/x86/hirens/hirens.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
title Chainload BOOTMGR
chainloader /BOOTMGR
title GRUB Prompt
commandline
title Reboot
reboot
title Halt
halt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment