grub4efi: can't list directories and files in UDF ISO
memoarfaa opened this issue · 20 comments
@yaya2007
can you please fix bug with map command if memory more thane 2GB
Untitled.mp4
I don't understand the problem you're reflecting. My memory is 8Gb, working properly.
the problem is map command in UEFI Mode can't list file and directories if memory more than 2GB.
this also tested in real PC
to reproduce the problem
1- boot to grub4efi
2- map ISO to (0xff) drive
3- use ls command
Untitled.1.mp4
I have IdeaPad 300 notebook with 8GB RAM
I boot from FAT32 USB drive with just bootx64.efi and Ubuntu 18.04.6 desktop ISO file (can have simple menu.lst)
Boot from notebook (real system)
Menu top shows: 2023-03-29, Mem: 160K/1733M/5928M, Free_mem_start: 0x1000
but the map command hangs
Something is very wrong with memory handling, I think.
I also get problems in VBOX 5.
However, if I load grub4efi from a grub2 UEFI64 boot using grub2 chainloader command first - on real system, IdeaPad does map ISO OK and does boot to Ubuntu ISO's grub2 menu.
I see that the directories and files are already listed. Not all listed?
I see that the directories and files are already listed. Not all listed?
In last video.
The directories and files only listed if installed memory equal 2048 MB or 2GB.
When change installed memory to 4096 MB or 4GB directories and files not listed.
I also tried USB boot on my Asus Z87 PC - it maps ISO and boots to ISO grub2 menu OK.
Top of menu shows 2023-03-29, Mem: 320K/2754M/13054M Free_mem_start: 0x8000
So I get map error and hang on IdeaPad 300 and VBOX5 but works on Asus Z87 PC.
Maybe memory map dependent bug?
Set memory 3072MB.
est using QEMU virtual machine, normal.
Test using VirtualBox 7 virtual machine, normal.
Without using Virtual Machine USB Boot, in VirtualBox ->Settings ->USB Device, check USB. When starting, press ESC to enter the boot manager and select a USB device.
Please follow the above method to test. If the problem persists。
VBOX 7 as described above gives same issue 3072MB and 4076MB
map fails to work on first attempt and returns back to menu
on 2nd attempt from menu, map works and lists files inside the ISO on (0xff), but chainloader crashes
If just boot to grub4efi commandline and type in map command manually then VBOX 7 crashes with a 'VirtualBox - Guru Meditation' critical error! Memory is 1775MB or 3072MB
Try this,You should first confirm that the startup was successful at 1024 MB before discussing it.
BOOTX64.rar.txt
Do you mean set VBOX7 virtual memory to 1024MB?
What do you expect? map command extra debug? screenshot of what?
The title is>2GB causing a problem. I want to distinguish.
You can test a<2GB and then a>2GB
Some improvements have been made to the crash problem.
I have seen that the first item number of these two CDROMs is 0, which is abnormal.
I think that only applies to QEMU.
Here is VBOX7 result for 1024MB
Are you saying that it works for you using VBOX7??? Why can't you test and see same errors?
For me VBOX5+VMUB, VBOX7 and (some) real systems give similar results (map doesn't work - or does semi-work even though error messages and does list files in (0xff) but chainloader hangs).
@yaya2007
I've been busy the past few days but after the full test
the problem not related to grub4efi map command it's related to grub4efi UDF ISO like this issue #357
Full test result show on my laptop Asus G75VW
1- Grub4efi can't list directories and files if ISO filesystem is UDF filesystem even though i downgrad my memory to 2GB
2- In qemu and VirtualBox 7 installed in my laptop Asus G75VW directories and files only listed if memory < 2GB
3-In Hyper-V installed in my laptop Asus G75VW directories and files listed if memory < 2GB or if memory > 2GB
4- grub4dos directories and files listed if memory < 2GB or if memory > 2GB
5- this video show new test result with diffrence ISO filesystems
Untitled5.mp4
ISO used in test
Thank you for accurately locating the problem.
Please test.
BOOTX64.rar.txt
Thank you for accurately locating the problem. Please test. BOOTX64.rar.txt
on my laptop Asus G75VW
map UDF ISO from usb Hang
In qemu and VirtualBox 7 installed in my laptop Asus G75VW
Boot from UDF ISO Hang