You are not logged in.

#1 2023-10-23 13:58:01

Wolfje the wolf
Member
Registered: 2023-10-23
Posts: 6

/etc/default/grub only 1 line can i make edits?

GRUB_TIMEOUT_STYLE=hidden

That's the only line I have in that file, I wanted to make a VM but need to do some edits to grub for that i do not know if they will work.

Edits to clarify
my grub file in the location above only has 1 line, can I add:
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt video=efifb

and will it work, because every tutorial said to change but my grub file is empty except for that one line.

Last edited by Wolfje the wolf (2023-10-23 18:19:59)

Offline

#2 2023-10-23 17:20:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: /etc/default/grub only 1 line can i make edits?

I'm frankly not sure what the question is here.
You can have an empty /etc/default/grub and will just use the default (empty) values for all variables.
Whether that  produces a desireable grub.cfg for your needs is a completely unrelated question (namely: what are your needs)

If you mean that you've to write a custom grub.cfg and wonder whether blanking /etc/default/grub will retain that config: no. Just don't run grub-mkconfig.

If your question is something entirely different, try to detail it a bit more.

Online

Board footer

Powered by FluxBB