Hello,
I thought it would be fun to test Ubuntu 14.10 beta2. rather than burning it to a dvd or onto a thumbdrive, I am trying to get grub2 to simply boot the ISO. It is claiming it cannot find the file. I don't think it's anything wrong with the ISO (I've downloaded it twice and can mount it in nautilus). It is probably something I'm doing wrong with my grub configuration. I am able to boot the fedora ISO just fine but they both have different options as you can see below. What am I doing wrong?
EDIT: I should also point out that I have separate /boot and /home partitions. The /home partition where the ISO resides is btrfs which I don't think should be a problem as the fedora iso boots fine from there. Also my laptop is several years old and UEFI is disabled. It is booting in legacy (BIOS) mode.
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Ubuntu 14.10 ISO" {
set isoname="ubuntu-14.10-beta2-desktop-amd64.iso"
set isofile="/nasser/ISOs/${isoname}"
echo "Using ${isoname}..."
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=${isofile} locale=en_US.UTF-8 quiet splash
initrd (loop)/casper/initrd.lz
}
menuentry "Fedora 21 ISO" --class fedora {
set isoname="fedora21.iso"
set isofile="/nasser/ISOs/${isoname}"
echo "Using ${isoname}..."
loopback loop (hd0,6)$isofile
linux (loop)/isolinux/vmlinuz0 root=live:CDLABEL=Fedora-Live-Workstation-x86_64-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 iso-scan/filename=${isofile}
initrd (loop)/isolinux/initrd0.img
}
Bookmarks