after ubuntu install, to fix win boot item missing issue in the ubuntu grub

after ubuntu install, to fix win boot item missing issue in the ubuntu grub

·

step:

1,sudo vi /etc/default/grub

2,

将以下行:


GRUB_TIMEOUT_STYLE=hidden

GRUB_TIMEOUT=0

# GRUB_DISABLE_OS_PROBER=false


修改为:



GRUB_TIMEOUT_STYLE=menu

GRUB_TIMEOUT=5

GRUB_DISABLE_OS_PROBER=false

3,

sudo update-grub