Cannot boot ISO from hard disk

After tinkering with Linux distributions on and off for years I’ve finally decided to destroy Win10 on my laptop and commit to openSUSE 42.1. Loving it.

Just one thing… Boot Loader is unable to allow me to choose to have an option for GRUB2 to boot an ISO file from the hard disk. I’ve spent days searching on the net but nothing works. If I can download a utility that does this on a windows computer then surely openSUSE can. Please help, thanks.

At grub kernel not running yet and nothing is mounted so it probably would be difficult to boot from an iso that is stored on the non mounted file system from grub

Why not run the iso OS in a virtual Machine. VirtualBox is easiest to setup

On Tue, 08 Dec 2015 22:26:01 +0000, 78bash wrote:

> After tinkering with Linux distributions on and off for years I’ve
> finally decided to destroy Win10 on my laptop and commit to openSUSE
> 42.1. Loving it.
>
> Just one thing… Boot Loader is unable to allow me to choose to have an
> option for GRUB2 to boot an ISO file from the hard disk. I’ve spent days
> searching on the net but nothing works. If I can download a utility that
> does this on a windows computer then surely openSUSE can. Please help,
> thanks.

Something like this, perhaps:

http://www.howtogeek.com/196933/how-to-boot-linux-iso-images-directly-
from-your-hard-drive/

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I thought about it but a direct boot should be more efficient…

I tried that. I even went through parts of GRUB 2 bootloader - Full tutorial but I am stumped when I’m asked to perform an “update-grub” command. There seems to be no such thing for openSUSE.

You could try (for legacy install)

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

:wink:

For UEFI/GPT it would be something like:

grub-mkconfig -o /boot/efi/EFI/GRUB/grub.cfg

No, don’t ever do that.

It should still be

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

The “grub.cfg” in “/boot/efi/EFI/directoryname” is just a small file that links to the one in “/boot/grub2”. Think of it as being similar to a symbolic link.

Excellent, this command works and ISOs boot up just fine. Thanks guys.

Thanks, appreciate the correction, & I hope to remember it.:slight_smile: