Skip to content

Instantly share code, notes, and snippets.

@colthreepv
Created November 18, 2013 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save colthreepv/7532037 to your computer and use it in GitHub Desktop.
Save colthreepv/7532037 to your computer and use it in GitHub Desktop.
ubuntu 12.04.3 LTS booting from Grub4DOS
title Ubuntu 12.04.3
find --set-root /ubuntu-12.04.3-desktop-amd64.iso
map /ubuntu-12.04.3-desktop-amd64.iso (hd32) || map --mem /ubuntu-12.04.3-desktop-amd64.iso (hd32)
map --hook
root (hd32)
kernel /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-12.04.3-desktop-amd64.iso
initrd /casper/initrd.lz
savedefault --wait=2
# Bonus Dos 6.22 Disk Image for fun
title Boot Disk Image
map (hd0,0)/Dos6.22.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
@alexfd
Copy link

alexfd commented Nov 21, 2014

confirm it's working. thanks.

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