The failure to mount an iso image with the installation of CentOS 7 from a USB flash through the UEFI, where wrong?

Make multiboot USB from iso images. On a flash drive with two partitions:
  1. FAT32 512 MB, with EFI folder, there is grub.cfg
  2. FAT32, 31ГБ, with the iso folder, there are images in folders

The contents of grub.cfg:
set timeout=10
set color_highlight=black/light-magenta

set root=(hd0,msdos2)

menuentry 'CentOS 7 Install from Minimal ISO' {
 set isofile="/iso/centos7minimal/CentOS-7-x86_64-Minimal-1511.iso"
 loopback loop $isofile
 linux (loop)/isolinux/vmlinuz iso-scan/filename=$isofile noeject
 initrd (loop)/isolinux/initrd.img
}

menuentry 'Install Ubuntu Server from ISO 16.04' {
 set isofile="/iso/ubuntuserver16.04/ubuntu-16.04-server-amd64.iso"
 loopback loop $isofile
 linux (loop)/install/vmlinuz
 initrd (loop)/install/initrd.gz
}

Installer Ubuntu loads without problems and you can start actually installing. On the beginning I did not pass.

What happened with CentOS:
  • the installer is downloaded to the moment kernel: loop: module loaded and begins to think
  • after about 2 minutes you receive a duplicate message
    dracut-initqueue timeout - timeout starting scripts

  • this is the end

In the config wrong or is it a bug/feature of the installer?
July 9th 19 at 13:17
1 answer
July 9th 19 at 13:19
Most likely when you download is not the partition where the iso should be added where to look. Something like
linux (loop)/isolinux/vmlinuz iso-scan/filename=$isofile noeject root=live:LABEL=Metcalf rd.live.image
Thank you, tomorrow I'll be at work and will try, I will unsubscribe. - moises commented on July 9th 19 at 13:22
Did not help, now it stops even earlier - in the "Attached SCSI removable disk", at the end of an error "/dev/mapper/live-rw does not exist". - moises commented on July 9th 19 at 13:25
: Checked, I have this line:
linux (loop)/isolinux/vmlinuz0 iso-scan/filename=$isofile root=live:LABEL=CentOS-7-x86_64-LiveKDE-1511 rd.live.image

There is need to provide a label which is in iso file. I have kde shny image centos - laney38 commented on July 9th 19 at 13:28
: op, and I set the partition label where the ISO remake, will unsubscribe. - moises commented on July 9th 19 at 13:31
: I remontiroval ISO, saw the label:

/dev/loop0: UUID="2015-12-09-23-03-16-00" LABEL="CentOS 7 x86_64" TYPE="iso9660" PTUUID="57f6f38a" PTTYPE="dos"

The line now looks like this:

linux (loop)/isolinux/vmlinuz iso-scan/filename=$isofile noeject root=live:LABEL="CentOS 7 x86_64" rd.live.image

Not working. - moises commented on July 9th 19 at 13:34
Mark most likely wrong. Something I doubt that in minimal iso-schnick label with gaps in kde-shny gaps present. - laney38 commented on July 9th 19 at 13:37
Tag iso with file - laney38 commented on July 9th 19 at 13:40
And vmlinuz and initrd have 0 at the end
vmlinuz0
initrd0.img

At least in kde-shny iso-schnick they are zeros, exact names should look inside the iso - laney38 commented on July 9th 19 at 13:43
: the label copied from the output of blkid. Tomorrow I'll try file.
On my iso, the kernel is called without the 0, and it is loaded, otherwise an error at the initial stage.
PS Thanks for the participation, by the way. - moises commented on July 9th 19 at 13:46
got to see mark is the same with spaces. I'll keep looking. - moises commented on July 9th 19 at 13:49
: Download minimal iso checked as it is written here
https://wiki.archlinux.org/index.php/Multiboot_USB...
Everything works. - laney38 commented on July 9th 19 at 13:52
tried, failed, will try again on mon. - moises commented on July 9th 19 at 13:55

Find more questions by tags CentOSUEFIGRUBISODownload OC