Skip to content
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

[issue]: trouble booting from grub edit mode "booting a command list" "image not loaded" #2848

Open
1 task done
hgkamath opened this issue May 24, 2024 · 1 comment
Open
1 task done

Comments

@hgkamath
Copy link

hgkamath commented May 24, 2024

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.98

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

Legacy BIOS Mode

Partition Style

GPT

Disk Capacity

8GB

Disk Manufacturer

Kingston

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://downloads.sourceforge.net/gparted/gparted-live-1.6.0-3-amd64.iso

What happened?

Steps:

  • Using surface-pro-3.
  • EFI Secure boot disabled.
  • Ventoy is on a 8Gb USB stick, first partition is FAT32
  • UEFI overlay keyboard available until grub-edit-menu.
  • The 1st screen is VENTOY, it finds iso, use UEFI onscreen keyboard to select the gparted-liveiso image.
  • The 2nd screen is also Ventoy, but shows options such as normal mode, grub2 mode, memdisk mode etc, use UEFI onscreen keyboard to select normal-mode.
  • The 3rd screen is the gparted menu, with various gparted boot menu options: UEFI onscreen keyboard still available. The grub version is also shown on this screen.

Now:
One can boot into livecd either by just waiting for time-out or by pressing enter using UEFI onscreen keyboard.
That-is when iso is booted directly without entering grub-edit mode, the gparted-livecd-iso boots.

But I have reasons to enter grub edit mode and modify kernel command line. See [1].
grub edit mode is enterred by pressing e.
After editing/modifying the grub commands ctrl-x is pressed to proceed to boot.
For this bug to happen nothing needs to be modified.
When grub proceeds to chainload to grub-config-files-inside-iso, via the grub edit menu, one gets the following error:

booting a command list

application failed, r=5 

error:image not loaded

which shows for about 15 sec before returning to the gparted-livecd-grub menu, but this time around without overlay keyboard.
So at this point I need to power off tablet and try boot again.

Additional Info:
The grub version inside gparted-livecd-1.6.0.3 (released 20240408) is updated to 2.12 -2 according to the changelog [4]. Unsure if this matters.

Ref:

@hgkamath hgkamath changed the title [issue]: booting a command list mage not loaded [issue]: trouble booting from grub edit mode "booting a command list" "image not loaded" May 24, 2024
@hgkamath
Copy link
Author

hgkamath commented May 24, 2024

Workaround :
choosing "grub mode in ventoy 2nd boot screen" instead of normal mode will chainload into the gparted-livecd-iso using ventoy's grub version that is 2.0.4.
gparted-livecd boots as expected.

So it might be a grub version incompatibility issue during handover.

As of this writing, some other issues have mentioned the need to update ventoy-grub-2.04 to upstream grub-2.12

  • https://github.com/ventoy/Ventoy/issues/2726
  • https://github.com/ventoy/Ventoy/issues/2494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant