[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
Hi, root@len:~# efibootmgr BootCurrent: Timeout: 1 seconds BootOrder: 0003,,0001,0002,0004 Boot* ubuntu Boot0001* CD/DVD Rom Boot0002* Hard Disk Boot0003* Network Boot0004* USB Storage root@len:~# dpkg-reconfigure grub-efi-amd64-signed Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. root@len:~# efibootmgr BootCurrent: Timeout: 1 seconds BootOrder: ,0003,0001,0002,0004 Boot* ubuntu Boot0001* CD/DVD Rom Boot0002* Hard Disk Boot0003* Network Boot0004* USB Storage root@len:~# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
Please run dpkg-reconfigure grub-efi-amd64-signed followed by efibootmgr and attach output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
Hi, According to Comments 6&7&8, it seems Ubuntu not change boot order. Could you help to investigate and explain it? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
I also test it with rhel9.0 and it not be reproduced in RHEL9.0. ** Attachment added: "efibootmgr on RHEL9" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+attachment/5579161/+files/efibootmgr%20on%20RHEL9.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
I can reproduce it on Ubuntu 20.04.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
** Attachment added: "efibootmgr -v" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+attachment/5579131/+files/efibootmgr%20-v.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
This looks like a firmware issue. If you install Ubuntu from our install images, it WILL register itself with the firmware as the first boot option. It never registers itself as the second option. If you are seeing it as the second option, this is because your firmware is overriding the setting and introducing another boot option that is invisible to Ubuntu from the firmware variables. To change your system to not boot first from network, you will need to go into your firmware settings and disable it. You can verify this by checking the output of the command 'efibootmgr -v' both after the install has completed but before you've rebooted, and after you've rebooted into the newly-installed system. ** Package changed: grub (Ubuntu) => grub2 (Ubuntu) ** Changed in: grub2 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
I'm pretty sure this is by design... a few years ago we hit issues where grub was setting Ubuntu as the primary boot device in EFI automatically, overriding user settings. For MAAS (for example, as this is where we were most impacted), MAAS works better if Network is always the first boot option. What would happen is that we'd install via MAAS, then the Ubuntu option would be injected and rewrite the EFI boot order and the machine was not able to be PXE booted after that when you wanted to release and re- deploy, because from that point onwards the machine would always boot from HDD first due to the location of the Ubuntu option. So I think this is probably by design, to avoid situations where installing ubuntu overrides user defined boot order. The presumption is that if you set PXE to be the first boot device in BIOS, you probably intend to always boot the machine via PXE, and if you want to vary that, you'll trigger the boot menu to choose a temporary alternative. Conversely, if you plan to mostly boot from ISO, you wouldn't want to waste your time waiting on PXE to time out, so you'd have set the boot order so that HDD/SSD comes first anyway. At least, that is my recollection, and as I said, I do think this is intended behaviour, but lets see if someone who manages Grub can comment on this. I'll escalate it to that team for visibility. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
** Package changed: kernel-package (Ubuntu) => grub (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
** Package changed: ubuntu => kernel-package (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1968145/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
** Attachment added: "boot order shows in UEFI" https://bugs.launchpad.net/ubuntu/+bug/1968145/+attachment/5577852/+files/boot%20order%20shows%20in%20UEFI.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968145] Re: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04
Does it work as design? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968145 Title: Ubuntu won't change itself to first boot option in UEFI Boot Order after installing Ubuntu22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1968145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs