GRand Unified Bootloader: Difference between revisions
Appearance
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= GRUB2 = | = GRUB / GRUB2 = | ||
== Reset Root Password == | == Reset Root Password == | ||
| Line 15: | Line 10: | ||
7. create hidden file .autorelabel to run SELinux relabeling on all files <code>touch .autorelabel</code><br> | 7. create hidden file .autorelabel to run SELinux relabeling on all files <code>touch .autorelabel</code><br> | ||
8. <code>exit</code> the chroot shell and <code>reboot</code><br> | 8. <code>exit</code> the chroot shell and <code>reboot</code><br> | ||
== Other Things == | |||
Argument to fix some graphical issues in Proxmox install:<br> | |||
<code>nomodeset</code><br> | |||
Latest revision as of 01:04, 29 August 2026
GRUB / GRUB2
Reset Root Password
1. enter GRUB2 edit mode
2. modify linux-kernel string by adding rd.break at the end
3. press CTRL+x to boot with entered options
4. use chroot to mount /sysroot to / chroot /sysroot, pwd should read /
5. remount the root file system in read/write mode mount -o remount,rw /
6. run passwd to set new password passwd
7. create hidden file .autorelabel to run SELinux relabeling on all files touch .autorelabel
8. exit the chroot shell and reboot
Other Things
Argument to fix some graphical issues in Proxmox install:
nomodeset