LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   4MLinux-37.1-64bit.iso can not boot in UEFI mode from CD/DVD (https://www.linuxquestions.org/questions/4mlinux-115/4mlinux-37-1-64bit-iso-can-not-boot-in-uefi-mode-from-cd-dvd-4175701818/)

longpanda 10-10-2021 11:44 PM

4MLinux-37.1-64bit.iso can not boot in UEFI mode from CD/DVD
 
I download 4MLinux-37.1-64bit.iso and connect it directly to a VM(VMWARE), but it can not boot in UEFI mode from CD/DVD.
The ISO file doesn't contain eltorito entry for UEFI mode.
I hope it can be fixed in the future release.

zk1234 10-13-2021 02:20 PM

Hi,

4MLinux should support UEFI on real machines. 4MLinux' UEFI also works well in Virtual Box, which is the only VM used occasionally by me. I do not use VMWARE at all, so I do not even try to make 4MLinux compatible with this VM.

.

longpanda 10-17-2021 08:18 PM

Quote:

Originally Posted by zk1234 (Post 6291723)
Hi,

4MLinux should support UEFI on real machines. 4MLinux' UEFI also works well in Virtual Box, which is the only VM used occasionally by me. I do not use VMWARE at all, so I do not even try to make 4MLinux compatible with this VM.

.

I have an old Thinkpad T420 which has an physical optical drive.
So I burn the ISO file to an empty DVD and boot it in UEFI mode. It can not boot.
For an ISO file, just put an EFI directory in the root is not enough for UEFI boot.
The ISO file should add an eltorito entry for UEFI mode to make it compatible with UEFI mode.
Most type of Linux distros(e.g. Debian/Redhat/Suse/Arch ...) are in such way.
If you use mkisofs to create the ISO file, just add options like follows:
Code:

mkisofs xxxxx -eltorito-alt-boot -e EFI/boot/efi.img
So I hope you can add such option to make 4M Linux more standard and compatible.

zk1234 10-19-2021 04:50 PM

Hi,

The eltorito option from your post has been used to create the 4MLinux ISO image for a long time. My guess is that the problem is related to the way how the isohybrid tool is applied by me. I promise to investigate this issue in the nearest future.

Sorry for my late reply

.

longpanda 10-21-2021 02:02 AM

1 Attachment(s)
Quote:

Originally Posted by zk1234 (Post 6293779)
Hi,

The eltorito option from your post has been used to create the 4MLinux ISO image for a long time. My guess is that the problem is related to the way how the isohybrid tool is applied by me. I promise to investigate this issue in the nearest future.

Sorry for my late reply

.

OK.

I attach an isoboot tool and if you want you can use it to check the ISO file.
Code:

mv isoboot.log isoboot
chmod +x isoboot
isoboot  xxx.iso

Bellow is the check result for 4MLinux-37.1-64bit.iso and ubuntu-20.04.1-desktop-amd64.iso
Code:

[root@Host Test]# isoboot 4MLinux-37.1-64bit.iso

============= EL TORITO Boot Info===========
szBootSystemId    : EL TORITO SPECIFICATION
uiBootCatlogStart : 171

==========EL TORITO Validation Entry==========
ID        : 01
ucPlatID  : 0 (0:x86  1:PowerPC  2:Mac  EF:EFI System Partition)
szID      : *Empty*
usCheckSum : 0x55AA
ucData55  : 0x55
ucDataAA  : 0xAA
CalcChkSum : 0 (Must be 0)

==========EL TORITO Initial/Default Entry==========
ID            : 0x88(0x88:Bootable, 0x00:Not Bootable)
ucBootMedia  : 0x00 (No Emulation)
usLoadSegment : 0x0000
ucSystemType  : 0
usSectorCount : 4
uiLoadRBA    : 380
BootFile      : /boot/isolinux/isolinux.bin

[root@Host Test]# isoboot ubuntu-20.04.1-desktop-amd64.iso

============= EL TORITO Boot Info===========
szBootSystemId    : EL TORITO SPECIFICATION
uiBootCatlogStart : 361

==========EL TORITO Validation Entry==========
ID        : 01
ucPlatID  : 0 (0:x86  1:PowerPC  2:Mac  EF:EFI System Partition)
szID      : *Empty*
usCheckSum : 0x55AA
ucData55  : 0x55
ucDataAA  : 0xAA
CalcChkSum : 0 (Must be 0)

==========EL TORITO Initial/Default Entry==========
ID            : 0x88(0x88:Bootable, 0x00:Not Bootable)
ucBootMedia  : 0x00 (No Emulation)
usLoadSegment : 0x0000
ucSystemType  : 0
usSectorCount : 4
uiLoadRBA    : 91005
BootFile      : /isolinux/isolinux.bin

==========EL TORITO Section Header Entry==========
ID            : 0x91(0x90: Continue Header follows  0x91: Final Header)
ucPlatID      : 0xEF (0:x86  1:PowerPC  2:Mac  EF:EFI System Partition)
usSecEntryNum : 1
szId          :

==========EL TORITO Section Entry==========
ucBootId      : 0x88(0x88:Bootable, 0x00:Not Bootable)
ucBootMedia  : 0x00 (No Emulation)
usLoadSegment : 0000
ucSystemType  : 0
usSectorCount : 7936
uiLoadRBA    : 1254348
BootFile      : /boot/grub/efi.img
ucCriteriaType: 0
aucCriteria  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[root@CENTOS212 IMG]#


zk1234 12-31-2021 02:32 PM

@longpanda
I have been using Ventoy lately. It's really very good. Ventoy will be available as a downloadable extension in 4MLinux 39.0 STABLE.

.


All times are GMT -5. The time now is 09:35 PM.