Skip to content

Commit 1a8d0c4

Browse files
author
Mauricio
authored
Update code block syntax in troubleshooting guide
1 parent fec3882 commit 1a8d0c4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ If you run the Leapp upgrade from RHEL 8.10 to 9.4 or 9.5, the upgrade process m
613613

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

616-
```bash
616+
```config
617617
GRUB_DEFAULT=0
618618
```
619619
Since `GRUB_DEFAULT=0` forces the system to always boot the first menu entry in GRUB, it skips the Leapp upgrade entry and continues booting into the existing RHEL 8.10 environment.
@@ -625,9 +625,12 @@ Since `GRUB_DEFAULT=0` forces the system to always boot the first menu entry in
625625

626626
> [!NOTE]
627627
> 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-
```
628+
629+
630+
```bash
629631
sudo sed -i 's/^GRUB_DEFAULT=0/GRUB_DEFAULT=saved/' /etc/default/grub
630632
```
633+
631634
2. Regenerate the GRUB configuration:
632635

633636
**GEN 1:**
@@ -644,7 +647,7 @@ grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
644647

645648
3. Reboot the VM thru the serial console.
646649

647-
```
650+
```bash
648651
sudo reboot
649652
```
650653

0 commit comments

Comments
 (0)