s-n-ushakov / rename-efi-entry

A Bash script to rename EFI boot entries
BSD 2-Clause "Simplified" License
88 stars 15 forks source link

ERROR : partition number of the device [1] is different from partition number in the EFI entry [3]. #5

Open Salsely opened 2 years ago

Salsely commented 2 years ago

Steps to reproduce: $ git clone https://github.com/s-n-ushakov/rename-efi-entry/ $ cd rename-efi-entry $ sudo ./rename-efi-entry.bash Arch_Linux 'GRUB Bootloader' 0001

Output: ERROR : partition number of the device [1] is different from partition number in the EFI entry [3].

Efibootmgr Output: BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0000,0001,2001 Boot0000* Windows Boot Manager Boot0001* Arch_Linux Boot0003* UEFI Onboard LAN IPv4 Boot0004* UEFI Onboard LAN IPv6 Boot2001* EFI USB Device

s-n-ushakov commented 1 year ago

Hi @Salsely , and sorry for a really delayed response, as your posting has missed my sight... Is your case still relevant? If yes, is my guess correct that the device you use is a removable one? Might it be that it gets connected differently from time to time? Are you in a position to supply output of the sfdisk -d /dev/_your_disk_ command too?