debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #02781
[Bug 2115336] [NEW] Grub Won't Boot After Dracut Failure
Public bug reported:
Description: Ubuntu 25.04
Release: 25.04
dracut-core:
Installed: 106-2ubuntu5
Candidate: 106-2ubuntu5
Version table:
*** 106-2ubuntu5 500
500 http://us.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages
100 /var/lib/dpkg/status
Lets say you place a file in
/etc/apt/apt.conf.d/99nvidia
Calling a script you want to use to ensure nvidia drivers are ready for
any new kernal install. The apt config hook notes:
Pkg::Post-Invoke { "/home/$USER/workspace/nvidia_module_install.zsh"; };
and although the zsh script fails, Grub will no longer be listed as a
bootable entry even as dracut-core finishes with no errors.
Understandably whatever this ZSH script does may lead you to question
whether it is the culprit, however the focus should be on the loss of
being able to boot if the script is simply just a failing workable tool.
If you want to see the script, it is at
https://gist.github.com/m1st0/3957db900736b5a01d16b8ef1b0ddd69
It simply installs nvidia drivers and blacklists them so that sddm can
boot until they can be dynamically loaded when needed on certain
laptops. There may be work to do on the ZSH script, but it shows off
how I think dracut-core can fail miserably leaving a system that cannot
boot.
I removed the hook in /etc/apt/apt.conf.d/99nvidia, and ran the following just to be sure:
sudo update-initramfs -v -u
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg
sudo update-grub2
** Affects: dracut (Ubuntu)
Importance: Undecided
Status: New
** Tags: dracut grub
** Package changed: botan (Ubuntu) => dracut (Ubuntu)
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to dracut in Ubuntu.
https://bugs.launchpad.net/bugs/2115336
Title:
Grub Won't Boot After Dracut Failure
Status in dracut package in Ubuntu:
New
Bug description:
Description: Ubuntu 25.04
Release: 25.04
dracut-core:
Installed: 106-2ubuntu5
Candidate: 106-2ubuntu5
Version table:
*** 106-2ubuntu5 500
500 http://us.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages
100 /var/lib/dpkg/status
Lets say you place a file in
/etc/apt/apt.conf.d/99nvidia
Calling a script you want to use to ensure nvidia drivers are ready
for any new kernal install. The apt config hook notes:
Pkg::Post-Invoke { "/home/$USER/workspace/nvidia_module_install.zsh";
};
and although the zsh script fails, Grub will no longer be listed as a
bootable entry even as dracut-core finishes with no errors.
Understandably whatever this ZSH script does may lead you to question
whether it is the culprit, however the focus should be on the loss of
being able to boot if the script is simply just a failing workable
tool. If you want to see the script, it is at
https://gist.github.com/m1st0/3957db900736b5a01d16b8ef1b0ddd69
It simply installs nvidia drivers and blacklists them so that sddm can
boot until they can be dynamically loaded when needed on certain
laptops. There may be work to do on the ZSH script, but it shows off
how I think dracut-core can fail miserably leaving a system that
cannot boot.
I removed the hook in /etc/apt/apt.conf.d/99nvidia, and ran the following just to be sure:
sudo update-initramfs -v -u
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg
sudo update-grub2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2115336/+subscriptions
Follow ups