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]: Can't mount ventoy partition on RHEL 9.4 and latest CentOS Stream 9 #2827

Closed
1 task done
Realex-fire opened this issue May 4, 2024 · 14 comments
Closed
1 task done
Labels
Fixed This issue has been fixed

Comments

@Realex-fire
Copy link

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

CI

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

UEFI Mode

Partition Style

GPT

Disk Capacity

128GB

Disk Manufacturer

No response

Image file checksum (if applicable)

None

Image file download link (if applicable)

https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/

What happened?

After upgrading RHEL 9.3 to 9.4 the ventoy partition is not mounted with VTOY_LINUX_REMOUNT option. Probably RedHat backported some changes from the latest linux kernel to 5.14 (build 427 and next).
You can also reproduce this issue on the latest Boot ISO of CentOS Stream 9. Screenshot with detailed information:
https://ibb.co/XtpZ8Zk

This issue is also related to vtoyboot, on my VHD with RHEL 9.4 the ventoy partition is not mounted too.
I'm using latest CI release and vtoyboot-1.0.31 for VHD, Secure Boot is disabled.

@ventoy
Copy link
Owner

ventoy commented May 12, 2024

You mean that it can work OK with RHEL 9.3 but can not work with RHEL9.4?

@Realex-fire
Copy link
Author

Yes, @ventoy. Also it can work OK on RHEL 9.4 with kernel from RHEL 9.3.

@ventoy
Copy link
Owner

ventoy commented May 14, 2024

@Realex-fire
Copy link
Author

Hello @ventoy.
Thanks for trying to fix it, but now the VTOY_LINUX_REMOUNT feature does not work on RHEL 9.4 and RHEL 9.3, dmesg log has not changed. I tested vtoyboot-1.0.33 with kernels from RHEL 9.4 and RHEL 9.3, and it doesn't work on my VHD.
vtoyboot-1.0.31 worked well with kernels from RHEL 9.3 but did not work with kernels from RHEL 9.4.

@ventoy
Copy link
Owner

ventoy commented May 17, 2024

I tested with Rocky linux 9.4 and it work OK.
I can not download RHEL 9.4, but I think it's similar to Rocky9.4.

image

@Realex-fire
Copy link
Author

Realex-fire commented May 18, 2024

Yes, it does work on ISO (Rocky 9.4 and RHEL 9.4), but it doesn't work on my VHD with vtoyboot-1.0.33.
@ventoy, did you test vtoyboot-1.0.33 on Rocky 9.4 VHD or only the ISO?
I also noticed that on the latest CentOS Stream 9 VTOY_LINUX_REMOUNT feature doesn't work on ISO.

Edit: I noticed that you have not updated the vtoytool binaries in vtoyboot-1.0.33. I replaced them with 44fb9f4 but it didn't help.

@ventoy
Copy link
Owner

ventoy commented May 19, 2024

Try this CI release
https://github.com/ventoy/Ventoy/actions/runs/9146010459

I tested with CentOS-Stream-9-20240513.0-x86_64-boot.iso and it works OK.

And also I released vtoyboot-1.0.34 but I have not tested yet.

@Realex-fire
Copy link
Author

Thanks, @ventoy. I tested vtoyboot-1.0.34 on my VHD (RHEL 9.4) and it still doesn't work. Maybe I need to provide some additional information?

@ventoy
Copy link
Owner

ventoy commented May 19, 2024

You need to make a fresh new VHD with new vtoyboot version. Or you can do as follows:

  1. Change the xxx.vtoy file to its original name (e.g. xxx.vdi)
  2. Boot the vhd file with the VM that created it before.
  3. Download vtoyboot-1.0.34 and decompress it an re-run vtoyboot.sh inside the VM
  4. Change suffix to xxx.vtoy and boot with Ventoy.

@ventoy
Copy link
Owner

ventoy commented May 19, 2024

I will test with a Rocky9.4 VHD later.

@ventoy
Copy link
Owner

ventoy commented May 19, 2024

I have just fixed some bug and released vtoyboot-1.0.35.
I have tested with Rocky9.4 VHD and it work OK, you can try.

Do as follows:

  1. Use Ventoy to boot your VHD. (This time the VTOY_LINUX_REMOUNT option will not take effect)
  2. Download vtoyboot-1.0.35 and run vtoyboot.sh
  3. reboot and use Ventoy to boot your VHD agagin. (This time VTOY_LINUX_REMOUNT should work)

@Realex-fire
Copy link
Author

Thanks @ventoy, but you probably forgot to upload the vtoyboot-1.0.35.iso file in the Releases section. Only the Source code is available now. I think I also understood what the bug was. Is it a $AWK typo? 🙂

@ventoy
Copy link
Owner

ventoy commented May 19, 2024

I have upload the vtoyboot-1.0.35.iso now.

@Realex-fire
Copy link
Author

Thanks a lot. Everything is working fine now. I am closing this issue.

@ventoy ventoy added the Fixed This issue has been fixed label May 20, 2024
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