-
Notifications
You must be signed in to change notification settings - Fork 4
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
incorrect path for kernel and initrd #41
Comments
Hello @birb57, Thanks for filing an issue. I was out on vacation last week so sorry for the slow response. I'm not sure exactly what's going on here right now but I will run some tests here this week. Normally # cat /boot/loader/entries/18fa4eb9191e4519a24fe35c3ff6db1d-4.18.0-513.5.1.el8_9.x86_64.conf
title Red Hat Enterprise Linux (4.18.0-513.5.1.el8_9.x86_64) 8.9 (Ootpa)
version 4.18.0-513.5.1.el8_9.x86_64
linux /vmlinuz-4.18.0-513.5.1.el8_9.x86_64 <<<
initrd /initramfs-4.18.0-513.5.1.el8_9.x86_64.img $tuned_initrd <<<
options $kernelopts $tuned_params
id rhel-20230929092625-4.18.0-513.5.1.el8_9.x86_64
grub_users $grub_users
grub_arg --unrestricted
grub_class kernel # grubby --info=1
index=1
kernel="/boot/vmlinuz-4.18.0-513.5.1.el8_9.x86_64" <<<
args="ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet $tuned_params"
root="/dev/mapper/rhel-root"
initrd="/boot/initramfs-4.18.0-513.5.1.el8_9.x86_64.img $tuned_initrd" <<<
title="Red Hat Enterprise Linux (4.18.0-513.5.1.el8_9.x86_64) 8.9 (Ootpa)"
id="18fa4eb9191e4519a24fe35c3ff6db1d-4.18.0-513.5.1.el8_9.x86_64" This is with the default partitioning configuration for LVM, with a separate
Are you able to boot from the boom-managed entries on your system? And just to confirm, when you say without dedicated |
I'm having a bit of trouble re-creating your configuration in the installer: if I remove the If I try to make How did you create this configuration, and could you post the output of the Thanks, |
Using the default UEFI layout I'm not able to reproduce the problem you're having: # boom create --title "Test" --root-lv rhel/root
Created entry with boot_id 225cf1e:
title Test
machine-id 18fa4eb9191e4519a24fe35c3ff6db1d
version 4.18.0-513.5.1.el8_9.x86_64
linux /vmlinuz-4.18.0-513.5.1.el8_9.x86_64
initrd /initramfs-4.18.0-513.5.1.el8_9.x86_64.img
options root=/dev/rhel/root ro rd.lvm.lv=rhel/root rhgb quiet
grub_users $grub_users
grub_arg --unrestricted
grub_class kernel # grubby --info=0
index=0
kernel="/boot/vmlinuz-4.18.0-513.5.1.el8_9.x86_64"
args="ro rd.lvm.lv=rhel/root rhgb quiet"
root="/dev/rhel/root"
initrd="/boot/initramfs-4.18.0-513.5.1.el8_9.x86_64.img"
title="Test"
id="18fa4eb9191e4519a24fe35c3ff6db1d-225cf1e-4.18.0-513.5.1.el8_9.x86_64" |
Hello bmr-cymru Find below screenshot of my grub when trying to boot normal boom recovery entry (under efi) |
As work arround I add /boot in grub2 BLS file 👍 |
issue is present only with vm unde efi
Thanks for your help |
It's still not clear to me how you set up your system this way - can you outline the steps you took to set up a system like this with no separate Anyway, in the meantime you can configure the To do this delete any existing boom-managed boot entries and the pre-existing RHEL8
Set up a new RHEL8
The path will now be automatically included in any new boot entries you create, e.g.:
You can confirm the path is present in the files generated under
|
Note that this isn't a boom-managed boot entry - this is the system provided boot entry for kernel 4.18.0-553.5.1.el8_10.x86_64. You may need to report this against the |
Hello
when creating my boom emtry with below command (on EFI system without /boot dedicated filesystem) path for kernel and initrd is incorrect (missing /boot)
boom create --title "Root Snapshot - before backup" --rootlv SysVGSystem/Root_snap -V
index=0
kernel="/vmlinuz-4.18.0-477.55.1.el8_8.x86_64"
args="ro rd.lvm.lv=SysVGSystem/Root_snap rhgb quiet"
root="/dev/SysVGSystem/Root_snap"
initrd="/initramfs-4.18.0-477.55.1.el8_8.x86_64.img"
title="Root Snapshot - before backup"
id="21c51331679049e4f8bc47272142ceec-ac7f556-4.18.0-477.55.1.el8_8.x86_64"
Missing /boot....
Thanks for your advise
The text was updated successfully, but these errors were encountered: