I now only use hard drive install or from one drive to another using grub2's loopmount.
This will boot an ISO from a hard drive.
ISO Booting with Grub 2 from Hard drive - drs305
https://help.ubuntu.com/community/Grub2/ISOBoot
Examples - you may copy & edit for your path & ISO version
https://help.ubuntu.com/community/Gr...OBoot/Examples
http://ubuntuforums.org/showthread.php?t=1549847
Boot ISO from harddrive. To install it would have to be different partition
[SOLVED] Using grub 2 to boot an iso off hard drive old examples
http://ubuntuforums.org/showthread.php?t=1535864
I now only have one entry in grub's 40_custom so I can more easily edit the file I am changing ISOs in. It is on my 2nd drive in 4th partition in a /iso folder, so that is why it refers ot (hd2,4). Text file I edit is livecdimage.cfg.
Code:
# livecdimage.cfg
# Add this to 40_custom to load this file:
# menuentry 'Live ISOs' {
# configfile (hd2,4)/iso/livecdimage.cfg
#}
# Add iso names to livecdimage.cfg
#for i in `ls *.iso`;do echo "# "$i>>livecdimage.cfg; done;
menuentry "Ubuntu 12.04.2 Precise Desktop ISO 64bit" {
set isofile="/boot/ISO/ubuntu-12.04.2-desktop-amd64.iso"
loopback loop (hd0,5)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile
initrd (loop)/casper/initrd.lz
}
menuentry "Uubuntu 12.10 Quantal ISO 64bit" {
set isofile="/iso/quantal-desktop-amd64.iso"
insmod part_gpt
loopback loop (hd2,4)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile nomodeset
initrd (loop)/casper/initrd.lz
}
menuentry "Parted Magic (Boot ISO Image via Grub2) " {
insmod part_gpt
set isofile="/iso/pmagic_2012_05_30.iso"
loopback loop (hd2,4)$isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 vmalloc=256MiB
initrd (loop)/pmagic/initrd.img
}
menuentry "gparted (Boot ISO Image via Grub2) " {
insmod part_gpt
set isofile="/iso/gparted-live-0.12.1-5.iso"
loopback loop (hd2,4)$isofile
# linux (loop)/live/vmlinuz live-media=iso=$isofile keyb=us gl_kbd=us gl_lang=en_US gl_numlk=off gl_batch boot=live union=aufs #toram=filesystem.squashfs noswap noprompt vga=791
# linux (loop)/live/vmlinuz fromiso=$isofile boot=live noswap
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia findiso=$isofile toram=filesystem.squashfs
initrd (loop)/live/initrd.img
}
# linux /workdir/vmlinuz fromiso=/dev/sda11/debian-live-6.0.3-i386-lxde-desktop.iso boot=live config BOOT_IMAGE=/live/vmlinuz
menuentry "Boot-Repair ISO 64bit " {
insmod part_gpt
set isofile="/iso/boot-repair-disk.iso"
loopback loop (hd2,4)$isofile
linux (loop)/live/vmlinuz2 boot=live config union=aufs noswap noprompt ip=frommedia findiso=$isofile toram=filesystem.squashfs
# linux (loop)/live/vmlinuz2 boot=live config
initrd (loop)/live/initrd2.img
}
menuentry "SystemRescue CD on hard drive" {
set root=(hd2,4)
linux /sysrcd/rescuecd subdir=sysrcd setkmap=us
initrd /sysrcd/initram.igz
}
menuentry "Reboot" {
reboot
}
menuentry "Halt" {
halt
}
Bookmarks