Skip to content

Commit d8fe469

Browse files
author
Mauricio
authored
Format code blocks and notes in markdown
1 parent 5778750 commit d8fe469

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

support/azure/virtual-machines/linux/troubleshoot-red-hat-os-upgrade-issues.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ The mounting failure occurs because version 2 of the control group (cgroup v2) i
611611

612612
If you run the Leapp upgrade from RHEL 8.10 to 9.4 or 9.5, the upgrade process might not continue after the required reboot. Instead, the VM boots back into RHEL 8.10 without loading the special upgrade initramfs.
613613

614-
This issue may be caused by the following setting in /etc/default/grub:
614+
This issue may be caused by the following setting in `/etc/default/grub`:
615615

616616
```bash
617617
GRUB_DEFAULT=0
@@ -624,17 +624,23 @@ Since `GRUB_DEFAULT=0` forces the system to always boot the first menu entry in
624624
1. Change GRUB_DEFAULT=0 to GRUB_DEFAULT=saved:
625625

626626
> [!NOTE]
627-
> In this example, GRUB_DEFAULT is set to 0, but in your environment, it might be 1 or another number. Ensure you replace it accordingly in the sed command.
628-
627+
> In this example, `GRUB_DEFAULT` is set to `0`, but in your environment, it might be `1` or another number. Ensure you replace it accordingly in the `sed` command.
629628
```
630629
sudo sed -i 's/^GRUB_DEFAULT=0/GRUB_DEFAULT=saved/' /etc/default/grub
631630
```
632631
2. Regenerate the GRUB configuration:
633632

633+
GEN1
634+
634635
```bash
635636
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
636637
```
637638

639+
GEN2:
640+
641+
```bash
642+
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
643+
```
638644
3. Reboot the VM thru the serial console.
639645

640646
```

0 commit comments

Comments
 (0)