-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GRUB4DOS UEFI does not recognize all partitions in GPT HDD/SSD and ISO formats #434
Comments
Boot the system using 'GRUB4DOS legacy'. |
Hi yaya2002 |
Boot the system using 'GRUB4DOS legacy'. |
Hi yaya2002 I have tried GRUB4DOS UEFI with MENU.LST color light-green/black light-red/black white/black white/black title Windows 10 Mini (64bit) title Ubuntu 22 (64bit) title Reboot System title Halt System It is OK to boot into both WinPE and Live UBUNTU With GRUB4DOS legacy installed on my USB drive, I have tried same steps and get same results, only change parameters (hd0) to (hd1) because ISO files were stored on my HDD |
Execute 'root (hd1,3)' on the command line. Can I intercept the PBR of (hd1,3) and (hd1,5) partitions, that is, the boot sector, and intercept 4 sectors. |
I don't have conditional testing here. Please help me test it and provide screenshots for feedback. |
There is a problem with the BPB table of the (hd1,5) partition table. |
correct: (hd1,5) |
1 similar comment
correct: (hd1,5) |
Please test again |
Hi yaya2007, geometry (hd1) - pictures 1 & 2 |
Can we copy the logical 0 sector of the (hd1,5) (hd1,4) partition? The first sector contains BPB |
Hi yaya2007 |
Install WINHEX on your computer. Learn simple usage methods. Then we can interact. I ask you to start copying from a certain byte, and copy and upload as many bytes as you want. This is a dull and boring thing. If you can do it and are interested, let's work together to complete it. Otherwise, let's give up. |
Open the disk in Winhex, find your test disk, copy 0x2000 bytes from logical sector 0 to 0. bin, then rename it to 0. bin. txt, and upload it here. |
Hi yaya2007 As your instruction, I have copied some bin files and attached into this post. I do not know whether I did correctly or not.
|
The screenshot is very good! partitions 4 and 5 have issues:
Excuse me, what program was used to format these two partitions? |
Should be: Please retest it |
Hi yaya2007 I used Macrorit Partition Expert 5.1 to create and format them Following your instruction, I used Windows Explorer to these partitions. Both versions of GRUB4DOS Legacy and UEFI can recognize them. Now I can boot ISO successfully files from HDD directly.
I attached 2 binary files of these partitions formatted by Windows Explorer. Partition5_2.bin.txt Thank you very much for helping |
The errors in partitions 4 and 5 have been fixed. There's a problem: |
Hi yaya2007 I do not know how it happened, I try Macrorit Partition Expert 8.1 and the result is same as version 5.1, so I have to use Windows Explorer to format these partitions And there is another issue. When I use USB flash drive to boot Ubuntu 22.04 with ISO file stored in USB flash drive, G4D boot properly title Ubuntu 22 (64bit) But if ISO file was title Ubuntu 22 (64bit) title Ubuntu 22 (64bit) title Ubuntu 22 (64bit) |
title Ubuntu 22 (64bit) |
There is a clue in the name "iso-scan/filename" - it scans for the file on all devices. The path must be correct and must not have any spaces in it. |
Hi yaya2007 |
A1ive provides a solution: Have you tested it yet? What was the result? |
Hi yaya2007 Thank you very much for the solution. I can boot Ubuntu 22.04.1 ISO file on HDD which use 4.7GB DVD format. |
Use the final GRLDR test with internal debugging code provided by me and provide feedback. |
1 similar comment
Use the final GRLDR test with internal debugging code provided by me and provide feedback. |
File has too many fragments. |
Hi yaya2007 It is correct. |
good |
Hi yaya007, |
Download the source code and compile it in a Linux environment. |
Thank the developers for your effort
I have used GRUB4DOS legacy to boot ISO files that stored in USB flash drive (NTFS file system). It boot successfully into ISO live CD/DVD (Linux and Windows)
But when I use GRUB4DOS UEFI (2023-11-29) with same MENU.LST (has been changed the suitable path for ISO files) to boot ISO files that stored in HDD/SSD drive, it is failed to boot. The HDD/SSD partition types is GPT with NTFS file system. GRUB4DOS UEFI can mount the first NTFS partition only, others NTFS partition can not be recognized. And the ISO files can not be loaded although the ISO files can be loaded by GRUB4DOS legacy.
Please make some changes for GRUB4DOS UEFI (2023-11-29):
The text was updated successfully, but these errors were encountered: