How do I boot from ISO?

For the past several years, I keep trying to boot from the ISO instead of burning a DVD. Each time I give up. I’ve tried it again, and it would be much easier for me to burn this one. However, I’m looking to make it easier for the next one. I’ve read where other distributions can, but have not found any instructions for openSUSE. I’m close, but it says something like can’t load the source.

Here’s what I have. Some may be a mangle from what I read about other distributions. The “search --set -f /live/vmlinuz” was left over from a live CD.

menuentry "openSUSE-Leap-42.1-DVD-x86_64 ISO install" {
  set isofile="/Downloads/LinuxISO/openSUSE-Leap-42.1-DVD-x86_64.iso"
  set root=(hd0,5)
  install=hd:sda5:/Downloads/LinuxISO/?device=sda6
  loopback loop $isofile
  search --set -f /live/vmlinuz
  linux (loop)/boot/x86_64/loader/linux boot=live username=user config quiet noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no vga=791 ip=  nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=no
  initrd (loop)/boot/x86_64/loader/initrd
}

I see device=sda6 should maybe be sda5. I don’t know if that’s the problem. sda5 is where the iso is. I want to install it on sda6. When I click on the menu, it appears to load drivers up to the point it says something about not completed and asks me for the network. Hitting “back” a few times asks for the source URL. hd:/ is listed.

I don’t know if it is asking me for the source for the iso or the source in the iso. Such as /boot or /images/ or /suse. Can someone give the explicit grub menu command for the openSUSE-Leap-42.1-DVD-x86_64 install?

Hi
Have you read this thread?
https://forums.opensuse.org/showthread.php/484223-How-to-boot-a-openSUSE-DVD-from-hard-disk-with-Grub2

On Tue 15 Dec 2015 04:06:01 PM CST, malcolmlewis wrote:

Hi
Have you read this thread?
How to boot a openSUSE DVD from hard disk with Grub2 - Forums Feedback - openSUSE Forums

Hi
Just tried here on a test machine;


menuentry "openSUSE-Leap-42.1-DVD" {
set isofile=/repositories/iso_images/openSUSE-Leap-42.1-DVD-x86_64.iso
set root=(hd0,7)
loopback loop $isofile
linux (loop)/boot/x86_64/loader/linux install=hd:$isofile
initrd (loop)/boot/x86_64/loader/initrd
}

grub2-mkconfig -o /boot/grub2/grub.cfg

Rebooted and started the install iso with no issues…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.51-52.31-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

No, I hadn’t. And yes, it does work! I search for things, but didn’t ever find that. Looks like I was searching for the wrong words. I keyed in on booting from “iso”, rather than DVD and hard disk. It could have been helpful two years ago. Oh well, now I know.

Looks like I mixed the parameters of the live CD with install DVD. Thanks for your help. This makes things so much nicer. Maybe now I’ll test the betas out in the future. Burning a DVD was always a hangup for me. And now that it looks like DVD drives are going to disappear in the future (hard to buy a laptop with one), this is a good thing to now how to boot from the iso.