So delete it first_
update-bootloader --del-option ' selinux=1'
write it:
update-bootloader
and look, if it was deletetd:
grep -i 'selinux=' /boot/grub2/grub.cfg
Now add selinux=0 as described in #16
So delete it first_
update-bootloader --del-option ' selinux=1'
write it:
update-bootloader
and look, if it was deletetd:
grep -i 'selinux=' /boot/grub2/grub.cfg
Now add selinux=0 as described in #16
Otherwise you can read trhe wiki page as @arvidjaar has posted in #17
I follow the Wiki Page. For dracut I got errors:
$ dracut --regenerate-all --force
/usr/bin/ldd: line 159: /lib/ld-linux.so.2: cannot execute binary file: Exec format error
If you have 32 bit programs you need to enable ia32 emulation.
https://en.opensuse.org/GRUB#Enabling_32bit_x86_support_in_Kernel
Installing the package will not work, you need to add the parameter yourself.
The package grub2-compat-ia32 was/is installed. I would like to clarify your hint:
Installing the package will not work, you need to add the parameter yourself.
You suggest me to add setlinux=0 manually, right?
If so, this is what I meant. Having a fresh installation instance, I don’t need to make workarounds. If ordinary user has setlinux=1 why I can’t set it properly too?
This package does nothing. You need to add the parameter manually.
Update-bootloader --add-option `ia32_emulation=1`
update-bootloader
I’ve finally found how I can install a fresh copy of the system without affecting /home directory and other important discs/partitions (see opensuse-leap-16-partition-configuration-query). Going to the point, I did it. Now I can boot the system with selinux=1:
$ grep -i selinux /boot/grub2/grub.cfg
linux /boot/vmlinuz-6.12.0-160000.5-default root=UUID=7aeb4c4e-c513-4658-8d2e-65d1aeab5b5d ${extra_cmdline} nomodeset mitigations=auto quiet security=selinux selinux=1
linux /boot/vmlinuz-6.12.0-160000.5-default root=UUID=7aeb4c4e-c513-4658-8d2e-65d1aeab5b5d ${extra_cmdline} nomodeset mitigations=auto quiet security=selinux selinux=1
I can even lock screen (previously it didn’t work like a lot of things that I wasn’t able to proof without log files). But still there is one important issue.
I wasn’t able to install Leap 16.0 from the USB Stick with default parameters. As I mentioned many times, default installation bring me to CLI with Agama’s login. By adding nomodeset I was able to skip CLI and finally see a web GUI. I carefully managed partitioning and set required options. After rebooting the system I updated it using zypper ref; zypper up.
If you look at grep’s output above, you can see that there is nomodeset param. I can remove it but this causes that the screen will be black with blinking cursor before I log in as a user.
To summarize, I did a fresh installation, I updated the system, there is no mess but I can’t use system without nomodeset (I’m limited to resolution 800x600 only). Any hints?
You need to install the Nvidia drivers. For Leap 16, only the G06 driver series (v580) is available. If you have an older card, you need to use nouveau.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.