You are not logged in.

#1 2013-05-29 06:43:45

darlinger
Member
Registered: 2013-04-21
Posts: 16

questions on /etc/default/grub

i'm currently switching from syslinux to grub2 due to lack of support with xen and lvm/luks and just general information that i have a massive headache from googling for hours about.

anyways, i'm configuring grub very cautiously because i would prefer a simple reboot in opposition to having to stick a live cd in and unlock and mount all my partitions and do all this messy work.

is it possible to configure all options designating kernel, initrd, and kernel parameters from the "GRUB_CMDLINE_LINUX_DEFAULT" variable and its friends?

i know that i can configure grub.cfg by hand but i would much rather prefer to do it from /etc/default/grub

i use lvm on luks and i'm setting up my arch installation as a dom0

any help?

Offline

#2 2013-05-30 22:10:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: questions on /etc/default/grub

You don't need to specify the kernel and initrd if you are going to have grub generate the configuration automatically - just the kernel parameters.

Please read the wiki. The documentation on this is excellent.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-05-31 15:58:26

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: questions on /etc/default/grub

Offline

Board footer

Powered by FluxBB