Skip to content

Instantly share code, notes, and snippets.

@kmcallister
Created April 4, 2012 21:37
Show Gist options
  • Save kmcallister/2305890 to your computer and use it in GitHub Desktop.
Save kmcallister/2305890 to your computer and use it in GitHub Desktop.
boot ubuntu iso from grub2
submenu "Ubuntu" {
submenu "10.04 LTS Lucid Lynx" {
submenu amd64 {
menuentry live {
loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-amd64.iso noeject noprompt --
initrd (loop)/casper/initrd.lz
}
menuentry live-install {
loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-amd64.iso noeject noprompt ---
initrd (loop)/casper/initrd.lz
}
menuentry rescue {
loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso
linux (loop)/install/vmlinuz vga=788 rescue/enable=true iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-amd64.iso noeject noprompt --- quiet
initrd (loop)/install/initrd.gz
}
menuentry check {
loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper integrity-check quiet splash iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-amd64.iso noeject noprompt ---
initrd (loop)/casper/initrd.lz
}
menuentry memtest {
loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso
linux16 (loop)/install/mt86plus
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment