on my laptop 1=ASUS vivobook pro N552VW-FY204T (2016) with freshly installed leap 16.0
I would like to remove nomodeset from grub line
in the past was easily with yast, how can I do it now?
is there a GUI interface to do this?
To remove a parameter from the kernel command line:
sudo update-bootloader --del-option nomodeset
sudo update-bootloader --config
See also man update-bootloader
I also would like to modify selinux=1 to selinux=0 but I cannot find in man update-bootloader any option to modify entry
then, bootloader has three entries, if I use your suggestion where it delete nomodeset option?
is there a file to edit and then run
sudo update-bootloader --config
??
@pier_andreit There is (/etc/kernel/cmdline), but better to use the tools provided and you have to run update-bootloader --config anyway.
The update-bootloader command is applicable to grub-efi, grub-bls, u-boot etc as well.
And don’t disable SELinux, that’s a potential security issue… Fix the problem, or create a bug report…
Hi and manythanks
/etc/kernel/ is an empty directory here
yes to run update-bootloader --configis not the problem, I would like to see or edit the grub lines and then run update-bootloader --config, is it possible?
about disable selinux is for limited time I hope, I would like to use leap 16.6 if there are other problems and then I think I will solve the selinux problem that was that I cannot login after the screen off time
That means you’re not using grub2-bls. For classic grub, it will modify /etc/default/grub and then sudo update-bootloader --config will regenerate the applicable bootloader files. (You can edit that file manually if desired.)
running sudo update-bootloader --show I get grub2-efi
and sorry but I don’t understand what will modify /etc/default/grub
@pier_andreit update-bootloader!!!
cat /etc/default/grub cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent quiet security=apparmor intel_iommu=on iommu=pt fbdev=1 nvidia_drm.modeset=1 mitigations=auto i915.force_probe=!56a6 xe.force_probe=56a6 nomodeset"
update-bootloader --del-option nomodeset
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent quiet security=apparmor intel_iommu=on iommu=pt fbdev=1 nvidia_drm.modeset=1 mitigations=auto i915.force_probe=!56a6 xe.force_probe=56a6"
As Malcolm explained, but you’re free to modify it manually as you were asking…
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.