User Tools

Site Tools


kb_linux

Boot

Interrupt Boot process and change the //root// password

  1. Edit the kernel boot parameters by pressing e
  2. Go to the end of the 3linux3 line by pressing Ctrl+e, removing ro crash and add rd.break enforcing=0
  3. Start the system by pressing Ctrl+x
  4. Remount the root of the system:
    mount -o remount,rw /sysroot
  5. Switch to /sysroot:
    chroot /sysroot
  6. Reset the root password
  7. Enable SELinux relabeling:
    touch /.autorelabel
  8. Exit the shell

Grub

il y a une différence importante entre Grub et Grub2 dans la numérotation des partitions :

Sur Grub, la numérotation démarre à 0 pour les disques physiques ET pour les partitions. Exemple : /dev/hda1 ou /dev/sda1 sera nommé hd(0,0) par grub.

Sur Grub2, elle démarre à 0 pour les disques physiques et à 1 pour le numéro de la partition. Exemple : /dev/hda1 ou /dev/sda1 sera nommé hd(0,1) par grub-pc.

GRUB 2 (version Compatibles PC)

Satellite/SpaceWalk/SuSE Manager

Troubleshooting

Running a script through Satellite fails...

Failed to download metadata for repo ‘AppStream’ [CentOS]

Shell scripting

Misc

kb_linux.txt · Last modified: by atl