You are not logged in.

#1 2014-08-04 09:52:53

don_philipe
Member
Registered: 2014-07-30
Posts: 7

[SOLVED] Grub seems to ignore kernel parameters

Hi,
I have the impression that grub ignores all kernel parameters that I added after installing arch.

The relevant lines in /etc/default/grub look like:

GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root resume=/dev/LvmOnLuks/swap"
GRUB_CMDLINE_LINUX="acpi_osi= add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1"

After generation the kernel line /boot/grub/grub.cfg looks like:

linux   /boot/vmlinuz-linux root=UUID=1c05593f-4bfc-4b1f-a0ab-c9ef8f6e97fa rw acpi_osi= add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root resume=/dev/LvmOnLuks/swap

Until this point everything is ok.

But /proc/cmdline give me:

BOOT_IMAGE=/vmlinuz-linux root=UUID=1c05593f-4bfc-4b1f-a0ab-c9ef8f6e97fa rw quiet cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root

I get the same output from the kernel line in the grubmenu at boottime. But these are the parameters I set at arch installation, not the current ones.

Softwareversions:
linux 3.15.7-1
grub 1:2.02.beta2-4
efibootmgr 0.7.0-1
efivar 0.10-1

I have no idea what the problem could be and I hope I can get help here.

Last edited by don_philipe (2014-08-10 21:57:21)

Offline

#2 2014-08-04 11:57:16

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] Grub seems to ignore kernel parameters

don_philipe wrote:
GRUB_CMDLINE_LINUX="acpi_osi= add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1"

Is there meant to be a space between acpi_osi= and add_efi_memmap?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-08-04 12:45:43

don_philipe
Member
Registered: 2014-07-30
Posts: 7

Re: [SOLVED] Grub seems to ignore kernel parameters

According to https://wiki.archlinux.org/index.php/AS … _backlight no value is needed for this parameter. The other parameters are also taken from this wiki page https://wiki.archlinux.org/index.php/AS … Parameters.

Edit:
I just tried it without the acpi_osi= parameter, but nothing changed.

Last edited by don_philipe (2014-08-04 16:53:39)

Offline

#4 2014-08-08 15:11:50

don_philipe
Member
Registered: 2014-07-30
Posts: 7

Re: [SOLVED] Grub seems to ignore kernel parameters

Even with only

GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root resume=/dev/LvmOnLuks/swap"

the output of /proc/cmdline is

BOOT_IMAGE=/vmlinuz-linux root=UUID=1c05593f-4bfc-4b1f-a0ab-c9ef8f6e97fa rw quiet cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root

So nothing changed, and I have no idea where the "quiet" parameter comes from.
Any suggestions what I can do?

Offline

#5 2014-08-10 21:51:08

don_philipe
Member
Registered: 2014-07-30
Posts: 7

Re: [SOLVED] Grub seems to ignore kernel parameters

Finally solved this issue.
It was not a grub problem. I just forgot to mount the efi /boot partition *facepalm*.

Offline

Board footer

Powered by FluxBB