Transplanting Ubuntu 24.04.1 server to new hardware, best approach?

Jeffrey Walton noloader at gmail.com
Mon Jan 27 21:50:52 UTC 2025


On Mon, Jan 27, 2025 at 3:16 PM Ian Bruntlett <ian.bruntlett at gmail.com> wrote:
>
> On Mon, 27 Jan 2025 at 19:57, Colin Watson <cjwatson at ubuntu.com> wrote:
>>
>> FWIW, if you're running on UEFI, then the installation device argument
>> is ignored, since it doesn't make sense on UEFI: grub-install always
>> copies GRUB into /boot/efi/ and adjusts NVRAM variables to point to it
>> in general.  So just `grub-install` as root is enough.
>
>
> Interesting. I have a ThinkPad whose (NVRAM settings I believe) still think that Windows, another Linux, and Ubuntu are all installed on it. Only Ubuntu is installed on it. I don't dare mess around with the UEFI settings just yet but are there any commands/applications that will reveal what is stored in NVRAM?

As Colin said, use efibootmgr. Also see
<https://linuxconfig.org/how-to-manage-efi-boot-manager-entries-on-linux>
and <https://wiki.gentoo.org/wiki/Efibootmgr>. (Ubuntu does not seem
to have a specific page for efibootmgr).

> I have also heard there is a UEFI rootkit out there that targets Linux systems. Is there a way to check for that?

Probably.

Jeff




More information about the ubuntu-users mailing list