[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Booting several ISOs with GRUB2 on Fedora 34

From: Andrei Borzenkov
Subject: Re: Booting several ISOs with GRUB2 on Fedora 34
Date: Sun, 16 May 2021 07:50:01 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 15.05.2021 21:49, Patrick Frank wrote:
> Friendly greetings,
> with GRUB2 I would like to boot several ISOs directly from harddisk.
> My main drive with Fedora is a Kingston SA2000M8500G detected as
> /dev/nvme0n1 but strangely displayed by GRUB2 as (hd1). The data drive
> is a Seagate ST1000DM010-2EP102 detected as /dev/sda and displayed by
> GRUB2 as (hd0). The ISO files are then located on (hd0.gpt1) in

This is comma, not dot. hd0,gpt1, not hd0.gpt1.

> "/iso/file_xy.iso".
> Then I put in the file /etc/grub.d/40_custom the following code:
> menuentry "Fedora 34 with XFCE" {
>   insmod part_gpt
>   insmod linux
>   insmod search_fs_uuid search --no-floppy --set=partition --fs-uuid
> 3748ef02-5461-4c66-96a8-14fa03aad3f7

This command sets variable $partition

>   set isofile="/iso/Fedora-Xfce-Live-x86_64-34-1.2.iso"
>   export $isofile
>   loopback loop ($isopart) $isofile

And this command is using variable $isopart that is not defined.

>   linux (loop)/isolinux/vmlinuz root=live quiet
> iso-scan/filename=$isofile
>   initrd (loop)/isolinux/initrd.img
> }
> This leads to the GRUB2 errors "no server specified" and "load kernel
> first". By trying some settings from various websites, my previous
> mistakes which lead to the errors "unknown filesystem", "invalid
> filename" and "out of memory" could have been resolved. But now I am
> stuck. Most search results were dated from 2011 to 2014 and I assume the
> syntax in GRUB2 changed since then. Either way, it would be great if
> somebody could help me to get this working.
> Regards,
> Patrick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]