Unable to use Ventoy EFI files on my own partition - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1) +--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2) +--- Thread: Unable to use Ventoy EFI files on my own partition (/showthread.php?tid=695) |
Unable to use Ventoy EFI files on my own partition - parkerlreed - 09-22-2020 I created a Ventoy USB stick and it worked great. I wanted to replicate the setup on my pre-existing portable USB drive and am hitting a weird issue. EFI/BOOT/bootx64.efi I copied to the EFI/BOOT/ folder grub, tool and ventoy folders from the root of ESP I copied as well. When I load bootx64.efi it ignores the grub.cfg and drops straight to grub console Then when I load the cfg manually, the screen resizes like I would expect from ventoy, but it doesn't render the UI correctly at all. It does this both in Virtualbox and real hardware. Is there any way to get this working for a pre-existing EFI folder? RE: Unable to use Ventoy EFI files on my own partition - Steve2926 - 09-22-2020 https://www.ventoy.net/en/doc_disk_layout_gpt.html You need to describe the disk partition layout. RE: Unable to use Ventoy EFI files on my own partition - parkerlreed - 09-23-2020 EFI + MS Reserved + Windows NTFS + Linux + Hybrid MBR Grub. For the current testing I am just booting solely EFI Code: Found valid GPT with protective MBR; using GPT. RE: Unable to use Ventoy EFI files on my own partition - longpanda - 09-23-2020 Necessary conditions for Ventoy to work: 1. There must be partition 1 and partition 2 2. ISO/WIM/VHD/IMG/EFI files must in partition1 3. Partition1's filesystem must FAT/exFAT/NTFS/UFS/XFS/Ext234 4. Partition1's cluster size must >= 2048 5. Partition2 must in FAT file system and hold all the Ventoy's directories and files as installed with Ventoy2Disk RE: Unable to use Ventoy EFI files on my own partition - parkerlreed - 09-23-2020 At that point is that not just arbitrary? What reason other than Windows reading the volume is there for the storage to be first? GRUB itself doesn't care. I never plan to access the storage on Windows. Why is the storage as first partition a forced requirement? RE: Unable to use Ventoy EFI files on my own partition - GCMartin - 09-23-2020 (09-23-2020, 06:36 PM)parkerlreed Wrote: ... Why is the storage as first partition a forced requirement?Could it be the developer's preference for how he sees it to benefit use? If you built a car, might you build with how you wanted it to operate? Just some thoughts that might help. RE: Unable to use Ventoy EFI files on my own partition - parkerlreed - 09-23-2020 Ok so I reordered the partitions and it got far enough to actually show me the error message. Renumbered so the EFI is second and the EXT4 is first fdisk output Code: Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors This allowed Ventoy to show me the message. I assume this is what it was trying to tell me before but was corrupted. The EXT4 partition appears to be > 2048 on the cluster size. I guess in the end, does Ventoy need the partitions physically arranged storage before EFI or should the partition numbering work? Code: tune2fs 1.45.6 (20-Mar-2020) I see this error is thrown because the storage partition does not start at 2048. So the number doesn't mean shit. https://github.com/ventoy/Ventoy/blob/9eb334d99a1d2890fa7b17cf47250e94689d39ee/GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c#L1533 Please consider not hardcoding partition assumptions. I wanted to use Ventoy to compliment my already existing disk but I cannot without completely recreating from scratch. |