PDA

View Full Version : [SOLVED] Removing windows GRUB



Stevenukas
March 4th, 2016, 02:39 PM
I have replaced old HDD with SSD, installed Ubuntu on the new drive. Now that I have received caddy, I have added old drive, after reboot, I see that there is another boot menu from Windows 10. How can I remove it ?

yancek
March 4th, 2016, 03:16 PM
You need to clarify your intentions. Do you or "did" you have windows 10 on the old HD? Did you remove it or format the partition with windows and not want it any more? Are you booting from the HD or the SSD? Are you seeing the windows entry in the Ubuntu Grub boot menu? If you don't have windows 10 any longer, sudo running update-grub should remove the entry as it only includes detected systems. If that is not what your situation is, clarify it.

oldfred
March 4th, 2016, 03:54 PM
If actually Windows and not UEFI, then it will be the BCD.
From Linux you cannot edit or change BCD.

Remove Duplicate Firmware Objects in BCD and NVRAM
http://technet.microsoft.com/en-us/library/cc749510%28v=ws.10%29.aspx
UEFI NVRAM boot entries are cached in the BCD store
BCD has 1:1 mappings for some UEFI global variables
Any time {fwbootmgr} is manipulated, NVRAM is automatically updated

Stevenukas
March 4th, 2016, 09:49 PM
You need to clarify your intentions. Do you or "did" you have windows 10 on the old HD? Did you remove it or format the partition with windows and not want it any more? Are you booting from the HD or the SSD? Are you seeing the windows entry in the Ubuntu Grub boot menu? If you don't have windows 10 any longer, sudo running update-grub should remove the entry as it only includes detected systems. If that is not what your situation is, clarify it.
Thank you, for your replay, I have SSD running now and deleted windows, updated grub and now all is good.

If actually Windows and not UEFI, then it will be the BCD.
From Linux you cannot edit or change BCD.

Remove Duplicate Firmware Objects in BCD and NVRAM
http://technet.microsoft.com/en-us/library/cc749510%28v=ws.10%29.aspx
UEFI NVRAM boot entries are cached in the BCD store
BCD has 1:1 mappings for some UEFI global variables
Any time {fwbootmgr} is manipulated, NVRAM is automatically updated

You are right, it was UEFI. Thanks your for your input.