You are not logged in.
Recently I have bought a laptop (Acer Swift 1 - SF114-32), which had a command-line-only base Linpus Linux installation on it. The SSD of the laptop had 3 partitions, the first one (sda1) is the EFI partition. I simply deleted the two other partitions with cfdisk. Unfortunately I hadn't wiped, or formatted the already existing EFI partition, because this was my first attempt to install Arch Linux on an UEFI laptop. Then I managed to install Arch Linux by booting from a CD installation media via USB DVD drive, and then using "pacstrap", following the installation guide https://wiki.archlinux.org/index.php/Installation_guide
Now everything is working, including Intel microcode update, I can login to Xfce, and pulseaudio also works with the two speakers of the laptop.
The problem is, when I switch on the laptop, I always have to press F12 quickly to get a boot menu (I think it consists to the BIOS of the laptop), and then selecting GRUB from that menu, which is at the second place, as the first entry in the aformentioned boot menu is still the Linpus Linux.
My question is, how can I delete the Linpus Linux from the boot order, or simply put it at the second place, and GRUB to the first place.
I have tried the command "efibootmgr". Its output is:
# efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0001,2001,2002,2003
Boot0000* Linux (<- this is Linpus Linux)
Boot0001* grub (<- I made this meanhwile by selecting in the BIOS a trusted .efi program, hoping it will load at boot, but no success)
Boot0002* GRUB (<- this should be at the first place, need activating somehow)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
The option I tried to resolve the problem:
efibootmgr -v -o 0002,2001,2002,2003,0000
But it didn't work as expected, still the Linus Linux (Boot0000) is loading at boot.
I also tried to delete the boot order with "efibootmgr -O", but I still have Linpus Linux (Boot0000), and the "Boot0001 grub" entries, with the first one, Linpus Linux activated.
Last edited by bohokash (2019-12-19 18:24:04)
Offline
Try adding the 0001 somewhere in the order. It might be that the function requires correct number of args.
Offline
Unfortunately doesn't work either, the "BootCurrent" is always remains "0000".
Offline
Do you need the Linpus-entry? You could just deactivate or delete it and set a new boot-target:
efibootmgr -b 0000 -A #set inactive
efibootmgr -b 0000 -B #deleting
efibootmgr -n 0001 #next boot: Arch
After booting into arch, you could (re-)install/upgrade grub and it should set itself as first booting-system.
Offline
Finally I reached my goal with the -A option: deactivating the unneeded bootnum
efibootmgr -A -b 0000
Problem solved.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline