[sle-beta] grub cmdline duplication

Jiri Srain jsrain at suse.cz
Thu Nov 1 00:59:47 MDT 2018


Thanks for the logs.

It seems that you put all the expected kernel parameters to the AutoYaST
profile. When importing them, AutoYaST merges them with those it would
propose by default.

This has a valid reason (or use case): You may need specific parameters
for the specific machine to operate correctly, while the AutoYaST
profile is supposed to be used by multiple different machines.

In your case, the solution would be to only add parameters which would
not be proposed by default (which could also mean to leave the append
empty). If you want to have a profile used by multiple devices, it
especially does not make sense to sepcify the 'resume=' device - which
can, based on the device naming scheme, be different on different hosts.

On the other hand: I understand that for some use cases it can make
sense to only use parameters specified in the profile - e.g. in order
not to include some of the by-default proposed ones. It seems that we
currently lack this option in AutoYaST. Perhaps this is something that
we should address in the future - allow specifying the kernel cmdline to
be used as in the profile.

Perhaps this is something worth a feature request.

Jiri

On 31. 10. 18 16:36, Schulte, Matt wrote:
> Here are the files.
> 
> Matt Schulte
> ESG QA Engineer
> Interoperability
> E-Series Linux
> 
> -----Original Message-----
> From: sle-beta-bounces at lists.suse.com <sle-beta-bounces at lists.suse.com> On Behalf Of Jiri Srain
> Sent: Wednesday, October 31, 2018 1:19 AM
> To: sle-beta at lists.suse.com
> Subject: Re: [sle-beta] grub cmdline duplication
> 
> NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> 
> 
> Hello,
> 
> could you, please, provide the installation logs (/var/log/YaST2
> directory) and the GRUB configuration written by the installer (/etc/default/grub*)?
> 
> Feel free to send them to me via private mail (due to the expected attachment size).
> 
> Thanks,
>   Jiri
> 
> On 30. 10. 18 19:47, Schulte, Matt wrote:
>> I have installed SLES 12 SP4 RC2 directly from the ISO and have not 
>> modified the default grub cmdline in any way.
>>
>>
>>
>> I have noticed that there is some parameter duplication:
>>
>>
>>
>> # cat /proc/cmdline
>>
>> BOOT_IMAGE=/boot/vmlinuz-4.12.14-94.38-default
>> root=UUID=ba9fdd3e-cb35-4d60-9464-cf1bfa7f526b
>> resume=/dev/mapper/3600a098000a0a28a0000b18e5b32d924-part2 
>> splash=silent quiet showopts
>> resume=/dev/mapper/3600a098000a0a28a0000b18e5b32d924-part2 
>> splash=silent quiet showopts crashkernel=173M,high crashkernel=72M,low
>>
>>
>>
>> You'll notice that the
>>
>>
>>
>> "resume=/dev/mapper/3600a098000a0a28a0000b18e5b32d924-part2
>> splash=silent quiet showopts"
>>
>>
>>
>> is in there twice.
>>
>>
>>
>> Has anybody else noticed this one?
>>
>>
>>
>> *Matt Schulte*
>>
>> NetApp ESG QA Engineer
>>
>>
>>
>>
>> _______________________________________________
>> sle-beta mailing list
>> sle-beta at lists.suse.com
>> http://lists.suse.com/mailman/listinfo/sle-beta
>>
> 
> --
> Regards,
> 
> Jiri Srain
> Project Manager
> ---------------------------------------------------------------------
> SUSE LINUX, s.r.o.                            e-mail: jsrain at suse.com
> Krizikova 148/34                              tel: +420 284 084 659
> 186 00 Praha 8                                fax: +420 284 084 001
> Czech Republic                                http://www.suse.com
> _______________________________________________
> sle-beta mailing list
> sle-beta at lists.suse.com
> http://lists.suse.com/mailman/listinfo/sle-beta
> 

-- 
Regards,

Jiri Srain
Project Manager
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                            e-mail: jsrain at suse.com
Krizikova 148/34                              tel: +420 284 084 659
186 00 Praha 8                                fax: +420 284 084 001
Czech Republic                                http://www.suse.com


More information about the sle-beta mailing list