Failiing task 19 - Linux Run Levels

The task is to set the app servers to login to GUI by default.
I edited the /etc/default/grub by adding this line:
GRUB_CMDLINE_LINUX="rd.gui=1" on all app servers.

I then installed grub2-tools and issued the command: sudo grub2-mkconfig -o /boot/grub2/grub.cfg

But I’m getting this error message:
/usr/sbin/grub-probe: error: failed to get canonical path of 'overlay'
and I’m not able to resolve this error message.

Appreciate your help.

Hello @just.gil

You can simply use systemctl set-default graphical.target to set the run level to graphical.target.
You can try these.

systemctl set-default graphical.target
systemctl start graphical.target

Use this command to check the status of graphical target

systemctl status graphical.target

Note: You need to do this on all app servers.

Thanks,
Wai

2 Likes

Thank you!
That worked.

@just.gil

You’re welcome
Happy learning

Regards,
Wai