3

I'm trying to boot the latest ISO image of Elementary OS from my USB with GRUB.

I use the same GRUB configuration that I use with Ubuntu images, which works fine, and since Elementary is Ubuntu based, I thought it would work as well.

But I get the error:

(initramfs) unable to find a medium containing a live file system

To an extent, I understand this error, which I sort out adding in the GRUB where to find the ISO image:

set root='(hd0,1)'
set iso_path=/elementaryos-5.1-stable.20191202.iso
loopback loop $iso_path

menuentry "Try or install elementary OS" {
 linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$iso_path maybe-ubiquity quiet splash
 initrd (loop)/casper/initrd.lz
}

I tried with findiso=$iso_path which works on Debian, but the result is the same. What other GRUB configurations could I try? I prefer not to unpack the ISO to make things work.

I check the mdsum of the ISO, it's OK.

  • It seems that within the initrd.lz I couldn't find the logic for looking up the iso. Maybe that's why? – Chen Xing Dec 12 '19 at 5:29
  • Try rebooting few times...I don't know why, but sometimes ISO from usb doesn't work and sometimes does... – Leon Jan 10 at 22:27
0

Partial solution:

Using the vmlinuz and initrd from an Ubuntu ISO, I could boot Eos.

  • Which version of elementary did you use? Version 5.1 is different to 5.0, as I can boot 5.0 with default GRUB config from GLIM Multiboot Maker, but not with 5.1. – Ade Malsasa Akbar yesterday
0

Utiliza Rufus para bootear.

Sigue los siguientes pasos:

https://elementary.io/docs/installation#creating-an-installation-medium

  • Thanks. It's not about getting any bootable USB, but having one using GRUB. For rufus you need windows, which is what I want to avoid. – guillermo chamorro Jan 6 at 1:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.