User Tools

Site Tools


kb_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb_linux [2020/05/19 03:48] – [Shell scripting] atlkb_linux [2023/08/24 03:09] (current) atl
Line 1: Line 1:
 ====== Boot ====== ====== Boot ======
 +
 +===== Interrupt Boot process and change the //root// password =====
 +
 +  - **Edit** the kernel boot parameters by pressing **e**
 +  - **Go to** the end of the 3linux3 line by pressing **Ctrl+e**, removing //ro crash// and add //rd.break enforcing=0//
 +  - **Start** the system by pressing **Ctrl+x**
 +  - **Remount** the root of the system:\\  mount -o remount,rw /sysroot
 +  - **Switch** to /sysroot:\\  chroot /sysroot
 +  - **Reset** the root password
 +  - **Enable** SELinux relabeling:\\  touch /.autorelabel
 +  - **Exit** the shell
  
 ===== Grub ===== ===== Grub =====
Line 19: Line 30:
 cf.[[http://thread.gmane.org/gmane.linux.redhat.rhn.satellite.user/216|http://thread.gmane.org/gmane.linux.redhat.rhn.satellite.user/216]] cf.[[http://thread.gmane.org/gmane.linux.redhat.rhn.satellite.user/216|http://thread.gmane.org/gmane.linux.redhat.rhn.satellite.user/216]]
  
 +==== Failed to download metadata for repo ‘AppStream’ [CentOS] ===
 +
 +cf.
 +[[https://techglimpse.com/failed-metadata-repo-appstream-centos-8/|Failed to download metadata for repo ‘AppStream’ [CentOS]]]
 ====== Shell scripting ====== ====== Shell scripting ======
  
kb_linux.1589874485.txt.gz · Last modified: by atl