Re: Booting from an ISO file in a XFS /boot partition

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



On 08.04.21 11:16, Gestió Servidors wrote:
Hi,

I want to boot with a customized iPXE iso boot file from my GRUB2 menu. My system is running CentOS-7, with /boot formated as XFS filesystem. After copying my iPXE.iso into /boot, I have created a custom GRUB2 file in /etc/grub.d/40_custom like this:

menuentry "iPXE" {
                set isofile="/ipxe.iso"
                loopback loop (hd0,1)$isofile
                linux16 (loop)/ipxe.lkrn
}

After regenerating grub2.cfg with "grub2-mkconfig -o /etc/grub2.cfg ,  I have rebooted my system, I have chosen "iPXE" entry, but system doesn't boot. I receive this error:
error: file '/ipxe.iso' not found.
Starting /ipxe.iso...
error: no server is specified.
Press any key to continue...

However, in another similar system that runs /boot in EXT4 filesystem, that ISO file boots perfectly with the same configuration, so it seems the problem is with XFS.

Could you help me?


Just guessing - loading the grub module for xfs is missing?

--
Leon

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux