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]: Add support multiple initrd #1784

Closed
1 task done
antohami opened this issue Aug 14, 2022 · 4 comments
Closed
1 task done

[issue]: Add support multiple initrd #1784

antohami opened this issue Aug 14, 2022 · 4 comments
Labels
Fixed This issue has been fixed

Comments

@antohami
Copy link

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.79

What about latest release

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

BIOS Mode

Both

Partition Style

GPT

Disk Capacity

32 GB

Disk Manufacturer

No response

Image file checksum (if applicable)

No response

Image file download link (if applicable)

http://ftp.altlinux.org/pub/distributions/ALTLinux/p10/images/simply/x86_64/slinux-10.1-x86_64.iso

What happened?

iso images ALT Linux may include two or more kernels. Accordingly, in addition to /boot/initrd.img, there is also /boot/initrd-.img
Examples of such images:
http://ftp.altlinux.org/pub/distributions/ALTLinux/p10/images/simply/x86_64/slinux-10.1-x86_64.iso
http://nightly.altlinux.org/sisyphus/tested/regular-xfce-latest-x86_64.iso

Needed:

  1. Instead of vt_linux_specify_initrd_file, vt_linux_specify_initrd_files should be processed, who include the found known initrd variants.
  2. Find /boot/initrd*.img, /boot/full*.cz etc.

Is this possible to implement?

@ventoy
Copy link
Owner

ventoy commented Aug 14, 2022

Actually, Ventoy does supports multiple initrd files.
Normally, Ventoy will parse the isolinux.cfg/grub.cfg and try to find all the initrd files appearing in isolinux.cfg/grub.cfg.
But some special distro like here the ALT Linux, use variable suffix to expand the initrd files (/boot/initrd$KFLAVOUR.img) which Ventoy doesn't support. So it need special process for it.

ventoy added a commit that referenced this issue Aug 14, 2022
@ventoy
Copy link
Owner

ventoy commented Aug 15, 2022

@antohami
Copy link
Author

It works! Thanks!
I will try not to do more "innovations" in bootloading ALT Linux, so as not to break :-)

@ventoy
Copy link
Owner

ventoy commented Sep 21, 2022

Fixed in 1.0.80

@ventoy ventoy closed this as completed Sep 21, 2022
@ventoy ventoy added the Fixed This issue has been fixed label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed This issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants