Hi, i tried to remove boot diley from 5 to 0 but i dont know how to edit.
When i put this : sudo nano /etc/default/grub
the terminal open this menu and i dont know what to do next
Maybe try it this way.
sudo nano /boot/grub/grub.cfg
Safe the file and, to make changes permanent use the following commands
sudo grub-install
sudo grub-mkconfig -o /boot/grub/grub.cfg
Running the grub-mkconfig
will overwrite whatever changes were made. If you don’t have an /etc/default/grub
, then maybe you’re running systemd-boot
.
What does sudo bootctl list
return?
2 Likes
Directory ‘/boot/grub’ does not exist ]
type: Boot Loader Specification Type #1 (.conf)
title: EndeavourOS (6.15.2-arch1-1) (default) (selected)
id: c11477158ff74d4193d3ef6d32d78455-6.15.2-arch1-1.conf
source: /efi//loader/entries/c11477158ff74d4193d3ef6d32d78455-6.15.2-arch1-1.conf (on the EFI System Partition)
sort-key: endeavouros-6.15.2-arch1-1
version: 6.15.2-arch1-1
machine-id: c11477158ff74d4193d3ef6d32d78455
linux: /efi//c11477158ff74d4193d3ef6d32d78455/6.15.2-arch1-1/linux
initrd: /efi//c11477158ff74d4193d3ef6d32d78455/6.15.2-arch1-1/initrd
options: nvme_load=YES nowatchdog rw rootflags=subvol=/@ root=UUID=7eab3ff5-776d-416e-8d7f-57ba2b998427 resume=UUID=ac4c6b5c-c533-429c-860b-cbc92f0ed27f systemd.machine_id=c11477158ff74d419>
type: Boot Loader Specification Type #1 (.conf)
title: EndeavourOS (6.15.2-arch1-1-fallback)
id: c11477158ff74d4193d3ef6d32d78455-6.15.2-arch1-1-fallback.conf
source: /efi//loader/entries/c11477158ff74d4193d3ef6d32d78455-6.15.2-arch1-1-fallback.conf (on the EFI System Partition)
sort-key: endeavouros-6.15.2-arch1-1-fallback
version: 6.15.2-arch1-1-fallback
machine-id: c11477158ff74d4193d3ef6d32d78455
linux: /efi//c11477158ff74d4193d3ef6d32d78455/6.15.2-arch1-1/linux
initrd: /efi//c11477158ff74d4193d3ef6d32d78455/6.15.2-arch1-1/initrd-fallback
options: nvme_load=YES nowatchdog rw rootflags=subvol=/@ root=UUID=7eab3ff5-776d-416e-8d7f-57ba2b998427 resume=UUID=ac4c6b5c-c533-429c-860b-cbc92f0ed27f systemd.machine_id=c11477158ff74d419>
type: Automatic
title: Reboot Into Firmware Interface
id: auto-reboot-to-firmware-setup
source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f (on the EFI System Partition)
~
~
~
Sorry for the confusion on my previous post , anyway it looks like that you don’t have Grub as a bootloader check for a file loader.conf if you have systemd boot you should have that file.
I wonder why we still have the doble slash /efi//…
in the source
, linux
and initrd
lines. It’s the same on mine, just checked. A bug?