You are not logged in.

#1 2022-12-27 21:49:20

ad4ms3
Member
From: Bradford, UK
Registered: 2018-01-19
Posts: 95

[SOLVED] grub-mkconfig does not fully execute

Hello everyone

I got a new laptop, but decided to transfer SSD rather than installing a system from scratch.
Old laptop was using MBR, whereas a new one GPT, as I need windows too. I used gdisk to change partition table.
The partition table looks quite weird:
dev/sda1 - /
dev/sda2 - /home
dev/sda3 - /Windows10
dev/sda4 - EFI
Logically sda1 should have been EFI but I have no spare disks to move data around..
After a great battle with GRUB, I can load Arch and Win10.
Unfortunately, grub entries, and its look (I used grub customizer some time ago) remained unchanged, and cannot get rid of them
Each time I run grub-mkconfig, it displays an error, which I cannot solve.
Tried to reinstall grub, get rid of grub-customizer, and nothing works.

archlinux# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
/etc/grub.d/proxifiedScripts/linux: line 198: version_find_latest: command not found

Last edited by ad4ms3 (2022-12-27 22:24:11)

Offline

#2 2022-12-27 21:54:38

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] grub-mkconfig does not fully execute

ad4ms3 wrote:

Unfortunately, grub entries, and its look (I used grub customizer some time ago) remained unchanged, and cannot get rid of them

Sounds like you might be booting an old NVRAM entry.

Please post

efibootmgr -u
ad4ms3 wrote:
/etc/grub.d/proxifiedScripts/linux: line 198: version_find_latest: command not found

So remove /etc/grub.d/proxifiedScripts/. They sound bad. Where did they come from?

EDIT: I like Bradford. Very pretty place.

Last edited by Head_on_a_Stick (2022-12-27 21:55:39)


Jin, Jîyan, Azadî

Offline

#3 2022-12-27 22:17:40

ad4ms3
Member
From: Bradford, UK
Registered: 2018-01-19
Posts: 95

Re: [SOLVED] grub-mkconfig does not fully execute

λ > efibootmgr -u
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0001* GRUB  HD(4,GPT,322d9f16-8763-46a3-be4a-894b379c09f0,0x800,0x100000)/File(\EFI\GRUB\grubx64.efi)
Boot2001* EFI USB Device        䍒Boot2002* EFI DVD/CDROM 䍒Boot2003* EFI Network   䍒

After deleting such folder, LS_linux and LS_custom, grub-mkconfig executed correctly. Sometimes the simplest solution is the hardest to find:D
And where this folder came from ..... I have no idea. This Arch install is from 2018. A lot of things and experiments have happened since big_smile big_smile

No, Bradford is not a nice place. Yorkshire Dales is much more beautiful;)

Last edited by ad4ms3 (2022-12-27 22:27:19)

Offline

Board footer

Powered by FluxBB