Skip to content

Instantly share code, notes, and snippets.

@fleger
Created July 12, 2011 12:10
Show Gist options
  • Save fleger/1077856 to your computer and use it in GitHub Desktop.
Save fleger/1077856 to your computer and use it in GitHub Desktop.
grub4dos menu.lst for bootable USB stick
color red/black white/black
timeout 30
default 0
title Chakra 2011.04-r1 x86_64
find --set-root /boot/chakra/chakra-2011.04-r1-x86_64.iso
map --heads=0 --sectors-per-track=0 /boot/chakra/chakra-2011.04-r1-x86_64.iso (hd32)
map --hook
root (hd32)
kernel /chakra/boot/x86_64/vmlinuz26 edd=off quiet chakraisolabel=CL_201104_r1 lang=fr nonfree=yes radeon.modeset=0 xdriver=no img_dev=/dev/disk/by-label/MBOOT img_loop=/boot/chakra/chakra-2011.04-r1-x86_64.iso
initrd /chakra/boot/x86_64/chakraiso.img
title WinPE 3.1 x86
find --set-root /boot/winpe/winpe_x86.iso
map /boot/winpe/winpe_x86.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
title Reboot
savedefault --wait=2
reboot
title Halt
savedefault --wait=2
halt
@fleger
Copy link
Author

fleger commented Jul 12, 2011

Where MBOOT is the name of the USB Stick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment