You are not logged in.

#1 2024-04-27 11:44:55

Zatena
Member
Registered: 2023-08-06
Posts: 36

[Solved] Settings in /etc/default/grub not possible

Hello,

I want to activate my NVidia graphic card using the article at https://linuxiac.com/nvidia-with-waylan … tup-guide/. I already enabled a couple of parameter but I am not  able to enable DRM because the file /etc/default/grub does not exist. When I search for grub in pacman "pacman -Ss grub" I am able to see that grub is not installed which means (for me) that I don't use grub. I am currenty not sure what is the app that is used for booting my arch linux and unfortunately I don't know how I could find out that information.

The mentioned article requires to append “nvidia-drm.modeset=1” in GRUB_CMDLINE_LINUX_DEFAULT.

- How can I add the line if no /etc/default/grub is available ?
- How can I find out what is used on my system ?

BR

Last edited by Zatena (2024-04-28 05:59:06)

Offline

#2 2024-04-27 12:04:28

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 752

Re: [Solved] Settings in /etc/default/grub not possible

Are you using systemd-boot then? Just add what you need there, should be /boot/loader/entries/arch.conf (add in options line).
Or install grub if you want then proceed with grub stuf.

Offline

#3 2024-04-27 12:14:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,614

Re: [Solved] Settings in /etc/default/grub not possible

How did you set this system up? Usually people know what they use because they chose it, installed it, and configured it as that's how Arch works.

Online

#4 2024-04-27 14:25:28

Zatena
Member
Registered: 2023-08-06
Posts: 36

Re: [Solved] Settings in /etc/default/grub not possible

Scimmia wrote:

How did you set this system up? Usually people know what they use because they chose it, installed it, and configured it as that's how Arch works.

Usually I do know what I configured when installing an OS but this was nearly 2 years ago and I tested many things, so unfortunately I am not sure what I configured.

Offline

#5 2024-04-27 14:38:13

loqs
Member
Registered: 2014-03-06
Posts: 17,488

Re: [Solved] Settings in /etc/default/grub not possible

Try `bootctl status`.  Assuming EFI is in use the "Boot Loaders Listed in EFI Variables" section of the output may help.

Offline

#6 2024-04-28 05:58:17

Zatena
Member
Registered: 2023-08-06
Posts: 36

Re: [Solved] Settings in /etc/default/grub not possible

Hello @Ioqs and @Xabre, thank you very much for your hints
Everything is working fine.

Offline

Board footer

Powered by FluxBB