So, I have dual boot on my notebook which are Ubuntu and Windows 7. But recently, I upgraded my windows 7 to windows 10. But when I startup my notebook, it still shows Windows 7 instead of Windows 10. Although, if I choose Windows 7 boot from it, it will boot windows 10.

How can I fix this?

  • have you tried editing the grub file?
    – gingamann
    Jul 31, 2015 at 4:47
  • @gingamann Oh I can do that? sorry I am still so newb in Ubuntu.. Ill try that too..
    – choz
    Jul 31, 2015 at 4:57
  • Hey choz, that's really smooth. I'm holding off the update as it might overwrite the MBR with Windows boot loader. Except for the old grub label entry (Windows 7) displayed issue, did you face any other issue?
    – zuke
    Aug 2, 2015 at 2:54
  • @zuke nope so far, its just during installation u have to wait for it to keep restarting and in my case, i have to wait to choose the windows loader on boot up which is pretty sucky.. :)
    – choz
    Aug 3, 2015 at 1:22
  • 4
    possible duplicate of GRUB2 shows Windows 7 instead of Windows 10
    – david6
    Aug 27, 2015 at 7:53

3 Answers 3


you have dual boot system in which you are using ubuntu grub . you have upgraded window but ubuntu system grub don't know about your change . it is simply searching in particular disk that you assign and loading window . so you have to change manually in grub.cfg file . open terminal in ubuntu and run command sudo gedit /boot/grub/grub.cfg . here you need to search entry like:

menuentry “Windows 7 (on /dev/sda1)” {
insmod ntfs
set root=’(hd0,1)’

change Window 7 to window 10 or whatever name you want to give and save file and restart system next time you will see change .


You can try manually editing the Grub file to rename the Microsoft instance from 7 to 10.

sudo gedit /boot/grub/grub.cfg
  • Tq.. it works..
    – choz
    Jul 31, 2015 at 5:47
  • cool stuff bud :)
    – gingamann
    Jul 31, 2015 at 7:30
  • The file /boot/grub/grub.cfg is normally auto-generated by update-grub / grub-mkconfig, so any changes you make to the file directly will be lost when you install software updates that need a grub update.
    – rakslice
    May 2, 2017 at 21:26

It is just a name and you can easily change that!

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

sudo apt-get update

sudo apt-get install grub-customizer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .