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]: Debian 11.6.0 bullseye live - boot conf replace not working #2321

Closed
1 task done
TK1987 opened this issue Mar 29, 2023 · 6 comments
Closed
1 task done

[issue]: Debian 11.6.0 bullseye live - boot conf replace not working #2321

TK1987 opened this issue Mar 29, 2023 · 6 comments
Labels
Not an issue This is not an issue

Comments

@TK1987
Copy link

TK1987 commented Mar 29, 2023

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.90

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

Both

Partition Style

MBR

Disk Capacity

64GB

Disk Manufacturer

SanDisk

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/debian-live-11.6.0-i386-mate.iso

What happened?

I have tried replacing the "/boot/grub/grub.cfg", but no matter what I do, it keeps calling the original grub.cfg.

I did the exact same thing with an Ubuntu iso and it works fine with that.

I have also tried replacing a few other confs, but none work. When I select "check boot conf replace plugin configuration" on the tools page with F5, I get the following output:

iso:</ISO/Linux/ubuntu-mate-22.10-desktop-amd64.iso>  [OK]
org:</boot/grub/grub.cfg>  [OK]
new1:</.config/mate.cfg>  [OK]

iso:</ISO/Linux/debian-live-11.6.0-i386-mate.iso>  [OK]
org:</boot/grub/grub.cfg>  [OK]
new1:</.config/debian.cfg>  [OK]

iso:</ISO/Linux/debian-live-11.6.0-i386-mate.iso>  [OK]
org:</boot/grub/loopback.cfg>  [OK]
new1:</.config/debian.cfg>  [OK]

iso:</ISO/Linux/debian-live-11.6.0-i386-mate.iso>  [OK]
org:</EFI/debian/grub.cfg>  [OK]
new1:</.config/debian.cfg>  [OK]

Is there anything else I can try?

@ventoy
Copy link
Owner

ventoy commented Mar 30, 2023

ubuntu-mate-22.10-desktop-amd64.iso use grub2 as the bootloader in both Legacy BIOS mode and UEFI mode.
debian-live-11.6.0-i386-mate.iso use isolinux as the bootloader in Legacy BIOS mode and use grub2 as the bootloader in UEFI mode.

Your BIOS is legacy BIOS mode, so for debian-live-11.6.0-i386-mate.iso you need to replace /isolinux/isolinux.cfg or /isolinux/menu.cfg not grub.cfg.

@TK1987
Copy link
Author

TK1987 commented Mar 30, 2023

I have tried both UEFI and legacy mode.

When I boot legacy and replace the "/isolinux/menu.cfg" with a custom isolinux-menu, it is not replaced either. Instead, the original menu.cfg is always loaded.

When I boot with EFI, the original grub.cfg is loaded. I can load my custom cfg file by pressing the C button and entering the following:

search --no-floppy --set=ventoy --label Ventoy
configfile ($ventoy)/.config/debian.cfg

This works fine, but replacing the original cfg file does not.

@ventoy
Copy link
Owner

ventoy commented Mar 30, 2023

This is my test. (I add XXX in the menu title, you can see it works fine in the follwing gif).

image

debian

@TK1987
Copy link
Author

TK1987 commented Apr 3, 2023

That's weird, now it works via legacy boot even though I didn't do anything other than remove the other replaced config.
Anyway, thanks. However, it still does not work for EFI boot.

@TK1987 TK1987 closed this as completed Apr 3, 2023
@ventoy
Copy link
Owner

ventoy commented Apr 3, 2023

debian-live-11.6.0-i386-mate.iso is 32bit so you should test it in a IA32 UEFI machine, normally people's PC/laptop is UEFI 64, not IA32 UEFI.

If you test in IA32 UEFI machine, it's OK, the bellow is my test.

image

uefi

@ventoy ventoy added the Not an issue This is not an issue label Apr 3, 2023
@TK1987
Copy link
Author

TK1987 commented Apr 3, 2023

debian-live-11.6.0-i386-mate.iso is 32bit so you should test it in a IA32 UEFI machine, normally people's PC/laptop is UEFI 64, not IA32 UEFI.

That's the problem, I tried it with a 64bit UEFI. Background is that I wanted to have tools in a persistent Debian live system that work under all systems, no matter if it is a 64bit UEFI or a 32bit legacy system.

I have now created separate persistent systems for 64bit and 32bit respectively. Not really nice, but it works.

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

No branches or pull requests

2 participants