Bug 1160817

Summary: [y2-bootloader] Some kernel parameters are inherited the wrong way during installation
Product: [openSUSE] openSUSE Distribution Reporter: Mikhail Krutov <nekoxmachina>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: ancor, hel
Version: Leap 15.1   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
URL: https://trello.com/c/OqDdCggm
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mikhail Krutov 2020-01-13 20:30:20 UTC
My machine requires me to add a kernel parameter to boot:

>acpi_osi=! acpi_osi="Windows 2009" modprobe.blacklist=nouveau

This is due to my optimus video card, which freezes my machine if I don't supply those to grub command line.


In case I supply those to boot live media, the acpi_osi="Windows 2009" parameter gets parsed wrongly: installation program turns it into "acpi_osi=Windows 2009" for resulting grub config.


Steps to reproduce:


1) Boot machine with acpi_osi="Windows 2009" kernel parameter

2) Start installation

Expected result:

Installation program inherits Kernel parameter string exactly the same way it is supplied during boot (acpi_osi="Windows 2009")


Actual result:

Instead, installation program puts in a kernel parameter "acpi_osi=Windows 2009" (notice that the quotes are now surrounding the whole parameter instead of just its value), resulting in unbootable system.
Comment 1 Stefan Hundhammer 2022-09-22 14:53:36 UTC
This would be something for linuxrc or installation-images, both of which are now maintained outside the YaST team by snwint@suse.com. Reassigning.