0

I bought a laptop with DOS and installed Windows in it and then I installed Ubuntu. So, now I am using both Ububtu 16.04 LTS and Windows 10 with Grub2 as bootloader.

But in the bootloader menu "Windows 10" is displayed as "Free DOS"

How can I change "Free DOS" to "Windows 10".

Edit: This is not a duplicate of Editing OS names in /etc/default/grub - where is the OS name read from? since that post only says how the command GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian is used and where does it takes the names from.

My question is different since I want to change the name of Windows OS which has nothing to do with the above command.

nandyalu
  • 103

1 Answers1

2

Edit /boot/grub/grub.cfg (root permissions needed).

Search for "Free DOS" and replace it with "Windows 10" save and reboot (this is a temporary fix running update-grub the next time may bring back the problem)

For a permanent fix you may want to open a terminal and run os-prober then update-grub and reboot to see if the issue is resolved

Ahmed K.
  • 157