Rocky Linux Installation previously CentOS: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
*Disable SELINUX:/etc/selinux/config, set SELINUX to disabled, ''sestatus'' to check status AND /boot/efi/EFI/centos/grub.cfg, edit first line that starts with "linux..." and ends with a UTF setting, add selinux=0 to the end of the line. | *Disable SELINUX:/etc/selinux/config, set SELINUX to disabled, ''sestatus'' to check status AND /boot/efi/EFI/centos/grub.cfg, edit first line that starts with "linux..." and ends with a UTF setting, add selinux=0 to the end of the line. | ||
**This is only temporary (see above for making permanent): If issues occur when disabling SELINUX, reboot, make boot selection (do NOT press enter), press e, edit grub file, look for line near end that usually starts of with "linux..." and ends with a UTF setting, add selinux=0 to the end of the line. (Thanks to: https://www.virtualramblings.com/failed-to-load-selinux-policy-freezing/) | **This is only temporary (see above for making permanent): If issues occur when disabling SELINUX, reboot, make boot selection (do NOT press enter), press e, edit grub file, look for line near end that usually starts of with "linux..." and ends with a UTF setting, add selinux=0 to the end of the line. (Thanks to: https://www.virtualramblings.com/failed-to-load-selinux-policy-freezing/) | ||
*Show useful information when booting (it is Linux afterall): edit line in /boot/efi/EFI/centos/grub.cfg that usually starts of with "linux..." and ends with a UTF setting, remove ''rhel'' and ''quiet'' switches. | *'''See Below in Rocky Linux 9 Section:''' <s>Show useful information when booting (it is Linux afterall): edit line in /boot/efi/EFI/centos/grub.cfg that usually starts of with "linux..." and ends with a UTF setting, remove ''rhel'' and ''quiet'' switches.</s> | ||
*Boot to a command prompt: systemctl set-default multi-user.target (Thanks to: https://www.itzgeek.com/how-tos/linux/centos-how-tos/change-default-runlevel-in-centos-7-rhel-7.html#axzz3PuGwJi3X) | *Boot to a command prompt: systemctl set-default multi-user.target (Thanks to: https://www.itzgeek.com/how-tos/linux/centos-how-tos/change-default-runlevel-in-centos-7-rhel-7.html#axzz3PuGwJi3X) | ||
**startx will activate GUI | **startx will activate GUI | ||
Line 12: | Line 12: | ||
===Rocky Linux 9 (New Stuff)=== | ===Rocky Linux 9 (New Stuff)=== | ||
For Showing Useful Information While Booting, edit the /etc/default/grub File and then use this command: grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg (equivalent to what BootICE does for the Windows BCD File) | |||
* | |||
Cockpit AddOns; | Cockpit AddOns; | ||
Line 45: | Line 49: | ||
...there are so many suggested solutions that don't work when one wants a single user (root) | ...there are so many suggested solutions that don't work when one wants a single user (root) | ||
* https://www.putorius.net/disable-gnome-initial-setup.html | *https://www.putorius.net/disable-gnome-initial-setup.html | ||
* https://askubuntu.com/questions/1028822/disable-the-new-ubuntu-18-04-welcome-screen/1030095#1030095 | *https://askubuntu.com/questions/1028822/disable-the-new-ubuntu-18-04-welcome-screen/1030095#1030095 | ||
* The best one that works every time is this: yum remove gnome-initial-setup (can't run if it "don't" exist!) | *The best one that works every time is this: yum remove gnome-initial-setup (can't run if it "don't" exist!) | ||
===Other Notes=== | ===Other Notes=== |